Commit Graph

15 Commits

Author SHA1 Message Date
João Diniz 0046f29e63 Editor: Mark simple confirmation/accept dialogs as non-resizable
Adds set_flag(FLAG_RESIZE_DISABLED, true) to ConfirmationDialog and
AcceptDialog instances which only contain plain content. Dialogs
with content that could leave the borders of the dialog were kept
as resizable.

The flag is set explicitly at dialog creation time, instead of the
previous auto-detect approach. In cases of uncertainty, the dialog was
left as resizable.
2026-05-10 01:35:46 +01:00
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
Thaddeus Crews 3f040adfac Merge pull request #117016 from Mrfanta-stick/fix-script-create-dialog-fallback
Add explicit OptionButton fallback state in ScriptCreateDialog
2026-03-09 15:18:10 -05:00
Mrfanta-stick 4b86e36947 Add explicit OptionButton fallback state in ScriptCreateDialog 2026-03-06 19:31:05 +05:30
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
kobewi e0225265b4 Fix auto-translation of EditorValidationPanel 2026-02-09 13:52:42 +01:00
kobewi afdc1d6456 Fix wrong base type when creating script 2026-02-02 22:59:57 +01:00
kobewi f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
kobewi 234a255249 Fix CreateDialog returning wrong type 2025-12-03 15:28:24 +01:00
kobewi c1cc178a82 Make EditorFileDialog inherit FileDialog 2025-12-02 12:30:51 +01:00
kobewi a299004622 Enable script templates by default 2025-10-09 16:33:07 +02:00
kobewi d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Elise 8835ac2a2a Fix inheriting from abstract classes dialog 2025-08-06 08:43:22 +10: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