diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-27 01:27:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-27 01:27:11 +0300 |
commit | de476bb95242e10c833394ef007728072eabe60f (patch) | |
tree | 033747127a7ea4e36de42cfc99fcee56ce915bbb /src/gui/gui.h | |
parent | a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709 (diff) | |
download | mv-de476bb95242e10c833394ef007728072eabe60f.tar.gz mv-de476bb95242e10c833394ef007728072eabe60f.tar.bz2 mv-de476bb95242e10c833394ef007728072eabe60f.tar.xz mv-de476bb95242e10c833394ef007728072eabe60f.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r-- | src/gui/gui.h | 8 |
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(); |