projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lock xft, plugin index builder lock, clear clip thumbnails, clear vwin clock, setpoin...
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
bcfilebox.h
diff --git
a/cinelerra-5.1/guicast/bcfilebox.h
b/cinelerra-5.1/guicast/bcfilebox.h
index 682fa9c30137cdea71a4497283e2d31266361d47..96d1ebe2b4065e2a8ec1744a090d89e301c429c4 100644
(file)
--- a/
cinelerra-5.1/guicast/bcfilebox.h
+++ b/
cinelerra-5.1/guicast/bcfilebox.h
@@
-78,22
+78,22
@@
public:
BC_FileBox *filebox;
};
BC_FileBox *filebox;
};
-class BC_FileBox
OK : public BC_OK
Button
+class BC_FileBox
UseThis : public BC_
Button
{
public:
{
public:
- BC_FileBoxOK(BC_FileBox *filebox);
- ~BC_FileBoxOK();
-
+ BC_FileBoxUseThis(BC_FileBox *filebox);
+ ~BC_FileBoxUseThis();
int handle_event();
BC_FileBox *filebox;
};
int handle_event();
BC_FileBox *filebox;
};
-class BC_FileBox
UseThis : public BC_
Button
+class BC_FileBox
OK : public BC_OK
Button
{
public:
{
public:
- BC_FileBoxUseThis(BC_FileBox *filebox);
- ~BC_FileBoxUseThis();
+ BC_FileBoxOK(BC_FileBox *filebox);
+ ~BC_FileBoxOK();
+
int handle_event();
BC_FileBox *filebox;
int handle_event();
BC_FileBox *filebox;
@@
-191,6
+191,15
@@
public:
BC_FileBox *filebox;
};
BC_FileBox *filebox;
};
+class BC_FileBoxSizeFormat : public BC_Button
+{
+public:
+ BC_FileBoxSizeFormat(int x, int y, BC_FileBox *file_box);
+ ~BC_FileBoxSizeFormat();
+
+ int handle_event();
+ BC_FileBox *file_box;
+};
class BC_FileBoxRecent : public BC_ListBox
class BC_FileBoxRecent : public BC_ListBox
@@
-239,6
+248,7
@@
public:
friend class BC_FileBoxDelete;
friend class BC_FileBoxReload;
friend class BC_FileBoxRecent;
friend class BC_FileBoxDelete;
friend class BC_FileBoxReload;
friend class BC_FileBoxRecent;
+ friend class BC_FileBoxSizeFormat;
virtual void create_objects();
virtual int keypress_event();
virtual void create_objects();
virtual int keypress_event();
@@
-249,7
+259,7
@@
public:
void create_history();
void update_history();
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
// The OK and Use This button submits a path.
// The cancel button has a current path highlighted but possibly different from the
@@
-275,7
+285,7
@@
public:
private:
int create_icons();
int extract_extension(char *out, const char *in);
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.
int delete_tables();
// Called by directory history menu to change directories but leave
// filename untouched.
@@
-297,6
+307,7
@@
private:
BC_FileBoxRecent *recent_popup;
BC_FileBoxTextBox *textbox;
BC_FileBoxListBox *listbox;
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_FileBoxFilterText *filter_text;
BC_FileBoxFilterMenu *filter_popup;
BC_TextBox *directory_title;
@@
-307,6
+318,7
@@
private:
BC_Button *updir_button;
BC_Button *delete_button;
BC_Button *reload_button;
BC_Button *updir_button;
BC_Button *delete_button;
BC_Button *reload_button;
+ BC_FileBoxSizeFormat *szfmt_button;
BC_Button *ok_button, *cancel_button;
BC_FileBoxUseThis *usethis_button;
char caption[BCTEXTLEN];
BC_Button *ok_button, *cancel_button;
BC_FileBoxUseThis *usethis_button;
char caption[BCTEXTLEN];
@@
-320,6
+332,7
@@
private:
int sort_column;
int sort_order;
int sort_column;
int sort_order;
+ int size_format;
const char *column_titles[FILEBOX_COLUMNS];
ArrayList<BC_ListBoxItem*> filter_list;
const char *column_titles[FILEBOX_COLUMNS];
ArrayList<BC_ListBoxItem*> filter_list;