summaryrefslogtreecommitdiff
path: root/src/gui/itempopup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-27 21:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-27 21:44:17 +0300
commit7c79aa2b8e484319e3e511fa21db6d2448347024 (patch)
tree3c4fb4e72414dd8c0d93401a6bf2cc86b65a34a0 /src/gui/itempopup.h
parentde476bb95242e10c833394ef007728072eabe60f (diff)
downloadmanaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.gz
manaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.bz2
manaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.xz
manaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.zip
Add const to more classes.
Diffstat (limited to 'src/gui/itempopup.h')
-rw-r--r--src/gui/itempopup.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/itempopup.h b/src/gui/itempopup.h
index e6cda2eae..dd2bae83d 100644
--- a/src/gui/itempopup.h
+++ b/src/gui/itempopup.h
@@ -60,10 +60,10 @@ class ItemPopup : public Popup
/**
* Sets the info to be displayed given a particular item.
*/
- void setItem(const ItemInfo &item, unsigned char color,
- bool showImage = false, int id = -1);
+ void setItem(const ItemInfo &item, const unsigned char color,
+ const bool showImage = false, int id = -1);
- void setItem(const Item *item, bool showImage = false);
+ void setItem(const Item *const item, const bool showImage = false);
void mouseMoved(gcn::MouseEvent &mouseEvent);
@@ -77,7 +77,7 @@ class ItemPopup : public Popup
std::string mLastName;
unsigned char mLastColor;
- static gcn::Color getColor(ItemType type);
+ static gcn::Color getColor(const ItemType type);
};
#endif // ITEMPOPUP_H