diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:54:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:54:08 +0300 |
commit | ef7e7319305f040a47c483b71f2e78da7a1d6149 (patch) | |
tree | 14ac10427d7c94288fcb198db5277455754589ae /src/dragdrop.h | |
parent | 12389c8441c748996962412201af9e21d66f9e55 (diff) | |
download | ManaVerse-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.gz ManaVerse-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.bz2 ManaVerse-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.xz ManaVerse-ef7e7319305f040a47c483b71f2e78da7a1d6149.zip |
Fix code style in other files.
Diffstat (limited to 'src/dragdrop.h')
-rw-r--r-- | src/dragdrop.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dragdrop.h b/src/dragdrop.h index 3623d548c..157b1aec8 100644 --- a/src/dragdrop.h +++ b/src/dragdrop.h @@ -60,7 +60,7 @@ class DragDrop final mItem(item ? item->getId() : 0), mSelItem(0), mTag(-1), - mItemColor(item ? item->getColor() : 1), + mItemColor(item ? item->getColor() : static_cast<uint8_t>(1U)), mSelItemColor(1) { if (mItemImage) @@ -78,7 +78,7 @@ class DragDrop final int getItem() const { return mItem; } - int getItemColor() const + uint8_t getItemColor() const { return mItemColor; } Image *getItemImage() @@ -218,7 +218,7 @@ class DragDrop final int getSelected() const { return mSelItem; } - int getSelectedColor() const + uint8_t getSelectedColor() const { return mSelItemColor; } bool isSelected() const |