Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / edithandles.h
blob691b49d6b8e0360c9ddcf87c57e745090614e7b6
1 #ifndef EDITHANDLES_H
2 #define EDITHANDLES_H
4 #include "canvastools.h"
5 #include "edit.inc"
6 #include "guicast.h"
7 #include "mwindow.inc"
8 #include "trackcanvas.inc"
10 class EditHandle : public CanvasTool
12 public:
13 EditHandle(MWindow *mwindow,
14 TrackCanvas *trackcanvas,
15 Edit *edit,
16 int side,
17 int x,
18 int y);
19 virtual ~EditHandle();
21 virtual int handle_event();
22 int side;
25 class EditHandleIn : public EditHandle
27 public:
28 EditHandleIn(MWindow *mwindow,
29 TrackCanvas *trackcanvas,
30 Edit *edit,
31 int x,
32 int y);
33 virtual ~EditHandleIn();
35 virtual int handle_event();
36 int side;
39 class EditHandleOut : public EditHandle
41 public:
42 EditHandleOut(MWindow *mwindow,
43 TrackCanvas *trackcanvas,
44 Edit *edit,
45 int x,
46 int y);
47 virtual ~EditHandleOut();
49 virtual int handle_event();
50 int side;
53 class EditHandles : public CanvasTools
55 public:
56 EditHandles(MWindow *mwindow,
57 TrackCanvas *trackcanvas);
58 ~EditHandles();
60 void update();
63 #endif
65 // Local Variables:
66 // mode: C++
67 // c-file-style: "linux"
68 // End: