7 #include "trackcanvas.inc"
11 // This was originally supposed to give a button feel to timeline elements.
12 // It is no longer used.
16 class CanvasTool
: public BC_Button
19 CanvasTool(MWindow
*mwindow
,
20 TrackCanvas
*trackcanvas
,
25 virtual ~CanvasTool();
29 TrackCanvas
*trackcanvas
;
36 class CanvasTools
: public ArrayList
<CanvasTool
*>
39 CanvasTools(MWindow
*mwindow
,
40 TrackCanvas
*trackcanvas
);
41 virtual ~CanvasTools();
43 void decrease_visible();
44 void delete_invisible();
45 int visible(int x
, int y
, int w
, int h
);
48 TrackCanvas
*trackcanvas
;