Previous 199869 Revisions Next

r44674 Thursday 4th February, 2016 at 20:12:19 UTC by hap
ui: orange mousecursor regrew with mewUI merge, let's re-shrink it
[src/emu/ui]ui.cpp
[src/mame/drivers]fidelz80.cpp

trunk/src/emu/ui/ui.cpp
r253185r253186
473473   else
474474      m_popup_text_end = 0;
475475
476   // display the internal mouse cursor
476477   if (m_mouse_show || (is_menu_active() && machine().options().ui_mouse()))
477478   {
478479      INT32 mouse_target_x, mouse_target_y;
r253185r253186
482483      if (mouse_target != nullptr)
483484      {
484485         float mouse_y=-1,mouse_x=-1;
485         if (mouse_target->map_point_container(mouse_target_x, mouse_target_y, *container, mouse_x, mouse_y)) {
486            float l_heigth = machine().ui().get_line_height();
487            container->add_quad(mouse_x, mouse_y, mouse_x + l_heigth*container->manager().ui_aspect(container), mouse_y + l_heigth, UI_TEXT_COLOR, m_mouse_arrow_texture, PRIMFLAG_ANTIALIAS(1) | PRIMFLAG_BLENDMODE(BLENDMODE_ALPHA));
488
486         if (mouse_target->map_point_container(mouse_target_x, mouse_target_y, *container, mouse_x, mouse_y))
487         {
488            const float cursor_size = 0.6 * machine().ui().get_line_height();
489            container->add_quad(mouse_x, mouse_y, mouse_x + cursor_size*container->manager().ui_aspect(container), mouse_y + cursor_size, UI_TEXT_COLOR, m_mouse_arrow_texture, PRIMFLAG_ANTIALIAS(1) | PRIMFLAG_BLENDMODE(BLENDMODE_ALPHA));
489490         }
490491      }
491492   }
trunk/src/mame/drivers/fidelz80.cpp
r253185r253186
189189RE information from netlist by Berger
190190
191191Zilog Z80A, 3.579MHz from XTAL
192Z80 IRQ/NMI unused, no timer IC.
192193This is a cost-reduced design from CC10, no special I/O chips.
193194
194195Memory map:


Previous 199869 Revisions Next


© 1997-2024 The MAME Team