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`.
This commit is contained in:
Rémi Verschelde 2026-03-04 14:28:13 +01:00
parent 02cbed84ce
commit eabb9a63d4
No known key found for this signature in database
GPG key ID: C3336907360768E1
458 changed files with 507 additions and 97 deletions

View file

@ -34,6 +34,7 @@
#include "core/config/engine.h"
#include "core/config/project_settings.h"
#include "core/io/resource_loader.h"
#include "core/object/callable_mp.h"
#include "core/object/class_db.h"
#include "editor/docks/filesystem_dock.h"
#include "editor/docks/inspector_dock.h"
@ -61,6 +62,7 @@
#include "scene/gui/box_container.h"
#include "scene/gui/control.h"
#include "scene/main/window.h"
#include "scene/resources/image_texture.h"
#include "scene/resources/packed_scene.h"
#include "scene/resources/theme.h"
#include "servers/display/display_server.h"