virtualx-engine/scene/theme
Rindbee f29a7d302e Make the drawing logic clearer in Button
The drawing logic follows the calculation logic in `Button::get_minimum_size`.

According to the order of `stylebox`, `icon`, and `text`, and follow properties
such as alignment mode, to fill the display space of the button.

Add a `Button::_set_h_separation_is_valid_when_no_text` for Button derived
classes (like `OptionButton`) that expects a `h_separation` between `icon`
and theme icon even if the `text` is empty.
2024-01-18 22:57:22 +08:00
..
icons Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
default_theme.cpp Make the drawing logic clearer in Button 2024-01-18 22:57:22 +08:00
default_theme.h Move default theme files to scene/theme 2023-08-28 00:23:38 +02:00
default_theme_builders.py Reorganize code related to editor theming 2024-01-16 11:57:45 +01:00
SCsub Move default theme files to scene/theme 2023-08-28 00:23:38 +02:00
theme_db.cpp Use bound theme properties for documentation 2023-09-26 18:48:51 +02:00
theme_db.h Use bound theme properties for documentation 2023-09-26 18:48:51 +02:00
theme_owner.cpp Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
theme_owner.h Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00