summaryrefslogtreecommitdiff
path: root/src/gui/setupitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setupitem.h')
-rw-r--r--src/gui/setupitem.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/src/gui/setupitem.h b/src/gui/setupitem.h
index 81f85b0da..33fcbbf78 100644
--- a/src/gui/setupitem.h
+++ b/src/gui/setupitem.h
@@ -55,7 +55,8 @@ class SetupItem : public gcn::ActionListener
{
VBOOL = 0,
VSTR,
- VINT
+ VINT,
+ VNONE
};
SetupItem(std::string text, std::string description,
@@ -217,4 +218,27 @@ class SetupItemIntTextField : public SetupItem
EditDialog *mEditDialog;
};
+class SetupItemLabel : public SetupItem
+{
+ public:
+ SetupItemLabel(std::string text, std::string description,
+ SetupTabScroll *parent, bool separator = true);
+
+ ~SetupItemLabel();
+
+ void createControls();
+
+ void fromWidget();
+
+ void toWidget();
+
+ void action(const gcn::ActionEvent &event);
+
+ void apply(std::string eventName);
+
+ protected:
+ Label *mLabel;
+ bool mIsSeparator;
+};
+
#endif