diff options
author | 2016-07-05 11:16:05 +1000 | |
---|---|---|
committer | 2016-07-05 11:16:05 +1000 | |
commit | 2c9dfd77ba8de267a204849fc258356c9172cdbc (patch) | |
tree | cb45bc747ec5c1bbb0db927a3113d336623926ed /src/frontend/mame/ui/ui.h | |
parent | 09b6b311ff10e0c463420340da82172662c3e988 (diff) |
Revert "C++ comments for some parts."
This reverts commit 19c4764090d1c5131945d11737de8a3bb421b9aa.
Diffstat (limited to 'src/frontend/mame/ui/ui.h')
-rw-r--r-- | src/frontend/mame/ui/ui.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/frontend/mame/ui/ui.h b/src/frontend/mame/ui/ui.h index 8bd9b34493e..77c33c4119b 100644 --- a/src/frontend/mame/ui/ui.h +++ b/src/frontend/mame/ui/ui.h @@ -32,20 +32,20 @@ class menu_item; CONSTANTS ***************************************************************************/ -// preferred font height; use ui_get_line_height() to get actual height +/* preferred font height; use ui_get_line_height() to get actual height */ #define UI_TARGET_FONT_ROWS get_font_rows() #define UI_TARGET_FONT_HEIGHT (1.0f / (float)UI_TARGET_FONT_ROWS) #define UI_MAX_FONT_HEIGHT (1.0f / 15.0f) -// width of lines drawn in the UI +/* width of lines drawn in the UI */ #define UI_LINE_WIDTH (1.0f / 500.0f) -// border between outlines and inner text on left/right and top/bottom sides +/* border between outlines and inner text on left/right and top/bottom sides */ #define UI_BOX_LR_BORDER (UI_TARGET_FONT_HEIGHT * 0.25f) #define UI_BOX_TB_BORDER (UI_TARGET_FONT_HEIGHT * 0.25f) -// handy colors +/* handy colors */ #define UI_GREEN_COLOR rgb_t(0xef,0x10,0x60,0x10) #define UI_YELLOW_COLOR rgb_t(0xef,0x60,0x60,0x10) #define UI_RED_COLOR rgb_t(0xf0,0x60,0x10,0x10) @@ -66,7 +66,7 @@ class menu_item; #define UI_DIPSW_COLOR decode_ui_color(14) #define UI_SLIDER_COLOR decode_ui_color(15) -// cancel return value for a UI handler +/* cancel return value for a UI handler */ #define UI_HANDLER_CANCEL ((UINT32)~0) #define SLIDER_DEVICE_SPACING 0x0ff |