cposer/viewer btn1/2/3 fwd/rev/frm playback, misc fixes, leaks, cleanup
[goodguy/history.git] / cinelerra-5.1 / cinelerra / awindowgui.h
index f7c90120c304dd9fba4aa263f00af68c704e8c0b..985b4a0ea99e42ca3ecaf492d863e1d148292501 100644 (file)
@@ -55,6 +55,8 @@ public:
 
        void create_objects();
        void reset();
+       void draw_wave(VFrame *frame, double *dp, int len,
+               int base_color, int line_color);
 
        MWindow *mwindow;
        AWindowGUI *gui;
@@ -71,7 +73,7 @@ public:
        EDL *edl;
 
        int in_use;
-
+       time_t mtime;
 
        int persistent;
        PluginServer *plugin;
@@ -138,7 +140,7 @@ public:
        int keypress_event();
        void async_update_assets();     // Sends update asset event
        void update_effects();
-       void sort_assets();
+       void sort_assets(int use_mtime);
        void sort_folders();
        void reposition_objects();
        static int folder_number(const char *name);
@@ -155,7 +157,7 @@ public:
        void create_label_folder();
        void copy_picons(ArrayList<BC_ListBoxItem*> *dst,
                ArrayList<BC_ListBoxItem*> *src, int folder);
-       void sort_picons(ArrayList<BC_ListBoxItem*> *src);
+       void sort_picons(ArrayList<BC_ListBoxItem*> *src, int use_mtime=0);
 // Return the selected asset in asset_list
        Indexable* selected_asset();
        PluginServer* selected_plugin();
@@ -326,16 +328,17 @@ public:
 
        int handle_event();
        void create_objects();
+       int get_w();
+       int get_h();
+       void reposition_window(int x, int y, int w);
+       const char *get_text();
+       void clear();
 
        MWindow *mwindow;
        AWindowGUI *gui;
        int x, y;
        BC_Title *text_title;
        BC_TextBox *text_box;
-       int get_w();
-       int get_h();
-       void reposition_window(int x, int y, int w);
-       const char *get_text();
 };
 
 class AWindowNewFolder : public BC_Button