33 #include "scene/resources/font.h" 34 #include "scene/resources/style_box.h" 35 #include "scene/resources/texture.h" 36 #include "scene/resources/shader.h" 37 #include "io/resource_loader.h" 45 RES_BASE_EXTENSION(
"thm");
73 static void _bind_methods();
77 static void set_default(
const Ref<Theme>& p_default);
79 static void set_default_icon(
const Ref<Texture>& p_icon );
80 static void set_default_style(
const Ref<StyleBox>& p_default_style);
81 static void set_default_font(
const Ref<Font>& p_default_font );
83 void set_default_theme_font(
const Ref<Font>& p_default_font );
125 void copy_default_theme();
135 virtual RES load(
const String &p_path,
const String& p_original_path=
"",Error *r_error=NULL);
136 virtual void get_recognized_extensions(
List<String> *p_extensions)
const;
137 virtual bool handles_type(
const String& p_type)
const;
138 virtual String get_resource_type(
const String &p_path)
const;
Definition: string_db.h:150
_FORCE_INLINE_ const Element * front() const
Definition: list.h:189
Definition: string_db.h:48
Definition: hash_map.h:84
Definition: resource.h:89