You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Cleanup unused engine code
This commit is contained in:
@@ -1167,11 +1167,6 @@ Ref<Texture2D> Window::get_theme_icon(const StringName &p_name, const StringName
|
||||
return Control::get_icons(theme_owner, theme_owner_window, p_name, type);
|
||||
}
|
||||
|
||||
Ref<Shader> Window::get_theme_shader(const StringName &p_name, const StringName &p_type) const {
|
||||
StringName type = p_type ? p_type : get_class_name();
|
||||
return Control::get_shaders(theme_owner, theme_owner_window, p_name, type);
|
||||
}
|
||||
|
||||
Ref<StyleBox> Window::get_theme_stylebox(const StringName &p_name, const StringName &p_type) const {
|
||||
StringName type = p_type ? p_type : get_class_name();
|
||||
return Control::get_styleboxs(theme_owner, theme_owner_window, p_name, type);
|
||||
@@ -1202,11 +1197,6 @@ bool Window::has_theme_icon(const StringName &p_name, const StringName &p_type)
|
||||
return Control::has_icons(theme_owner, theme_owner_window, p_name, type);
|
||||
}
|
||||
|
||||
bool Window::has_theme_shader(const StringName &p_name, const StringName &p_type) const {
|
||||
StringName type = p_type ? p_type : get_class_name();
|
||||
return Control::has_shaders(theme_owner, theme_owner_window, p_name, type);
|
||||
}
|
||||
|
||||
bool Window::has_theme_stylebox(const StringName &p_name, const StringName &p_type) const {
|
||||
StringName type = p_type ? p_type : get_class_name();
|
||||
return Control::has_styleboxs(theme_owner, theme_owner_window, p_name, type);
|
||||
|
||||
Reference in New Issue
Block a user