summaryrefslogtreecommitdiff
path: root/src/gui/itempopup.h
diff options
context:
space:
mode:
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