summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-22 12:16:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-29 00:49:56 +0300
commit76c98ce0c8e78778f73d6a5728441897e134fb9e (patch)
tree63753c9b80004c2f66314d8ea883a9b378656a12 /src/gui/charselectdialog.h
parentecf7284930fc6b67db33146819bedf6ec0ed7e7b (diff)
downloadplus-76c98ce0c8e78778f73d6a5728441897e134fb9e.tar.gz
plus-76c98ce0c8e78778f73d6a5728441897e134fb9e.tar.bz2
plus-76c98ce0c8e78778f73d6a5728441897e134fb9e.tar.xz
plus-76c98ce0c8e78778f73d6a5728441897e134fb9e.zip
Improve a bit look in character selection window.
Add selection skin for playerbox. New theme file: playerboxselected.xml
Diffstat (limited to 'src/gui/charselectdialog.h')
-rw-r--r--src/gui/charselectdialog.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/gui/charselectdialog.h b/src/gui/charselectdialog.h
index b24b8e225..c6bf0578c 100644
--- a/src/gui/charselectdialog.h
+++ b/src/gui/charselectdialog.h
@@ -94,10 +94,10 @@ class CharSelectDialog final : public Window,
void close() override;
- void focusCharacter(int i);
-
void widgetResized(const gcn::Event &event) override;
+ void updateState();
+
private:
void attemptCharacterDelete(const int index);
@@ -105,28 +105,25 @@ class CharSelectDialog final : public Window,
void setCharacters(const Net::Characters &characters);
+ void use(const int selected);
+
void lock();
void unlock();
void setLocked(const bool locked);
- bool getFocusedContainer(int &container, int &idx) A_WARN_UNUSED;
-
- void setFocusedContainer(const int i, const int button);
-
bool mLocked;
LoginData *mLoginData;
- Label *mAccountNameLabel;
- Label *mLastLoginLabel;
-
Button *mSwitchLoginButton;
Button *mChangePasswordButton;
Button *mUnregisterButton;
Button *mChangeEmailButton;
+ Button *mPlayButton;
+ Button *mInfoButton;
+ Button *mDeleteButton;
CharacterViewBase *mCharacterView;
- /** The player boxes */
std::vector<CharacterDisplay*> mCharacterEntries;
Net::CharServerHandler *mCharServerHandler;