double fade_in, fade_out;
float pixels_per_second; // Speed of motion
// Text to display
- wchar_t *wtext;
+ wchr_t *wtext;
long wsize, wlen;
// Position in frame relative to top left
float title_x, title_y;
// Time Code Format
int timecode_format;
-// drag enable
- int drag;
// loop background playback
int loop_playback;
};
// Position of each image box in a row
class TitleChar {
public:
- wchar_t wch;
+ wchr_t wch;
int typ, flags;
void *vp;
int x, y;
class TitleParser
{
- const wchar_t *bfr, *out, *lmt;
+ const wchr_t *bfr, *out, *lmt;
public:
TitleMain *plugin;
bool eof() { return out >= lmt; }
int wcur() { return eof() ? -1 : *out; }
int wnext() { return eof() ? -1 : *out++; }
- int wget(wchar_t &wch);
- int tget(wchar_t &wch);
- wchar_t wid[BCSTRLEN], wtxt[BCTEXTLEN];
+ int wget(wchr_t &wch);
+ int tget(wchr_t &wch);
+ wchr_t wid[BCSTRLEN], wtxt[BCTEXTLEN];
char id[BCSTRLEN], text[BCTEXTLEN];
int set_attributes(int ret);
// required for all realtime plugins
PLUGIN_CLASS_MEMBERS(TitleConfig)
+ void render_gui(void *data);
+ int is_dragging();
int process_realtime(VFrame *input_ptr, VFrame *output_ptr);
int is_realtime();
int is_synthesis();
void update_gui();
void save_data(KeyFrame *keyframe);
void read_data(KeyFrame *keyframe);
- void insert_text(const wchar_t *wtxt, int pos);
+ void insert_text(const wchr_t *wtxt, int pos);
void build_previews(TitleWindow *gui);
void reset_render();
int64_t last_position;
int need_reconfigure;
int cpus;
+ int drag;
};