Home
last modified time | relevance | path

Searched refs:line_y0 (Results 1 – 6 of 6) sorted by relevance

/dports/emulators/mess/mame-mame0226/src/frontend/mame/ui/
H A Dmenu.cpp620 float const line_y0 = visible_top + (float)linenum * line_height; in draw() local
621 float const line_y1 = line_y0 + line_height; in draw()
643 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()
650 line_y0 + 0.25f * line_height, in draw()
652 line_y0 + 0.75f * line_height, in draw()
663 line_y0 + 0.25f * line_height, in draw()
665 line_y0 + 0.75f * line_height, in draw()
742 line_y0 + 0.1f * line_height, in draw()
744 line_y0 + 0.9f * line_height, in draw()
752 line_y0 + 0.1f * line_height, in draw()
[all …]
H A Ddatmenu.cpp200 float const line_y0 = line_y; in draw() local
210 if (mouse_in_rect(line_x0, line_y0, line_x1, line_y1)) in draw()
214 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()
225 if (mouse_in_rect(line_x0, line_y0, line_x1, line_y1)) in draw()
229 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()
254 float const line_y0 = line; in draw() local
260 if (mouse_in_rect(line_x0, line_y0, line_x1, line_y1) && is_selectable(pitem)) in draw()
271 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()
H A Dselmenu.cpp1960 float line_y0 = line_y; in draw() local
1965 if (mouse_in_rect(line_x0, line_y0, line_x1, line_y1) && is_selectable(pitem)) in draw()
1976 line_x0 + 0.01f, line_y0, line_x1 - 0.01f, line_y1, in draw()
1985 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()
1991 …ui().draw_textured_box(container(), line_x0 + 0.01f, line_y0, line_x1 - 0.01f, line_y1, bgcolor, r… in draw()
2076 float line_y0 = line; in draw() local
2082 if (mouse_in_rect(line_x0, line_y0, line_x1, line_y1) && is_selectable(pitem)) in draw()
2090 …ui().draw_textured_box(container(), line_x0 + 0.01f, line_y0, line_x1 - 0.01f, line_y1, bgcolor, r… in draw()
2098 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()
/dports/emulators/mame/mame-mame0226/src/frontend/mame/ui/
H A Dmenu.cpp620 float const line_y0 = visible_top + (float)linenum * line_height; in draw() local
621 float const line_y1 = line_y0 + line_height; in draw()
643 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()
650 line_y0 + 0.25f * line_height, in draw()
652 line_y0 + 0.75f * line_height, in draw()
663 line_y0 + 0.25f * line_height, in draw()
665 line_y0 + 0.75f * line_height, in draw()
742 line_y0 + 0.1f * line_height, in draw()
744 line_y0 + 0.9f * line_height, in draw()
752 line_y0 + 0.1f * line_height, in draw()
[all …]
H A Ddatmenu.cpp200 float const line_y0 = line_y; in draw() local
210 if (mouse_in_rect(line_x0, line_y0, line_x1, line_y1)) in draw()
214 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()
225 if (mouse_in_rect(line_x0, line_y0, line_x1, line_y1)) in draw()
229 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()
254 float const line_y0 = line; in draw() local
260 if (mouse_in_rect(line_x0, line_y0, line_x1, line_y1) && is_selectable(pitem)) in draw()
271 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()
H A Dselmenu.cpp1960 float line_y0 = line_y; in draw() local
1965 if (mouse_in_rect(line_x0, line_y0, line_x1, line_y1) && is_selectable(pitem)) in draw()
1976 line_x0 + 0.01f, line_y0, line_x1 - 0.01f, line_y1, in draw()
1985 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()
1991 …ui().draw_textured_box(container(), line_x0 + 0.01f, line_y0, line_x1 - 0.01f, line_y1, bgcolor, r… in draw()
2076 float line_y0 = line; in draw() local
2082 if (mouse_in_rect(line_x0, line_y0, line_x1, line_y1) && is_selectable(pitem)) in draw()
2090 …ui().draw_textured_box(container(), line_x0 + 0.01f, line_y0, line_x1 - 0.01f, line_y1, bgcolor, r… in draw()
2098 highlight(line_x0, line_y0, line_x1, line_y1, bgcolor); in draw()