diff options
author | 2016-10-22 16:37:12 +0200 | |
---|---|---|
committer | 2016-10-22 16:37:12 +0200 | |
commit | a6bdefec8c76e9878b634119c56438a7673b0385 (patch) | |
tree | 9b435836a12773fe5b84cf1fd04866ecd9ecc2da /src/frontend/mame/ui/menu.cpp | |
parent | 5f3d4fb33da4304e417a0e142e82e3d292646465 (diff) |
more TRUE/FALSE cleanup (nw)
Diffstat (limited to 'src/frontend/mame/ui/menu.cpp')
-rw-r--r-- | src/frontend/mame/ui/menu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/mame/ui/menu.cpp b/src/frontend/mame/ui/menu.cpp index 7f0f0df8d50..ceb30eeea9d 100644 --- a/src/frontend/mame/ui/menu.cpp +++ b/src/frontend/mame/ui/menu.cpp @@ -56,7 +56,7 @@ menu::global_state_ptr menu::get_global_state(running_machine &machine) } //------------------------------------------------- -// exclusive_input_pressed - return TRUE if the +// exclusive_input_pressed - return true if the // given key is pressed and we haven't already // reported a key //------------------------------------------------- @@ -976,7 +976,7 @@ void menu::handle_keys(uint32_t flags, int &iptkey) if (item.empty()) return; - // if we hit select, return TRUE or pop the stack, depending on the item + // if we hit select, return true or pop the stack, depending on the item if (exclusive_input_pressed(iptkey, IPT_UI_SELECT, 0)) { if (is_last_selected()) @@ -1181,7 +1181,7 @@ uint32_t menu::ui_handler(render_container &container, mame_ui_manager &mui) void menu::highlight(float x0, float y0, float x1, float y1, rgb_t bgcolor) { - container().add_quad(x0, y0, x1, y1, bgcolor, m_global_state->hilight_texture(), PRIMFLAG_BLENDMODE(BLENDMODE_ALPHA) | PRIMFLAG_TEXWRAP(TRUE) | PRIMFLAG_PACKABLE); + container().add_quad(x0, y0, x1, y1, bgcolor, m_global_state->hilight_texture(), PRIMFLAG_BLENDMODE(BLENDMODE_ALPHA) | PRIMFLAG_TEXWRAP(1) | PRIMFLAG_PACKABLE); } |