X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fresourcepixmap.h;h=1a2e1827914049f5812b2f61431e6657bf008f11;hb=9f0e523f895dabf635f694efc854f2be479d712c;hp=99e43f35438ed60048e680520fedf414cb060daf;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/resourcepixmap.h b/cinelerra-5.1/cinelerra/resourcepixmap.h index 99e43f35..1a2e1827 100644 --- a/cinelerra-5.1/cinelerra/resourcepixmap.h +++ b/cinelerra-5.1/cinelerra/resourcepixmap.h @@ -34,56 +34,35 @@ class ResourcePixmap : public BC_Pixmap { public: - ResourcePixmap(MWindow *mwindow, - MWindowGUI *gui, - Edit *edit, - int pane_number, - int w, - int h); + ResourcePixmap(MWindow *mwindow, MWindowGUI *gui, Edit *edit, + int pane_number, int w, int h); ~ResourcePixmap(); void resize(int w, int h); + void update_settings(Edit *edit, + int64_t edit_x, int64_t edit_w, + int64_t pixmap_x, int64_t pixmap_w, int64_t pixmap_h); void draw_data(TrackCanvas *canvas, - Edit *edit, - int64_t edit_x, - int64_t edit_w, - int64_t pixmap_x, - int64_t pixmap_w, - int64_t pixmap_h, - int mode, - int indexes_only); + Edit *edit, int64_t edit_x, int64_t edit_w, + int64_t pixmap_x, int64_t pixmap_w, int64_t pixmap_h, + int mode, int indexes_only); void draw_audio_resource(TrackCanvas *canvas, - Edit *edit, - int x, - int w); + Edit *edit, int x, int w); void draw_video_resource(TrackCanvas *canvas, - Edit *edit, - int64_t edit_x, - int64_t edit_w, - int64_t pixmap_x, - int64_t pixmap_w, - int refresh_x, - int refresh_w, + Edit *edit, int64_t edit_x, int64_t edit_w, + int64_t pixmap_x, int64_t pixmap_w, + int refresh_x, int refresh_w, int mode); void draw_audio_source(TrackCanvas *canvas, - Edit *edit, - int x, - int w); + Edit *edit, int x, int w); void draw_subttl_resource(TrackCanvas *canvas, - Edit *edit, - int x, - int w); + Edit *edit, int x, int w); // Called by ResourceThread to update pixmap void draw_wave(TrackCanvas *canvas, - int x, - double high, - double low); + int x, double high, double low); void draw_title(TrackCanvas *canvas, - Edit *edit, - int64_t edit_x, - int64_t edit_w, - int64_t pixmap_x, - int64_t pixmap_w); + Edit *edit, int64_t edit_x, int64_t edit_w, + int64_t pixmap_x, int64_t pixmap_w); void reset(); // Change to hourglass if timer expired void test_timer();