Andreas Kling
a79bac428b
LibGUI+LibDraw: Add "Palette" concept for scoped color theming
...
GApplication now has a palette. This palette contains all the system
theme colors by default, and is inherited by a new top-level GWidget.
New child widgets inherit their parents palette.
It is possible to override the GApplication palette, and the palette
of any GWidget.
The Palette object contains a bunch of colors, each corresponding to
a ColorRole. Each role has a convenience getter as well.
Each GWidget now has a background_role() and foreground_role(), which
are then looked up in their current palette when painting. This means
that you no longer alter the background color of a widget by setting
it directly, rather you alter either its background role, or the
widget's palette.
2019-12-24 21:27:16 +01:00
..
2019-09-22 00:25:25 +02:00
2019-09-29 20:37:02 +02:00
2019-12-24 21:27:16 +01:00
2019-09-22 00:31:54 +02:00
2019-12-24 21:27:16 +01:00
2019-12-24 21:27:16 +01:00
2019-10-22 21:38:04 +02:00
2019-12-13 20:54:40 +01:00
2019-12-09 21:29:43 +01:00
2019-12-09 21:29:43 +01:00
2019-12-24 21:27:16 +01:00
2019-12-24 21:27:16 +01:00
2019-12-24 21:27:16 +01:00
2019-09-21 19:37:38 +02:00
2019-12-24 21:27:16 +01:00
2019-09-21 18:58:48 +02:00
2019-12-02 11:11:05 +01:00
2019-09-14 09:19:05 +02:00
2019-09-21 19:28:28 +02:00
2019-09-22 00:31:54 +02:00
2019-11-30 15:36:17 +01:00
2019-11-30 15:36:17 +01:00
2019-12-02 11:11:05 +01:00
2019-09-06 15:36:54 +02:00
2019-09-22 20:50:39 +02:00
2019-09-22 20:50:39 +02:00
2019-12-20 20:07:10 +01:00
2019-11-20 23:23:57 +01:00
2019-12-20 20:07:10 +01:00
2019-12-20 20:07:10 +01:00
2019-12-20 20:07:10 +01:00
2019-12-24 21:27:16 +01:00
2019-10-26 21:42:34 +02:00
2019-12-12 22:41:28 +01:00
2019-09-17 09:26:10 +02:00
2019-08-29 19:30:48 +02:00
2019-09-06 15:36:54 +02:00
2019-12-24 21:27:16 +01:00
2019-09-21 19:21:36 +02:00
2019-12-24 21:27:16 +01:00
2019-09-21 16:13:33 +02:00
2019-09-22 00:25:25 +02:00
2019-09-22 00:31:54 +02:00
2019-12-24 21:27:16 +01:00
2019-12-08 16:50:23 +01:00
2019-10-29 16:36:50 +01:00
2019-08-14 20:30:18 +02:00
2019-12-24 21:27:16 +01:00
2019-09-21 15:25:08 +02:00
2019-11-05 20:41:27 +01:00
2019-11-05 20:41:27 +01:00
2019-10-02 20:24:29 +02:00
2019-10-02 20:24:29 +02:00
2019-12-24 21:27:16 +01:00
2019-12-09 21:05:44 +01:00
2019-12-09 21:05:44 +01:00
2019-12-09 21:05:44 +01:00
2019-12-09 21:05:44 +01:00
2019-12-09 21:05:44 +01:00
2019-12-09 21:05:44 +01:00
2019-09-22 00:31:54 +02:00
2019-09-30 17:20:53 +02:00
2019-12-13 23:36:36 +01:00
2019-12-20 20:07:10 +01:00
2019-09-22 00:31:54 +02:00
2019-11-09 11:56:28 +01:00
2019-09-07 19:33:58 +02:00
2019-09-17 09:26:10 +02:00
2019-12-24 21:27:16 +01:00
2019-09-21 16:31:12 +02:00
2019-11-10 12:57:37 +01:00
2019-11-10 12:57:37 +01:00
2019-12-24 21:27:16 +01:00
2019-09-21 15:46:47 +02:00
2019-10-09 21:16:49 +02:00
2019-10-09 21:16:49 +02:00
2019-12-24 21:27:16 +01:00
2019-11-10 12:57:37 +01:00
2019-09-06 15:36:54 +02:00
2019-12-24 21:27:16 +01:00
2019-11-10 12:57:37 +01:00
2019-11-27 19:04:35 +01:00
2019-09-21 19:28:28 +02:00
2019-09-22 00:31:54 +02:00
2019-12-24 21:27:16 +01:00
2019-09-21 16:11:02 +02:00
2019-09-22 00:31:54 +02:00
2019-12-24 21:27:16 +01:00
2019-10-24 09:57:27 +02:00
2019-12-24 21:27:16 +01:00
2019-12-13 20:54:40 +01:00
2019-12-24 21:27:16 +01:00
2019-09-22 00:31:54 +02:00
2019-10-28 19:08:48 +01:00
2019-12-10 22:06:31 +01:00
2019-12-10 22:06:31 +01:00
2019-12-24 21:27:16 +01:00
2019-12-09 21:05:44 +01:00
2019-12-09 17:51:21 +01:00
2019-11-03 09:57:14 +01:00
2019-12-24 21:27:16 +01:00
2019-11-09 00:41:00 +01:00
2019-12-24 21:27:16 +01:00
2019-12-15 17:02:44 +01:00
2019-11-30 15:36:17 +01:00
2019-11-30 15:36:17 +01:00
2019-10-29 16:36:50 +01:00
2019-10-22 21:37:11 +02:00
2019-12-24 21:27:16 +01:00
2019-12-24 21:27:16 +01:00
2019-12-23 20:33:01 +01:00
2019-12-23 20:33:01 +01:00
2019-12-24 21:27:16 +01:00
2019-12-23 20:33:01 +01:00
2019-12-16 15:05:45 +01:00
2019-12-20 20:20:54 +01:00