Skip to content

Commit

Permalink
ui: improved buttons style
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Aug 12, 2023
1 parent 75ac809 commit 25f9a83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sources/libs/brutal-ui/button.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void ui_button_repaint(UiView *self, Gfx *gfx)
{
if (self->flags & UI_VIEW_ENABLED)
{
gfx_fill_style(gfx, gfx_paint_fill(UI_COLOR_BLUE));
gfx_fill_style(gfx, gfx_paint_fill(UI_COLOR_BASE01));
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions sources/srvs/window/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static void wm_server_render_clients(WmServer *self, Gfx *gfx)
}

gfx_stroke_style(gfx, (GfxStroke){.pos = GFX_STOKE_INSIDE, .width = 1});
gfx_fill_style(gfx, gfx_paint_fill(UI_COLOR_BASE02));
gfx_fill_style(gfx, gfx_paint_fill(UI_COLOR_BASE01));
gfx_stroke(gfx);
}
}
Expand All @@ -168,7 +168,7 @@ void wm_server_render(WmServer *self)
gfx_push(gfx);
gfx_clip(gfx, dirty);

gfx_clear(gfx, GFX_GAINSBORO);
gfx_clear(gfx, gfx_hex(0x09090b));

wm_server_render_clients(self, gfx);
wm_server_render_cursor(self, gfx);
Expand Down

0 comments on commit 25f9a83

Please sign in to comment.