1 #ifndef RESOURCEPIXMAP_H
2 #define RESOURCEPIXMAP_H
7 #include "trackcanvas.inc"
9 class ResourcePixmap
: public BC_Pixmap
12 ResourcePixmap(MWindow
*mwindow
,
19 void resize(int w
, int h
);
20 void draw_data(Edit
*edit
,
28 void draw_audio_resource(Edit
*edit
, int x
, int w
);
29 void draw_video_resource(Edit
*edit
,
36 void draw_audio_source(Edit
*edit
, int x
, int w
);
37 void draw_title(Edit
*edit
, int64_t edit_x
, int64_t edit_w
, int64_t pixmap_x
, int64_t pixmap_w
);
44 // Visible in entire track canvas
48 int64_t edit_x
, pixmap_x
, pixmap_w
, pixmap_h
;
49 int64_t zoom_sample
, zoom_track
, zoom_y
;
51 double source_framerate
, project_framerate
;
52 int64_t source_samplerate
, project_samplerate
;