vicon drag tweaks, proxy drag fix, vicon mouseover, binfolder around sort fix, draw_r...
[goodguy/history.git] / cinelerra-5.1 / guicast / vicon.h
index 59758bab6c6981a5d6ea1145d31ae015ff8b941d..6ffe3b174de09e310241f71bed895a0b5e4c2bcc 100644 (file)
@@ -13,7 +13,6 @@ class ViewPopup : public BC_Popup {
 public:
        VIconThread *vt;
        int keypress_event();
-       int button_press_event();
        void draw_vframe(VFrame *frame);
 
        ViewPopup(VIconThread *vt, VFrame *frame, int x, int y, int w, int h);
@@ -59,7 +58,7 @@ public:
        virtual void stop_audio() {}
 
        void add_image(VFrame *frm, int ww, int hh, int vcmdl);
-       void draw_vframe(BC_WindowBase *wdw, int x, int y);
+       void draw_vframe(VIconThread *vt, BC_WindowBase *wdw, int x, int y);
        void dump(const char *dir);
 
        VIcon(int vw=VICON_WIDTH, int vh=VICON_HEIGHT, double rate=VICON_RATE);
@@ -76,8 +75,11 @@ public:
        ViewPopup *view_win;
        VIcon *viewing, *vicon;
        int view_w, view_h;
+       int draw_x0, draw_y0;
+       int draw_x1, draw_y1;
        int img_dirty, win_dirty;
        double refresh_rate;
+       int64_t stop_age;
 
        ArrayList<VIcon *>t_heap;
        VIcon *low_vicon();
@@ -93,7 +95,9 @@ public:
        void reset_images();
        void remove_vicon(int i);
        int keypress_event(int key);
+       void set_drawing_area(int x0, int y0, int x1, int y1);
        void set_view_popup(VIcon *vicon);
+       void hide_vicons(int v=1);
 
        ViewPopup *new_view_window(VFrame *frame);
        virtual bool visible(VIcon *vicon, int x, int y);