summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-02 04:43:18 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-02 04:43:18 +0300
commitc845e800f0d4b17bc5ce65806fa5fadd9468c858 (patch)
treea6bc48691aba3a2dd0e88aa18bc3a17a842bf76b /src/gui/widgets/setupitem.h
parentbebb93a423a9f6bc7a2b7a610548da6ceaacee97 (diff)
downloadManaVerse-c845e800f0d4b17bc5ce65806fa5fadd9468c858.tar.gz
ManaVerse-c845e800f0d4b17bc5ce65806fa5fadd9468c858.tar.bz2
ManaVerse-c845e800f0d4b17bc5ce65806fa5fadd9468c858.tar.xz
ManaVerse-c845e800f0d4b17bc5ce65806fa5fadd9468c858.zip
Change auto hide screen buttons to 3 states
(always show, hide in small window, always hide)
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r--src/gui/widgets/setupitem.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index 86fdf95f9..52f8515c7 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -317,13 +317,14 @@ class SetupItemSlider2 : public SetupItem
std::string keyName, SetupTabScroll *parent,
std::string eventName, int min, int max,
SetupItemNames *values, bool onTheFly = false,
- bool mainConfig = true);
+ bool mainConfig = true, bool doNotAlign = false);
SetupItemSlider2(std::string text, std::string description,
std::string keyName, SetupTabScroll *parent,
std::string eventName, int min, int max,
SetupItemNames *values, std::string def,
- bool onTheFly = false, bool mainConfig = true);
+ bool onTheFly = false, bool mainConfig = true,
+ bool doNotAlign = false);
~SetupItemSlider2();
@@ -354,6 +355,7 @@ class SetupItemSlider2 : public SetupItem
bool mInvert;
int mInvertValue;
bool mOnTheFly;
+ bool mDoNotAlign;
};
class SetupItemSliderList : public SetupItem