1 #ifndef RESOURCEPIXMAP_H
2 #define RESOURCEPIXMAP_H
8 #include "trackcanvas.inc"
10 class ResourcePixmap
: public BC_Pixmap
13 ResourcePixmap(MWindow
*mwindow
,
20 void resize(int w
, int h
);
21 void draw_data(Edit
*edit
,
29 void draw_audio_resource(Edit
*edit
,
32 void draw_video_resource(Edit
*edit
,
39 void draw_audio_source(Edit
*edit
, int x
, int w
);
40 void draw_title(Edit
*edit
, int64_t edit_x
, int64_t edit_w
, int64_t pixmap_x
, int64_t pixmap_w
);
42 // Change to hourglass if timer expired
49 // Visible in entire track canvas
53 int64_t edit_x
, pixmap_x
, pixmap_w
, pixmap_h
;
54 int64_t zoom_sample
, zoom_track
, zoom_y
;
56 double source_framerate
, project_framerate
;
57 int64_t source_samplerate
, project_samplerate
;
59 // Timer to cause an hourglass to appear