1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

-fixed bug in Button now exporting font property

-made GUI Theme editor usable
-editor does not allow to export or create .pck in the same path as a project
-changed .pck format (lacked support for versioning so couldn't change it), previous was causing crashes and is now incompatible, just re-export.
-will not look for .pck files recursively, was causing unexpected behaviors
-fixed execution of Godot in paths with non unicode characters in Windows, OSX and Linux.
This commit is contained in:
Juan Linietsky
2014-02-15 02:01:39 -03:00
parent b0870e487c
commit 9afdb3e0ad
30 changed files with 107728 additions and 88050 deletions

View File

@@ -42,21 +42,13 @@ class ThemeEditor : public Control {
OBJ_TYPE( ThemeEditor, Control );
Panel *panel;
VBoxContainer *main_vb;
Ref<Theme> theme;
FileDialog *file_dialog;
Button *test_button;
Label *test_label;
MenuButton *test_menu_button;
OptionButton *test_option_button;
HScrollBar *test_h_scroll;
VScrollBar *test_v_scroll;
LineEdit *line_edit;
FileDialog *test_file_dialog;
double time_left;
MenuButton *theme_menu;
ConfirmationDialog *add_del_dialog;
@@ -86,9 +78,12 @@ class ThemeEditor : public Control {
void _name_menu_about_to_show();
void _name_menu_cbk(int p_option);
void _theme_menu_cbk(int p_option);
void _open_file_dialog();
void _propagate_redraw(Control *p_at);
void _refresh_interval();
protected:
void _notification(int p_what);
static void _bind_methods();
public: