olaf neophyte and de.po updates, valgrind tweaks, delete green lady, inkscape dpi=96
[goodguy/history.git] / cinelerra-5.1 / guicast / bcfilebox.h
index 4192077fdabf2b28be0e295e53ea101943605b7d..f450ec5c52f97eaba1eea855e3e3489506cf5d1b 100644 (file)
@@ -126,6 +126,14 @@ public:
        BC_FileBox *filebox;
 };
 
+class BC_FileBoxSearchText : public BC_TextBox
+{
+public:
+       BC_FileBoxSearchText(int x, int y, BC_FileBox *filebox);
+       int handle_event();
+       BC_FileBox *filebox;
+};
+
 class BC_FileBoxFilterText : public BC_TextBox
 {
 public:
@@ -231,6 +239,7 @@ public:
 
        friend class BC_FileBoxCancel;
        friend class BC_FileBoxDirectoryText;
+       friend class BC_FileBoxSearchText;
        friend class BC_FileBoxListBox;
        friend class BC_FileBoxTextBox;
        friend class BC_FileBoxText;
@@ -259,7 +268,7 @@ public:
 
        void create_history();
        void update_history();
-       int refresh(int reset=0);
+       int refresh(int reset=0, int select_all=0);
 
 // The OK and Use This button submits a path.
 // The cancel button has a current path highlighted but possibly different from the
@@ -285,7 +294,7 @@ public:
 private:
        int create_icons();
        int extract_extension(char *out, const char *in);
-       int create_tables();
+       int create_tables(int select_all);
        int delete_tables();
 // Called by directory history menu to change directories but leave
 // filename untouched.
@@ -307,9 +316,11 @@ private:
        BC_FileBoxRecent *recent_popup;
        BC_FileBoxTextBox *textbox;
        BC_FileBoxListBox *listbox;
+       BC_Title *filter_title;
        BC_FileBoxFilterText *filter_text;
        BC_FileBoxFilterMenu *filter_popup;
-       BC_TextBox *directory_title;
+       BC_FileBoxDirectoryText *directory_title;
+       BC_FileBoxSearchText *search_text;
        BC_Button *icon_button;
        BC_Button *text_button;
        BC_Button *folder_button;