Media/Themes/Umami: Minor aesthetic changes

This commit is contained in:
Alec Murphy
2025-09-19 21:51:10 -04:00
parent 95601ab6cc
commit 3d2cc73e43
7 changed files with 3 additions and 15 deletions

View File

@@ -1260,7 +1260,6 @@ U0 @umami_vert_scrollbar_repaint(Window* win, I64 event,
I64 scroll = widget->scroll;
I64 segment_length = widget->length;
I64 i, j;
Bool fill = TRUE;
Context2D* ctx = win->render_ctx;
if (widget->in_drag && Mouse.y > win->y + widget->y && Mouse.y < win->y + widget->y + widget->height) {
@@ -1290,15 +1289,6 @@ U0 @umami_vert_scrollbar_repaint(Window* win, I64 event,
ctx->fill_rect(x, y, widget->width, widget->height,
Color(127, 127, 127));
for (i = 0; i < widget->width; i++) {
for (j = 16; j < widget->height - 16; j++) {
if (fill)
ctx->plot(i + x, j + y, Color(255, 255, 255));
fill = !fill;
}
fill = !fill;
}
@umami_vert_scroll_button_repaint(win, x, y, widget->width, 16);
@umami_vert_scroll_button_repaint(win, x, y + widget->height - 16,
widget->width, 16);
@@ -1758,10 +1748,8 @@ U0 @umami_window_repaint(Window* win, I64 event)
if (win == Compositor.active_win) {
HGradientRect2D(win->render_ctx, title_bar_x, title_bar_y,
title_bar_width, title_bar_height,
Color(10, 36, 106, win->opacity),
Color(165, 201, 239, win->opacity));
// Color(85, 18, 132, win->opacity),
// Color(233, 15, 240, win->opacity));
Color(0, 128, 128, win->opacity),
Color(0, 192, 192, win->opacity));
PutS2D(win->render_ctx, Compositor.theme.font.menu, title_bar_x + 4,
title_bar_y + 4, Color(255, 255, 255, win->opacity),
title_bar_width, &window_title);
@@ -1808,7 +1796,7 @@ U0 @umami_window_repaint(Window* win, I64 event)
}
Compositor.theme.color.active_border = Color(0, 0, 0);
Compositor.theme.color.hilight = Color(8, 33, 107);
Compositor.theme.color.hilight = Color(0, 128, 128);
BitmapFont* @umami_theme_bitmapfont_001 = @bitmapfont_new_from_context2d(
Image.FileToContext2D("M:/Media/Themes/Umami/BitmapFont/menu.png"),