mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 20:42:21 +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
Notes:
sideshowbarker
2024-07-17 11:29:41 +09:00
Author: https://github.com/awesomekling
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