diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-09 13:23:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-09 14:44:09 +0300 |
commit | c66e0863ecc24145c57261987eb8e25776c303ce (patch) | |
tree | 17bb98deebd60463cb01bad865a92b766272efed /src/gui/widgets/tabs/setup_players.cpp | |
parent | 4c90395b1b42d436545b33a855ef431f5ede6a9b (diff) | |
download | manaverse-c66e0863ecc24145c57261987eb8e25776c303ce.tar.gz manaverse-c66e0863ecc24145c57261987eb8e25776c303ce.tar.bz2 manaverse-c66e0863ecc24145c57261987eb8e25776c303ce.tar.xz manaverse-c66e0863ecc24145c57261987eb8e25776c303ce.zip |
Add support for long mouse press event.
Enabled by default on Android.
Diffstat (limited to 'src/gui/widgets/tabs/setup_players.cpp')
-rw-r--r-- | src/gui/widgets/tabs/setup_players.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_players.cpp b/src/gui/widgets/tabs/setup_players.cpp index 01bb60f53..b04a25e22 100644 --- a/src/gui/widgets/tabs/setup_players.cpp +++ b/src/gui/widgets/tabs/setup_players.cpp @@ -100,5 +100,10 @@ Setup_Players::Setup_Players(const Widget2 *const widget) : new SetupItemCheckBox(_("Use special diagonal speed in players moving"), "", "useDiagonalSpeed", this, "useDiagonalSpeedEvent"); + // TRANSLATORS: settings option + new SetupItemCheckBox(_("Emulate right mouse button by long mouse click" + " (usefull for touch interfaces)"), + "", "longmouseclick", this, "longmouseclickEvent"); + setDimension(Rect(0, 0, 550, 350)); } |