diff options
Diffstat (limited to 'src/guichan/widgets')
-rw-r--r-- | src/guichan/widgets/dropdown.cpp | 6 | ||||
-rw-r--r-- | src/guichan/widgets/icon.cpp | 2 | ||||
-rw-r--r-- | src/guichan/widgets/scrollarea.cpp | 2 | ||||
-rw-r--r-- | src/guichan/widgets/slider.cpp | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/guichan/widgets/dropdown.cpp b/src/guichan/widgets/dropdown.cpp index 0cd979adc..c446b869d 100644 --- a/src/guichan/widgets/dropdown.cpp +++ b/src/guichan/widgets/dropdown.cpp @@ -57,9 +57,9 @@ namespace gcn { - DropDown::DropDown(ListModel *listModel, - ScrollArea *scrollArea, - ListBox *listBox) + DropDown::DropDown(ListModel *const listModel, + ScrollArea *const scrollArea, + ListBox *const listBox) { setWidth(100); setFocusable(true); diff --git a/src/guichan/widgets/icon.cpp b/src/guichan/widgets/icon.cpp index 26139716d..b0d277fbd 100644 --- a/src/guichan/widgets/icon.cpp +++ b/src/guichan/widgets/icon.cpp @@ -71,7 +71,7 @@ namespace gcn mImage->getHeight()); } - Icon::Icon(const Image* image) : + Icon::Icon(const Image *const image) : mImage(image), mInternalImage(false) { diff --git a/src/guichan/widgets/scrollarea.cpp b/src/guichan/widgets/scrollarea.cpp index 1251bc665..f8bd11334 100644 --- a/src/guichan/widgets/scrollarea.cpp +++ b/src/guichan/widgets/scrollarea.cpp @@ -80,7 +80,7 @@ namespace gcn addMouseListener(this); } - ScrollArea::ScrollArea(Widget *content) : + ScrollArea::ScrollArea(Widget *const content) : mVScroll(0), mHScroll(0), mScrollbarWidth(12), diff --git a/src/guichan/widgets/slider.cpp b/src/guichan/widgets/slider.cpp index ed14f525a..a9e9bed31 100644 --- a/src/guichan/widgets/slider.cpp +++ b/src/guichan/widgets/slider.cpp @@ -56,7 +56,7 @@ namespace gcn { - Slider::Slider(double scaleEnd) : + Slider::Slider(const double scaleEnd) : mDragged(false), mScaleStart(0), mScaleEnd(scaleEnd) @@ -72,7 +72,7 @@ namespace gcn addKeyListener(this); } - Slider::Slider(double scaleStart, double scaleEnd) : + Slider::Slider(const double scaleStart, const double scaleEnd) : mDragged(false), mScaleStart(scaleStart), mScaleEnd(scaleEnd) |