Everywhere: Use ctx->fill()
This commit is contained in:
parent
b280ae3501
commit
6232873c49
6 changed files with 11 additions and 10 deletions
|
@ -58,8 +58,9 @@ U0 @system_menu_show(Context2DWidget* widget)
|
|||
{
|
||||
sys_menu->x = 0;
|
||||
sys_menu->y = 32;
|
||||
if (widget->width == 30 && widget->height == 30)
|
||||
Fill2D(widget->ctx, Color(192, 192, 192));
|
||||
if (widget->width == 30 && widget->height == 30) {
|
||||
widget->ctx->fill(Color(192, 192, 192));
|
||||
}
|
||||
Gui.Window.Show(sys_menu);
|
||||
Gui.Window.SetFocus(sys_menu);
|
||||
Gui.Window.Refresh(sys_menu);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue