diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-09 21:21:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-10 03:07:43 +0300 |
commit | 04adcc1ea3c9d1b1ff6037dcd5b74a1c373caed7 (patch) | |
tree | 3ec37fbf9143470022f817e25b4ccfa6cf726739 /src/gui/charselectdialog.h | |
parent | c1301357408a8253806a43d3809b759431ec5c0f (diff) | |
download | plus-04adcc1ea3c9d1b1ff6037dcd5b74a1c373caed7.tar.gz plus-04adcc1ea3c9d1b1ff6037dcd5b74a1c373caed7.tar.bz2 plus-04adcc1ea3c9d1b1ff6037dcd5b74a1c373caed7.tar.xz plus-04adcc1ea3c9d1b1ff6037dcd5b74a1c373caed7.zip |
Impliment char selection for small resolution.
Diffstat (limited to 'src/gui/charselectdialog.h')
-rw-r--r-- | src/gui/charselectdialog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/charselectdialog.h b/src/gui/charselectdialog.h index c43bcca09..f9030d561 100644 --- a/src/gui/charselectdialog.h +++ b/src/gui/charselectdialog.h @@ -35,6 +35,7 @@ class Button; class CharacterDisplay; +class CharacterScroller; class Label; class LocalPlayer; class LoginData; @@ -93,6 +94,10 @@ class CharSelectDialog final : public Window, void close() override; + void focusCharacter(int i); + + void widgetResized(const gcn::Event &event) override; + private: void attemptCharacterDelete(const int index); @@ -119,6 +124,7 @@ class CharSelectDialog final : public Window, Button *mChangePasswordButton; Button *mUnregisterButton; Button *mChangeEmailButton; + CharacterScroller *mCharacterScroller; /** The player boxes */ std::vector<CharacterDisplay*> mCharacterEntries; @@ -126,6 +132,7 @@ class CharSelectDialog final : public Window, Net::CharHandler *mCharHandler; TextDialog *mDeleteDialog; int mDeleteIndex; + bool mSmallScreen; }; #endif |