#include "guicast.h"
#include "language.h"
#include "pluginvclient.h"
+#include "theme.h"
#include "vframe.h"
#include <string.h>
-
-
-
+#define RESET_ALL 0
+#define RESET_ODD_OFFSET 1
+#define RESET_EVEN_OFFSET 2
class ShiftInterlaceWindow;
public:
ShiftInterlaceConfig();
- void reset();
+ void reset(int clear);
int equivalent(ShiftInterlaceConfig &that);
void copy_from(ShiftInterlaceConfig &that);
void interpolate(ShiftInterlaceConfig &prev,
ShiftInterlaceWindow *gui;
};
+class ShiftInterlaceSliderClr : public BC_Button
+{
+public:
+ ShiftInterlaceSliderClr(ShiftInterlaceMain *plugin, ShiftInterlaceWindow *gui, int x, int y, int w, int clear);
+ ~ShiftInterlaceSliderClr();
+ int handle_event();
+ ShiftInterlaceMain *plugin;
+ ShiftInterlaceWindow *gui;
+ int clear;
+};
+
class ShiftInterlaceWindow : public PluginClientWindow
{
public:
ShiftInterlaceWindow(ShiftInterlaceMain *plugin);
void create_objects();
- void update();
+ void update_gui(int clear);
ShiftInterlaceOdd *odd_offset;
ShiftInterlaceEven *even_offset;
ShiftInterlaceMain *plugin;
ShiftInterlaceReset *reset;
+ ShiftInterlaceSliderClr *odd_offsetClr, *even_offsetClr;
};