summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authormarynate <mary.w.nate@gmail.com>2014-06-15 12:15:33 +0800
committermarynate <mary.w.nate@gmail.com>2014-06-17 13:38:44 +0800
commit8b31ae491f63a7d8b6fabe099b77ab2bf332d45b (patch)
tree6993ee47e303102fd123ed603c78655c2f67cd14 /tools/editor
parent57ab93bd277b4d5750a4a7634ab20f546c048e1e (diff)
Move ProjectListFilter::FilterOption into private section
Diffstat (limited to 'tools/editor')
-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();