add 2 asset list fmts, user title rework, added show edit, bt tweak
[goodguy/history.git] / cinelerra-5.1 / guicast / vicon.h
index 59758bab6c6981a5d6ea1145d31ae015ff8b941d..5e96f7117cabd93bbdb0eb0b4d22f5ccc61decf0 100644 (file)
@@ -59,7 +59,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,6 +76,8 @@ 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;
 
@@ -93,6 +95,7 @@ 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);
 
        ViewPopup *new_view_window(VFrame *frame);