diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-13 15:56:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-13 15:56:56 +0300 |
commit | cd0baf3217701134a8e61932fd14c39cec0cf242 (patch) | |
tree | 7d18a8b58d753865c3de9027fd384035375c7ab9 /src/gui/widgets | |
parent | e71aed97c2d885c8113561c1e0cad91454adeb57 (diff) | |
download | plus-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.gz plus-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.bz2 plus-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.xz plus-cd0baf3217701134a8e61932fd14c39cec0cf242.zip |
Fix compilation errors with different flags.
Also fix renderer selection in build without OpenGL.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/colormodel.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/textfield.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/colormodel.h b/src/gui/widgets/colormodel.h index 64310958d..5ce7629a4 100644 --- a/src/gui/widgets/colormodel.h +++ b/src/gui/widgets/colormodel.h @@ -26,6 +26,8 @@ #include <guichan/color.hpp> #include <guichan/listmodel.hpp> +#include "localconsts.h" + class Widget2; struct ColorPair diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index d6bc9ca68..022a20781 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -28,6 +28,7 @@ #include "input/keyevent.h" #include "gui/popupmenu.h" +#include "gui/sdlinput.h" #include "gui/viewport.h" #include "resources/image.h" |