summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/ui.h')
-rw-r--r--src/emu/ui/ui.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/emu/ui/ui.h b/src/emu/ui/ui.h
index 5334a1a1986..ffd2fddc371 100644
--- a/src/emu/ui/ui.h
+++ b/src/emu/ui/ui.h
@@ -86,7 +86,6 @@ enum
#define SLIDER_NOCHANGE 0x12345678
-
/***************************************************************************
TYPE DEFINITIONS
***************************************************************************/
@@ -104,7 +103,9 @@ struct slider_state
INT32 defval; /* default value */
INT32 maxval; /* maximum value */
INT32 incval; /* increment value */
- char description[1]; /* textual description */
+ bool hidden; /* hidden or not */
+ INT32 id; /* unique identifier */
+ char description[1]; /* textual description */
};
@@ -122,7 +123,7 @@ public:
running_machine &machine() const { return m_machine; }
bool single_step() const { return m_single_step; }
ui_options &options() { return m_ui_options; }
-
+
// setters
void set_single_step(bool single_step) { m_single_step = single_step; }
@@ -225,5 +226,5 @@ private:
FUNCTION PROTOTYPES
***************************************************************************/
rgb_t decode_ui_color(int id, running_machine *machine = nullptr);
-int get_font_rows(running_machine *machine = NULL);
+int get_font_rows(running_machine *machine = nullptr);
#endif /* __USRINTRF_H__ */