summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 18:54:32 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 18:54:32 +0300
commiteff128d7019ea0cd137a5fff6cc67825f90c4e1b (patch)
treed56835cd042f2794b4c5182cedd5eefb96099d5a /src/gui/widgets
parent6a79c4cc085f5cc7fea8a7b383744a40f3ccea6c (diff)
downloadmanaverse-eff128d7019ea0cd137a5fff6cc67825f90c4e1b.tar.gz
manaverse-eff128d7019ea0cd137a5fff6cc67825f90c4e1b.tar.bz2
manaverse-eff128d7019ea0cd137a5fff6cc67825f90c4e1b.tar.xz
manaverse-eff128d7019ea0cd137a5fff6cc67825f90c4e1b.zip
fix code style
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/scrollarea.h3
-rw-r--r--src/gui/widgets/shortcutcontainer.h6
2 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h
index eeb709768..649ed50ac 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -59,7 +59,8 @@ class ScrollArea final : public gcn::ScrollArea,
*
* @param content the initial content to show in the scroll area
*/
- explicit ScrollArea(gcn::Widget *const widget, const bool opaque = true,
+ explicit ScrollArea(gcn::Widget *const widget,
+ const bool opaque = true,
const std::string &skin = "");
A_DELETE_COPY(ScrollArea)
diff --git a/src/gui/widgets/shortcutcontainer.h b/src/gui/widgets/shortcutcontainer.h
index 45baabba8..7d37ed18c 100644
--- a/src/gui/widgets/shortcutcontainer.h
+++ b/src/gui/widgets/shortcutcontainer.h
@@ -66,21 +66,21 @@ class ShortcutContainer : public gcn::Widget,
/**
* Handles mouse when dragged.
*/
- virtual void mouseDragged(gcn::MouseEvent &event) override
+ virtual void mouseDragged(gcn::MouseEvent &event A_UNUSED) override
{
}
/**
* Handles mouse when pressed.
*/
- virtual void mousePressed(gcn::MouseEvent &event) override
+ virtual void mousePressed(gcn::MouseEvent &event A_UNUSED) override
{
}
/**
* Handles mouse release.
*/
- virtual void mouseReleased(gcn::MouseEvent &event) override
+ virtual void mouseReleased(gcn::MouseEvent &event A_UNUSED) override
{
}