summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.h
diff options
context:
space:
mode:
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;