Pieter-Jan Briers
8c4deb2067
Allow control layout properties to be set via style sheet.
...
This works by setting the stylesheet values into the regular control property fields when updated. This means 0 performance overhead except when updating styles, and even then it's probably negligible. A bitfield is used to track which properties are set and how.
This code is all done manual for now. I wanted to make a source gen for this but couldn't be arsed at the moment. The code manually written here is basically what a future source gen would generate optimally.
2024-04-14 02:09:00 +02:00
..
2023-12-09 12:46:57 +11:00
2024-03-31 15:25:31 +11:00
2024-03-22 22:19:17 +01:00
2024-03-16 23:35:04 +01:00
2023-11-07 09:34:09 +11:00
2023-05-11 06:38:50 -05:00
2023-05-11 06:38:50 -05:00
2023-11-07 09:34:09 +11:00
2023-12-16 18:36:58 +01:00
2022-09-04 16:10:54 -07:00
2022-02-05 19:31:58 +01:00
2024-03-31 17:01:03 +11:00
2024-04-14 02:05:40 +02:00
2021-02-10 23:27:19 -08:00
2023-07-08 14:08:26 +10:00
2024-04-14 02:09:00 +02:00
2024-04-14 02:09:00 +02:00
2021-02-10 23:27:19 -08:00
2024-04-14 02:09:00 +02:00
2021-10-27 08:52:09 +02:00
2022-04-15 12:46:30 +02:00
2022-02-05 19:31:58 +01:00
2022-11-06 03:00:57 +11:00
2021-05-02 14:05:50 +02:00
2022-12-03 00:28:33 +01:00
2022-04-15 12:46:30 +02:00
2022-09-04 16:10:54 -07:00
2021-11-05 14:50:47 +01:00
2023-12-28 16:15:42 -08:00
2023-02-19 04:07:07 +11:00
2023-05-17 05:51:38 +10:00
2022-09-04 16:10:54 -07:00
2024-02-11 17:18:39 +01:00
2022-02-05 19:31:58 +01:00
2020-12-20 23:52:36 +01:00
2023-08-13 09:34:44 +10:00
2020-11-26 00:16:55 +01:00
2024-03-16 14:45:17 +11:00
2022-11-06 03:00:57 +11:00
2023-09-30 14:08:52 +10:00
2022-09-04 16:10:54 -07:00
2020-06-17 02:20:58 +02:00
2024-02-11 17:18:39 +01:00
2023-11-28 19:22:05 +11:00
2024-02-11 17:18:39 +01:00
2023-07-10 17:36:22 +10:00
2023-12-28 03:38:20 +01:00
2023-08-20 03:36:38 +10:00
2023-05-13 01:04:08 -07:00
2022-09-04 16:10:54 -07:00
2023-01-30 19:20:33 +01:00