thankyouverycool
208cb995ba
WindowServer+LibGfx: Move title bar button layout to WindowTheme
2020-08-26 08:53:14 +02:00
Andreas Kling
85e818206c
LibGfx+WindowServer: Simplify notification window frame theming
...
Don't require theme clients to provide the frame rect, the theme can
compute that internally based on the window rect.
2020-08-23 13:17:34 +02:00
Andreas Kling
80a9896e83
LibGfx+WindowServer: Simplify WindowTheme::paint_normal_frame() API
...
Don't require passing in the outer frame rect since the theme can
compute that itself, based on the window rect.
2020-08-21 21:16:13 +02:00
Andreas Kling
ae0ff13f66
LibGfx: Correct copyright years for {Classic,}WindowTheme.{cpp,h}
2020-08-10 21:20:28 +02:00
Andreas Kling
de1a54c378
WindowServer+LibGfx: Move window frame rect calculation to WindowTheme
2020-08-10 13:03:44 +02:00
Sarah
9714e61d62
ClassicWindowTheme: Fix titlebar redraw issues
...
This fixes titlebar rects being overly large and leaving smeary
undrawn areas when using a theme with a titlebar height
different to 19px.
2020-08-10 11:48:47 +02:00
Andreas Kling
c81c8b68bb
WindowServer+LibGfx: Move notification window frame painting to LibGfx
...
ClassicWindowTheme can now also paint notification window frames.
2020-08-09 19:34:56 +02:00
Andreas Kling
e7460b6fb4
WindowServer+LibGfx: Move normal window frame painting to a WindowTheme
...
This patch introduces the ClassicWindowTheme, which is our default
theme implemented as a Gfx::WindowTheme subclass.
In this initial cut, we move normal window frame painting and title
bar metrics helpers out of WindowServer and into LibGfx.
This will eventually allow us much greater flexibility with theming
windows, and also makes it easier to build applications that want to
render a window with a specific style for some reason. :^)
2020-08-09 19:29:15 +02:00