summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/slider.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/frontend/mame/ui/slider.h
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/frontend/mame/ui/slider.h')
-rw-r--r--src/frontend/mame/ui/slider.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/frontend/mame/ui/slider.h b/src/frontend/mame/ui/slider.h
index 431fa8fcb94..8bca79c752f 100644
--- a/src/frontend/mame/ui/slider.h
+++ b/src/frontend/mame/ui/slider.h
@@ -21,17 +21,17 @@
#define SLIDER_NOCHANGE 0x12345678
-typedef std::function<INT32(running_machine&, void*, int, std::string*, INT32)> slider_update;
+typedef std::function<int32_t(running_machine&, void*, int, std::string*, int32_t)> slider_update;
struct slider_state
{
slider_state * next; /* pointer to next slider */
slider_update update; /* callback */
void * arg; /* argument */
- INT32 minval; /* minimum value */
- INT32 defval; /* default value */
- INT32 maxval; /* maximum value */
- INT32 incval; /* increment value */
+ int32_t minval; /* minimum value */
+ int32_t defval; /* default value */
+ int32_t maxval; /* maximum value */
+ int32_t incval; /* increment value */
int id;
char description[1]; /* textual description */
};