void create_objects();
int reposition(int x, int y);
int update(int x, int y);
- void synchronize_fade(float value_change);
+ void update_faders(float v);
ATrack *atrack;
AFadePatch *fade;
class AFadePatch : public BC_FSlider
{
public:
- AFadePatch(MWindow *mwindow, APatchGUI *patch, int x, int y, int w);
+ AFadePatch(APatchGUI *patch, int x, int y, int w, float v);
static FloatAuto* get_keyframe(MWindow *mwindow, APatchGUI *patch);
virtual int handle_event();
- float update_edl();
- MWindow *mwindow;
APatchGUI *patch;
};
public:
AKeyFadePatch(MWindow *mwindow, APatchGUI *patch, int x, int y);
void create_objects();
+ void update(float v);
MWindow *mwindow;
APatchGUI *patch;
- AKeyFadeValue *akey_fade_value;
+ AKeyFadeOK *akey_fade_ok;
+ AKeyFadeText *akey_fade_text;
+ AKeyFadeSlider *akey_fade_slider;
};
-class AKeyFadeValue : public AFadePatch
+class AKeyFadeOK : public BC_Button
{
public:
- AKeyFadeValue(AKeyFadePatch *akey_fade_patch);
- int button_release_event();
+ AKeyFadeOK(AKeyFadePatch *akey_fade_patch, int x, int y, VFrame **images);
+ int handle_event();
+
+ AKeyFadePatch *akey_fade_patch;
+};
+
+class AKeyFadeText : public BC_TextBox
+{
+public:
+ AKeyFadeText(AKeyFadePatch *akey_fade_patch, int x, int y, int w, float v);
+ int handle_event();
+
+ AKeyFadePatch *akey_fade_patch;
+};
+
+class AKeyFadeSlider : public AFadePatch
+{
+public:
+ AKeyFadeSlider(AKeyFadePatch *akey_fade_patch, int x, int y, int w, float v);
int handle_event();
AKeyFadePatch *akey_fade_patch;
{
public:
AKeyPanPatch(MWindow *mwindow, APatchGUI *patch);
- int button_release_event();
int handle_event();
};
APatchGUI *patch;
};
+class AMixPatch : public MixPatch
+{
+public:
+ AMixPatch(MWindow *mwindow, APatchGUI *patch, int x, int y);
+ ~AMixPatch();
+};
+
#endif