From c67648bcc2ebd94da7ad90dc1f886b9f8206de8e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 12 Feb 2013 13:02:12 +0300 Subject: Add configuration for onscreen buttons 3 and 4. --- src/gui/setup_touch.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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)); } -- cgit v1.2.3-70-g09d2