summaryrefslogtreecommitdiff
path: root/menuitems.h
diff options
context:
space:
mode:
Diffstat (limited to 'menuitems.h')
-rw-r--r--menuitems.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/menuitems.h b/menuitems.h
index d6d0dbcd..18dd1af2 100644
--- a/menuitems.h
+++ b/menuitems.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.h,v 1.4 2007-05-17 16:13:23 phintuka Exp $
+ * $Id: menuitems.h,v 1.5 2007-05-17 21:41:52 phintuka Exp $
*
*/
@@ -40,6 +40,26 @@ class cMenuEditOddIntItem : public cMenuEditIntItem
};
+// --- cMenuEditFpIntItem -------------------------------------------------
+
+// Fixed-point decimal number
+
+class cMenuEditFpIntItem : public cMenuEditIntItem
+{
+ protected:
+ int decimals;
+ char *zeroString;
+
+ virtual void Set(void);
+
+ public:
+ cMenuEditFpIntItem(const char *Name, int *Value, int Min = 1, int Max = INT_MAX,
+ int Decimals = 1, const char *ZeroString = NULL,
+ const char *MinString = NULL, const char *MaxString = NULL);
+ ~cMenuEditFpIntItem();
+};
+
+
// --- cMenuEditStraI18nItem -------------------------------------------------
class cMenuEditStraI18nItem : public cMenuEditIntItem