mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:48:13 +00:00
Ladybird: Get the system's current color theme settings from Qt
There isn't a 1:1 equivalent for all ColorRoles between Qt and LibGfx, but we can at least make an effort to translate the various QPalette preferred colors. This makes text selection look a lot more "native" in Ladybird. :^)
This commit is contained in:
parent
5e81734520
commit
19b3d40ad2
2 changed files with 44 additions and 1 deletions
|
@ -192,6 +192,8 @@ private:
|
|||
bool is_inspector_open() const;
|
||||
void close_sub_widgets();
|
||||
|
||||
void update_palette();
|
||||
|
||||
qreal m_inverse_pixel_scaling_ratio { 1.0 };
|
||||
bool m_should_show_line_box_borders { false };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue