r1006: configure: Use libx264_pic instead of libx264 if available.
[cinelerra_cv/mob.git] / cinelerra / apatchgui.h
blob257f2aa6d2285c53e3c68008e469457508e5f896
1 #ifndef APATCHGUI_H
2 #define APATCHGUI_H
4 #include "apatchgui.inc"
5 #include "atrack.inc"
6 #include "floatauto.inc"
7 #include "guicast.h"
8 #include "panauto.inc"
9 #include "patchgui.h"
11 class AFadePatch;
12 class APanPatch;
13 class AMeterPatch;
15 class APatchGUI : public PatchGUI
17 public:
18 APatchGUI(MWindow *mwindow, PatchBay *patchbay, ATrack *track, int x, int y);
19 ~APatchGUI();
21 int create_objects();
22 int reposition(int x, int y);
23 int update(int x, int y);
24 void synchronize_fade(float value_change);
26 ATrack *atrack;
27 AFadePatch *fade;
28 APanPatch *pan;
29 AMeterPatch *meter;
32 class AFadePatch : public BC_FSlider
34 public:
35 AFadePatch(MWindow *mwindow, APatchGUI *patch, int x, int y, int w);
36 static FloatAuto* get_keyframe(MWindow *mwindow, APatchGUI *patch);
37 int handle_event();
38 float update_edl();
39 MWindow *mwindow;
40 APatchGUI *patch;
43 class APanPatch : public BC_Pan
45 public:
46 APanPatch(MWindow *mwindow, APatchGUI *patch, int x, int y);
47 static PanAuto* get_keyframe(MWindow *mwindow, APatchGUI *patch);
48 int handle_event();
49 MWindow *mwindow;
50 APatchGUI *patch;
53 class AMeterPatch : public BC_Meter
55 public:
56 AMeterPatch(MWindow *mwindow, APatchGUI *patch, int x, int y);
57 int button_press_event();
58 MWindow *mwindow;
59 APatchGUI *patch;
63 #endif