mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Cleanup unused engine code
This commit is contained in:
parent
90bdba576a
commit
2c048ea164
56 changed files with 4 additions and 615 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue