summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-22 17:48:18 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-22 17:53:56 +0300
commitd32d2c9b6555201aeda94e657357803f2f9a9a70 (patch)
tree744d19e9ad4108a6e51b3651ea9644e2b792141e /src/gui/charselectdialog.h
parent49ab517a6c51a14ab7ae72143f4364b1e1416a2f (diff)
downloadmv-d32d2c9b6555201aeda94e657357803f2f9a9a70.tar.gz
mv-d32d2c9b6555201aeda94e657357803f2f9a9a70.tar.bz2
mv-d32d2c9b6555201aeda94e657357803f2f9a9a70.tar.xz
mv-d32d2c9b6555201aeda94e657357803f2f9a9a70.zip
Improve keyboard handling in character selection dialog.
Diffstat (limited to 'src/gui/charselectdialog.h')
-rw-r--r--src/gui/charselectdialog.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/charselectdialog.h b/src/gui/charselectdialog.h
index 1e32fb311..fe65f3ce1 100644
--- a/src/gui/charselectdialog.h
+++ b/src/gui/charselectdialog.h
@@ -50,7 +50,8 @@ namespace Net
*
* \ingroup Interface
*/
-class CharSelectDialog : public Window, public gcn::ActionListener,
+class CharSelectDialog : public Window,
+ public gcn::ActionListener,
public gcn::KeyListener
{
public:
@@ -97,6 +98,10 @@ class CharSelectDialog : public Window, public gcn::ActionListener,
void unlock();
void setLocked(bool locked);
+ bool getFocusedContainer(int &container, int &idx);
+
+ void setFocusedContainer(int i, int button);
+
bool mLocked;
gcn::Label *mAccountNameLabel;