summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-30 21:03:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-31 12:16:43 +0300
commitc0197404a15a3937ef3cd21f48a09e691a96518f (patch)
tree582b01cfc1c716b19122fe28f57abefb3bf5b716 /src/client.h
parent9bb11133522836a9c5e251550ac88c9a4e091c0e (diff)
downloadplus-c0197404a15a3937ef3cd21f48a09e691a96518f.tar.gz
plus-c0197404a15a3937ef3cd21f48a09e691a96518f.tar.bz2
plus-c0197404a15a3937ef3cd21f48a09e691a96518f.tar.xz
plus-c0197404a15a3937ef3cd21f48a09e691a96518f.zip
fix code style.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/client.h b/src/client.h
index 10542a29c..4a5d5016d 100644
--- a/src/client.h
+++ b/src/client.h
@@ -25,8 +25,8 @@
#include "state.h"
+#include "listeners/actionlistener.h"
#include "listeners/configlistener.h"
-#include "listeners/errorlistener.h"
#include "net/serverinfo.h"
@@ -69,7 +69,7 @@ class Client final : public ConfigListener,
public ActionListener
{
public:
- explicit Client();
+ Client();
A_DELETE_COPY(Client)
@@ -101,6 +101,8 @@ public:
void windowRemoved(const Window *const window);
+ static void setEnv(const char *const name, const char *const value);
+
private:
void initSoundManager();
@@ -118,8 +120,6 @@ private:
static void logVars();
- static void setEnv(const char *const name, const char *const value);
-
#ifdef ANDROID
#ifdef USE_SDL2
static void extractAssets();
@@ -131,7 +131,6 @@ private:
Game *mGame;
Window *mCurrentDialog;
QuitDialog *mQuitDialog;
- Desktop *mDesktop;
Button *mSetupButton;
Button *mVideoButton;
Button *mHelpButton;
@@ -146,10 +145,8 @@ private:
State mOldState;
Skin *mSkin;
- float mGuiAlpha;
int mButtonPadding;
int mButtonSpacing;
- int mKeyboardHeight;
bool mConfigAutoSaved;
};