diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-12 13:02:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-12 13:02:12 +0300 |
commit | c67648bcc2ebd94da7ad90dc1f886b9f8206de8e (patch) | |
tree | 457819b7b71dd69514b86c0360005d21b6c46c41 | |
parent | d5fc6fe1576695ab8cb9d7d2644113c02bccac73 (diff) | |
download | manaverse-c67648bcc2ebd94da7ad90dc1f886b9f8206de8e.tar.gz manaverse-c67648bcc2ebd94da7ad90dc1f886b9f8206de8e.tar.bz2 manaverse-c67648bcc2ebd94da7ad90dc1f886b9f8206de8e.tar.xz manaverse-c67648bcc2ebd94da7ad90dc1f886b9f8206de8e.zip |
Add configuration for onscreen buttons 3 and 4.
-rw-r--r-- | src/gui/setup_touch.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/setup_touch.cpp b/src/gui/setup_touch.cpp index ad85b8348..f0fdec9d6 100644 --- a/src/gui/setup_touch.cpp +++ b/src/gui/setup_touch.cpp @@ -97,6 +97,14 @@ Setup_Touch::Setup_Touch(const Widget2 *const widget) : "screenActionButton1", this, "screenActionButton1Event", mActionsList, 250); + new SetupActionDropDown(strprintf(_("Button %u action"), 3), "", + "screenActionButton2", this, "screenActionButton2Event", + mActionsList, 250); + + new SetupActionDropDown(strprintf(_("Button %u action"), 4), "", + "screenActionButton3", this, "screenActionButton3Event", + mActionsList, 250); + setDimension(gcn::Rectangle(0, 0, 550, 350)); } |