summaryrefslogtreecommitdiffstats
path: root/src/emu/uiinput.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/emu/uiinput.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/emu/uiinput.h')
-rw-r--r--src/emu/uiinput.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/emu/uiinput.h b/src/emu/uiinput.h
index 25d18966e08..669e195a0ba 100644
--- a/src/emu/uiinput.h
+++ b/src/emu/uiinput.h
@@ -43,8 +43,8 @@ struct ui_event
{
ui_event_type event_type;
render_target * target;
- INT32 mouse_x;
- INT32 mouse_y;
+ int32_t mouse_x;
+ int32_t mouse_y;
input_item_id key;
char32_t ch;
short zdelta;
@@ -71,7 +71,7 @@ public:
void reset();
/* retrieves the current location of the mouse */
- render_target *find_mouse(INT32 *x, INT32 *y, bool *button) const;
+ render_target *find_mouse(int32_t *x, int32_t *y, bool *button) const;
ioport_field *find_mouse_field() const;
/* return TRUE if a key down for the given user interface sequence is detected */
@@ -85,15 +85,15 @@ public:
running_machine &machine() const { return m_machine; }
- void push_mouse_move_event(render_target* target, INT32 x, INT32 y);
+ void push_mouse_move_event(render_target* target, int32_t x, int32_t y);
void push_mouse_leave_event(render_target* target);
- void push_mouse_down_event(render_target* target, INT32 x, INT32 y);
- void push_mouse_up_event(render_target* target, INT32 x, INT32 y);
- void push_mouse_rdown_event(render_target* target, INT32 x, INT32 y);
- void push_mouse_rup_event(render_target* target, INT32 x, INT32 y);
- void push_mouse_double_click_event(render_target* target, INT32 x, INT32 y);
+ void push_mouse_down_event(render_target* target, int32_t x, int32_t y);
+ void push_mouse_up_event(render_target* target, int32_t x, int32_t y);
+ void push_mouse_rdown_event(render_target* target, int32_t x, int32_t y);
+ void push_mouse_rup_event(render_target* target, int32_t x, int32_t y);
+ void push_mouse_double_click_event(render_target* target, int32_t x, int32_t y);
void push_char_event(render_target* target, char32_t ch);
- void push_mouse_wheel_event(render_target *target, INT32 x, INT32 y, short delta, int ucNumLines);
+ void push_mouse_wheel_event(render_target *target, int32_t x, int32_t y, short delta, int ucNumLines);
void mark_all_as_pressed();
@@ -104,12 +104,12 @@ private:
/* pressed states; retrieved with ui_input_pressed() */
osd_ticks_t m_next_repeat[IPT_COUNT];
- UINT8 m_seqpressed[IPT_COUNT];
+ uint8_t m_seqpressed[IPT_COUNT];
/* mouse position/info */
render_target * m_current_mouse_target;
- INT32 m_current_mouse_x;
- INT32 m_current_mouse_y;
+ int32_t m_current_mouse_x;
+ int32_t m_current_mouse_y;
bool m_current_mouse_down;
ioport_field * m_current_mouse_field;