diff options
Diffstat (limited to 'src/emu/ui/sliders.c')
-rw-r--r-- | src/emu/ui/sliders.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/ui/sliders.c b/src/emu/ui/sliders.c index 73b077e7c08..e547538bc76 100644 --- a/src/emu/ui/sliders.c +++ b/src/emu/ui/sliders.c @@ -130,7 +130,7 @@ void ui_menu_sliders::handle() void ui_menu_sliders::populate() { - astring tempstring; + std::string tempstring; /* add UI sliders */ for (const slider_state *curslider = machine().ui().get_slider_list(); curslider != NULL; curslider = curslider->next) @@ -175,7 +175,7 @@ void ui_menu_sliders::custom_render(void *selectedref, float top, float bottom, float bar_left, bar_area_top, bar_width, bar_area_height, bar_top, bar_bottom, default_x, current_x; float line_height = machine().ui().get_line_height(); float percentage, default_percentage; - astring tempstring; + std::string tempstring; float text_height; INT32 curval; @@ -187,7 +187,7 @@ void ui_menu_sliders::custom_render(void *selectedref, float top, float bottom, default_percentage = (float)(curslider->defval - curslider->minval) / (float)(curslider->maxval - curslider->minval); /* assemble the text */ - tempstring.ins(0, " ").ins(0, curslider->description); + tempstring.insert(0, " ").insert(0, curslider->description); /* move us to the bottom of the screen, and expand to full width */ y2 = 1.0f - UI_BOX_TB_BORDER; |