Skip to content

Commit

Permalink
draw menu trigger using theme color
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Oct 25, 2023
1 parent 19043ce commit b220bfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Caption.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,8 @@ static void DrawCaptionButton(DRAWITEMSTRUCT* item, MainWindow* win) {
gfx.FillRectangle(&br, rc.x, rc.y, rc.dx, rc.dy);
}
// draw the three lines
COLORREF c = win->caption->textColor;
//COLORREF c = win->caption->textColor;
COLORREF c = gCurrentTheme->window.textColor;
u8 r, g, b;
UnpackColor(c, r, g, b);
float width = floor((float)rc.dy / 8.0f);
Expand Down

0 comments on commit b220bfc

Please sign in to comment.