summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-27 01:27:11 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-27 01:27:11 +0300
commitde476bb95242e10c833394ef007728072eabe60f (patch)
tree033747127a7ea4e36de42cfc99fcee56ce915bbb /src/gui/gui.h
parenta33a8dc48761d7cb2b4c1c468e1e3b188bcbf709 (diff)
downloadmanaplus-de476bb95242e10c833394ef007728072eabe60f.tar.gz
manaplus-de476bb95242e10c833394ef007728072eabe60f.tar.bz2
manaplus-de476bb95242e10c833394ef007728072eabe60f.tar.xz
manaplus-de476bb95242e10c833394ef007728072eabe60f.zip
Add const to more classes.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 6df01a5a9..d293e3015 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -50,7 +50,7 @@ class Gui : public gcn::Gui
/**
* Constructor.
*/
- Gui(Graphics *screen);
+ Gui(Graphics *const screen);
/**
* Destructor.
@@ -74,7 +74,7 @@ class Gui : public gcn::Gui
/**
* Called when the application window has been resized.
*/
- void videoResized();
+ void videoResized() const;
gcn::FocusHandler *getFocusHandler() const
{ return mFocusHandler; }
@@ -113,12 +113,12 @@ class Gui : public gcn::Gui
/**
* Sets whether a custom cursor should be rendered.
*/
- void setUseCustomCursor(bool customCursor);
+ void setUseCustomCursor(const bool customCursor);
/**
* Sets which cursor should be used.
*/
- void setCursorType(int index)
+ void setCursorType(const int index)
{ mCursorType = index; }
void updateFonts();