Commit Graph

22 Commits

Author SHA1 Message Date
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
风青山 2c7071d3ae Make the resource type's default theme item editable in Theme editor
In most cases, we may only need to modify some properties of the default
resource instead of all. But click the plus icon to override item, it
will use an empty object to override. Allow `EditorResourcePicker` to be
editable, you can use the **Make Unique** option to create a copy and
then edit it.
2026-03-20 08:58:13 +08:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Danil Alexeev bf6a88045a Theme Editor: Remember split offset between editor sessions 2026-02-05 13:28:07 +03:00
kobewi d6975dac11 Add FilterLineEdit to unify editor filter field navigation 2026-02-03 15:37:20 +01:00
Michael Alexsander 810b377492 Fix not being able to remove empty theme overrides in the editor 2026-01-24 20:52:02 -03:00
Giganzo 876ac8b457 Add inner tab styling to Manage Theme Items dialog 2026-01-17 14:44:04 +01:00
Michael Alexsander b4f14f92e8 Fix and improve the theme editor 2026-01-09 16:45:35 -03:00
kobewi 9f96d2199d Add EditorDock's own DockSlot enum 2026-01-02 13:16:23 +01:00
passivestar 3393740d42 Improve the look of inner tabs in modern theme 2025-12-30 06:05:12 +04:00
Rémi Verschelde 11ffcb3ef7 Merge pull request #113108 from KoBeWi/Thock
Change Theme to EditorDock and add `closable` property
2025-12-03 09:49:31 +01:00
Pāvels Nadtočajevs 1bcc499d9a Use EditorSpinSlider in the theme editor. 2025-12-02 19:02:01 +02:00
kobewi 2de97cafb7 Change Theme to EditorDock and add closable property 2025-12-02 16:27:36 +01:00
风青山 81f727b6dd Fix the returned controls of EditorHelpBitTooltip::show_tooltip() were not freed in ScriptTextEditor
The returned control is an orphan node, which is to make the standard tooltip invisible.
2025-11-23 23:31:59 +08:00
kobewi 67735cf213 Make bottom panel into available dock slot 2025-11-21 18:52:13 +01:00
Thaddeus Crews ac8991c3c3 Merge pull request #109237 from arkology/theme-editor-ui
`ThemeEditor`: Reorganize/fix UI to make it fit in editor (at its minimum size in single-window mode) better
2025-11-10 08:20:09 -06:00
Haoyu Qiu e5373c5cb0 Validate theme type name input in Add Theme Type dialog 2025-08-28 15:47:37 +08:00
arkology 4f1f01f2d1 ThemeEditor: Reorganize/fix UI to make it fit in editor (at its minimum size in single-window mode) better
Replace text for add/close buttons with icons, remove theme preview custom minimum width, fix "Manage Items" window size in single-window mode and editor window at minimum size. Also theme preview tab looks like scenes tab.
This allows to reduce minimum size of `ThemeEditor`, improving (partially fixing) the use of non-standard editor layouts (for example, 2 columns for left dock and 1 column for right dock) without panels pushed out of screen.
2025-08-23 13:31:49 +03:00
aaronp64 842b44d872 ThemeEditor fix to show filename for new/renamed files
Updated ThemeEditor to set the theme name label when theme file is initially created or renamed.
2025-08-14 15:20:50 -04:00
Michael Alexsander e924d2b565 Fix unwanted resource duplication in the theme editor 2025-07-12 12:39:55 -03:00
A Thousand Ships f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00