summaryrefslogtreecommitdiff
path: root/tools/editor/project_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/project_manager.h')
-rw-r--r--tools/editor/project_manager.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/tools/editor/project_manager.h b/tools/editor/project_manager.h
index 4f9ac1599f..b2b3144c3d 100644
--- a/tools/editor/project_manager.h
+++ b/tools/editor/project_manager.h
@@ -94,6 +94,10 @@ class ProjectListFilter : public HBoxContainer {
OBJ_TYPE( ProjectListFilter, HBoxContainer );
+private:
+
+ friend class ProjectManager;
+
enum Command {
CMD_CLEAR_FILTER,
};
@@ -102,7 +106,10 @@ class ProjectListFilter : public HBoxContainer {
LineEdit *search_box;
Button *clear_search_button;
- enum FilterOption;
+ enum FilterOption {
+ FILTER_NAME,
+ FILTER_PATH,
+ };
FilterOption _current_filter;
void _command(int p_command);
@@ -111,13 +118,10 @@ class ProjectListFilter : public HBoxContainer {
void _filter_option_selected(int p_idx);
protected:
+
static void _bind_methods();
public:
- enum FilterOption {
- FILTER_NAME,
- FILTER_PATH,
- };
String get_search_term();
FilterOption get_filter_option();