summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-30 22:53:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-30 22:53:27 +0300
commit5cbd0d2cb7086fda592c00dbc3b07d06af95f080 (patch)
treed36b4ac344f31f34311c7cb7a9a637ed48356e3e /src/gui/widgets/scrollarea.h
parent4210163dae7d6266923ab11f78b631173c9533e3 (diff)
downloadmanaverse-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.gz
manaverse-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.bz2
manaverse-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.xz
manaverse-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.zip
Add const to more classes.
Diffstat (limited to 'src/gui/widgets/scrollarea.h')
-rw-r--r--src/gui/widgets/scrollarea.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h
index d2032b379..6d99be1ae 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -46,14 +46,14 @@ class ScrollArea : public gcn::ScrollArea, public gcn::WidgetListener
* Constructor that takes no content. Needed for use with the DropDown
* class.
*/
- ScrollArea(bool opaque = true, const std::string &skin = "");
+ ScrollArea(const bool opaque = true, const std::string &skin = "");
/**
* Constructor.
*
* @param content the initial content to show in the scroll area
*/
- ScrollArea(gcn::Widget *content, bool opaque = true,
+ ScrollArea(gcn::Widget *const widget, const bool opaque = true,
const std::string &skin = "");
/**
@@ -131,15 +131,15 @@ class ScrollArea : public gcn::ScrollArea, public gcn::WidgetListener
*/
void init(std::string skinName);
- void drawButton(gcn::Graphics *graphics, BUTTON_DIR dir);
- void drawUpButton(gcn::Graphics *graphics);
- void drawDownButton(gcn::Graphics *graphics);
- void drawLeftButton(gcn::Graphics *graphics);
- void drawRightButton(gcn::Graphics *graphics);
- void drawVBar(gcn::Graphics *graphics);
- void drawHBar(gcn::Graphics *graphics);
- void drawVMarker(gcn::Graphics *graphics);
- void drawHMarker(gcn::Graphics *graphics);
+ void drawButton(gcn::Graphics *const graphics, const BUTTON_DIR dir);
+ void drawUpButton(gcn::Graphics *const graphics);
+ void drawDownButton(gcn::Graphics *const graphics);
+ void drawLeftButton(gcn::Graphics *const graphics);
+ void drawRightButton(gcn::Graphics *const graphics);
+ void drawVBar(gcn::Graphics *const graphics);
+ void drawHBar(gcn::Graphics *const graphics);
+ void drawVMarker(gcn::Graphics *const graphics);
+ void drawHMarker(gcn::Graphics *const graphics);
static int instances;
static float mAlpha;