r668: Configure.in and autogen.sh cleanup based on ideas by giskard.
[cinelerra_cv.git] / cinelerra / canvastools.h
blob076793389e2202b2c99f82941ba05429c1010db3
1 #ifndef CANVASTOOLS_H
2 #define CANVASTOOLS_H
4 #include "edit.inc"
5 #include "guicast.h"
6 #include "mwindow.inc"
7 #include "trackcanvas.inc"
8 #include "vframe.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
18 public:
19 CanvasTool(MWindow *mwindow,
20 TrackCanvas *trackcanvas,
21 Edit *edit,
22 int x,
23 int y,
24 VFrame **data);
25 virtual ~CanvasTool();
27 int visible;
28 MWindow *mwindow;
29 TrackCanvas *trackcanvas;
30 Edit *edit;
31 int x;
32 int y;
36 class CanvasTools : public ArrayList<CanvasTool*>
38 public:
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);
47 MWindow *mwindow;
48 TrackCanvas *trackcanvas;
52 #endif