diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-19 22:50:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-19 22:50:16 +0300 |
commit | c65cb0d97fbaa37f531d6fb47ce9d798b001b637 (patch) | |
tree | cce1030add4a837913b9e730a5550a67d03d236e /src/gui/widgets | |
parent | 3d236906de18c846aa052f1d4cef1b0686a43854 (diff) | |
download | manaverse-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.gz manaverse-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.bz2 manaverse-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.xz manaverse-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.zip |
fix code style.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/button.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/checkbox.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/dropdown.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/guitable.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/inttextfield.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/itemlinkhandler.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/listbox.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/playerbox.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/progressbar.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/radiobutton.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/scrollarea.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/slider.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabbedarea.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_input.cpp | 3 | ||||
-rw-r--r-- | src/gui/widgets/tabs/socialfriendsfunctor.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/tab.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/textbox.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/textfield.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/window.h | 2 |
21 files changed, 19 insertions, 14 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index 41a190daa..9a7ed36dc 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -41,7 +41,6 @@ #include "resources/mapitemtype.h" #include "resources/map/map.h" -#include "resources/map/mapitem.h" #include "debug.h" diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp index 661dfc66d..f9ea17516 100644 --- a/src/gui/widgets/button.cpp +++ b/src/gui/widgets/button.cpp @@ -71,10 +71,10 @@ #include "events/keyevent.h" #include "input/inputaction.h" -#include "input/keydata.h" #include "resources/image.h" #include "resources/imageset.h" +#include "resources/imagerect.h" #include "gui/gui.h" #include "gui/skin.h" diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp index 48f603532..86ebefd60 100644 --- a/src/gui/widgets/checkbox.cpp +++ b/src/gui/widgets/checkbox.cpp @@ -68,9 +68,9 @@ #include "client.h" #include "input/inputaction.h" -#include "input/keydata.h" #include "resources/image.h" +#include "resources/imagerect.h" #include "gui/gui.h" #include "gui/skin.h" diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp index 71e546faa..dec4e88c6 100644 --- a/src/gui/widgets/dropdown.cpp +++ b/src/gui/widgets/dropdown.cpp @@ -27,7 +27,6 @@ #include "events/keyevent.h" #include "input/inputaction.h" -#include "input/keydata.h" #include "gui/gui.h" #include "gui/skin.h" @@ -39,6 +38,7 @@ #include "gui/widgets/popuplist.h" #include "resources/image.h" +#include "resources/imagerect.h" #include <algorithm> diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp index ba2c36713..5374e8a7c 100644 --- a/src/gui/widgets/guitable.cpp +++ b/src/gui/widgets/guitable.cpp @@ -29,7 +29,6 @@ #include "events/keyevent.h" #include "input/inputaction.h" -#include "input/keydata.h" #include "listeners/guitableactionlistener.h" diff --git a/src/gui/widgets/inttextfield.cpp b/src/gui/widgets/inttextfield.cpp index fcec92a39..c2d84c66a 100644 --- a/src/gui/widgets/inttextfield.cpp +++ b/src/gui/widgets/inttextfield.cpp @@ -29,7 +29,6 @@ #include "events/keyevent.h" #include "input/inputaction.h" -#include "input/keydata.h" #include "utils/stringutils.h" #include "debug.h" diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 1be268d56..ef00913e7 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -48,6 +48,7 @@ #include "utils/gettext.h" #include "resources/image.h" +#include "resources/iteminfo.h" #include "listeners/selectionlistener.h" diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp index 54078a172..e5c6c06b3 100644 --- a/src/gui/widgets/itemlinkhandler.cpp +++ b/src/gui/widgets/itemlinkhandler.cpp @@ -37,8 +37,6 @@ #include "listeners/openurllistener.h" -#include "input/mouseinput.h" - #include <string> #include "debug.h" diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp index ab5e8dccb..87a9f43cc 100644 --- a/src/gui/widgets/listbox.cpp +++ b/src/gui/widgets/listbox.cpp @@ -68,7 +68,6 @@ #include "client.h" #include "input/inputaction.h" -#include "input/keydata.h" #include "listeners/selectionlistener.h" diff --git a/src/gui/widgets/playerbox.h b/src/gui/widgets/playerbox.h index 398ebb7b9..0ffddeeac 100644 --- a/src/gui/widgets/playerbox.h +++ b/src/gui/widgets/playerbox.h @@ -27,6 +27,8 @@ #include "listeners/mouselistener.h" +#include "resources/imagerect.h" + #include "localconsts.h" class Being; diff --git a/src/gui/widgets/progressbar.h b/src/gui/widgets/progressbar.h index e45bc4abb..5f425d004 100644 --- a/src/gui/widgets/progressbar.h +++ b/src/gui/widgets/progressbar.h @@ -27,6 +27,8 @@ #include "listeners/widgetlistener.h" +#include "resources/imagerect.h" + #include <string> #include "localconsts.h" diff --git a/src/gui/widgets/radiobutton.cpp b/src/gui/widgets/radiobutton.cpp index 87621e945..d2d12f1c6 100644 --- a/src/gui/widgets/radiobutton.cpp +++ b/src/gui/widgets/radiobutton.cpp @@ -68,9 +68,9 @@ #include "client.h" #include "input/inputaction.h" -#include "input/keydata.h" #include "resources/image.h" +#include "resources/imagerect.h" #include "gui/gui.h" #include "gui/skin.h" diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp index 52d3df152..ca29c09fa 100644 --- a/src/gui/widgets/scrollarea.cpp +++ b/src/gui/widgets/scrollarea.cpp @@ -72,6 +72,7 @@ #include "gui/skin.h" #include "resources/image.h" +#include "resources/imagerect.h" #include "utils/delete2.h" diff --git a/src/gui/widgets/slider.cpp b/src/gui/widgets/slider.cpp index 848027c94..c660648d8 100644 --- a/src/gui/widgets/slider.cpp +++ b/src/gui/widgets/slider.cpp @@ -71,11 +71,11 @@ #include "events/keyevent.h" #include "input/inputaction.h" -#include "input/keydata.h" #include "gui/gui.h" #include "resources/image.h" +#include "resources/imagerect.h" #include "utils/delete2.h" diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index 81cf34dd2..36e3aa093 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -68,7 +68,6 @@ #include "events/keyevent.h" #include "input/inputaction.h" -#include "input/keydata.h" #include "gui/gui.h" diff --git a/src/gui/widgets/tabs/setup_input.cpp b/src/gui/widgets/tabs/setup_input.cpp index 97aa7421f..9aaed0aef 100644 --- a/src/gui/widgets/tabs/setup_input.cpp +++ b/src/gui/widgets/tabs/setup_input.cpp @@ -215,7 +215,8 @@ void Setup_Input::action(const ActionEvent &event) inputManager.setNewKeyIndex(ik); refreshAssignedKey(mKeyList->getSelected()); inputManager.unassignKey(); - inputManager.setNewKeyIndex(static_cast<int>(InputAction::NO_VALUE)); + inputManager.setNewKeyIndex(static_cast<int>( + InputAction::NO_VALUE)); } mAssignKeyButton->setEnabled(true); } diff --git a/src/gui/widgets/tabs/socialfriendsfunctor.h b/src/gui/widgets/tabs/socialfriendsfunctor.h index 1ad209adb..f8d110ed9 100644 --- a/src/gui/widgets/tabs/socialfriendsfunctor.h +++ b/src/gui/widgets/tabs/socialfriendsfunctor.h @@ -23,6 +23,8 @@ #include "avatar.h" +#include "utils/stringutils.h" + #include "localconsts.h" class SortFriendsFunctor final diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp index c88a47033..2ad0e8ac8 100644 --- a/src/gui/widgets/tabs/tab.cpp +++ b/src/gui/widgets/tabs/tab.cpp @@ -75,6 +75,7 @@ #include "gui/widgets/tabbedarea.h" #include "resources/image.h" +#include "resources/imagerect.h" #include "utils/delete2.h" diff --git a/src/gui/widgets/textbox.cpp b/src/gui/widgets/textbox.cpp index 23fa63a07..d85f07b5d 100644 --- a/src/gui/widgets/textbox.cpp +++ b/src/gui/widgets/textbox.cpp @@ -66,7 +66,6 @@ #include "gui/widgets/textbox.h" #include "input/inputaction.h" -#include "input/keydata.h" #include "gui/gui.h" diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index 14faad2f0..72ff8ea87 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -78,6 +78,7 @@ #include "gui/popups/popupmenu.h" #include "resources/image.h" +#include "resources/imagerect.h" #include "utils/copynpaste.h" #include "utils/delete2.h" diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index a14f960cd..fea0883cf 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -73,6 +73,8 @@ #include "gui/widgets/basiccontainer2.h" +#include "resources/imagerect.h" + #include "localconsts.h" class ContainerPlacer; |