Cockatrice/cockatrice/src/interface/widgets/general
BruebachL a4c2b1411f
Utility method to check if a theme is supposed to be in dark or light mode. (#6785)
* Utility method to check if a theme is supposed to be in dark or light mode.

Took 22 minutes

Took 4 seconds

* Method is public.

Took 3 minutes

* Add a utility method to check if we're using a built-in theme

Took 3 minutes

Took 3 seconds

* Use built-in theme detection for home screen.

Took 6 minutes

* Re-polish on theme change

Took 2 minutes

* Fetch background on theme change.

Took 4 minutes

Took 6 seconds

* No need to double polish.

Took 4 minutes

* No need to repaint.

Took 32 seconds

* Only repolish visible widgets.

Took 5 minutes

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-05-08 13:47:14 +02:00
..
display remove hardcoded white in vde banner widget (#6684) 2026-03-27 18:10:29 +01:00
layout_containers Move models to lib (#6274) 2025-11-05 18:33:40 +01:00
background_sources.cpp squash #6158 (#6160) 2025-09-20 14:35:52 +02:00
background_sources.h [Documentation] Sort *every* file into a doxygen group. (#6198) 2025-09-30 12:13:32 +02:00
home_styled_button.cpp followup to #6563 (#6569) 2026-01-25 16:05:53 -05:00
home_styled_button.h [Documentation] Sort *every* file into a doxygen group. (#6198) 2025-09-30 12:13:32 +02:00
home_widget.cpp Utility method to check if a theme is supposed to be in dark or light mode. (#6785) 2026-05-08 13:47:14 +02:00
home_widget.h nullcheck printing's set in home tab background art crop (#6646) 2026-03-04 00:49:50 +01:00