mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Bind remaining theme properties to their respective classes
This adds binds for GraphEdit/GraphElement/GraphNode, which were skipped before due to a rework. This also adds binds for Window, which was skipped before due to a complicated code organization. Also adds theme cache entries/direct cache access to a few places that previously missed it. Some theme properties are now exposed to other classes via friendships or public getters for convenience. This removes all string-based theme access from scene/ classes.
This commit is contained in:
@@ -73,7 +73,7 @@ private:
|
||||
struct ThemeCache {
|
||||
int separation = 0;
|
||||
int minimum_grab_thickness = 0;
|
||||
int autohide = 0;
|
||||
bool autohide = false;
|
||||
Ref<Texture2D> grabber_icon;
|
||||
Ref<Texture2D> grabber_icon_h;
|
||||
Ref<Texture2D> grabber_icon_v;
|
||||
@@ -85,8 +85,6 @@ private:
|
||||
void _compute_middle_sep(bool p_clamp);
|
||||
void _resort();
|
||||
|
||||
void _dragging_area_gui_input(const Ref<InputEvent> &p_event);
|
||||
|
||||
protected:
|
||||
bool is_fixed = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user