4 Commits
Author SHA1 Message Date
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
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Malcolm Anderson a48353b1c6 Stop drawing of MarginContainer margins if not in tree
Use `is_visible_in_tree()` as per KoBeWi's suggestion
2025-11-13 16:35:13 -08:00
Malcolm AndersonandTomasz Chabora 36c7bbb47a Visualize MarginContainer margins when selected
This time as an EditorPlugin!

Improve rendering of inner area of MarginContainer

Decrease thickness and opacity of lines, and render margins as a rectangle rather than lines extending to the edges of the bounding box

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Use `get_margin_size`, change color of viz border, and trigger redraw on MarginContainer's draw signal
2025-10-03 11:42:05 -07:00