7#ifndef HAS_LIVES_RFX_BUILDER_H
8#define HAS_LIVES_RFX_BUILDER_H
10#define EXEC_RFX_BUILDER "build-lives-rfx-plugin"
13#define RFX_VERSION "1.8.3"
16#define EXEC_RFX_BUILDER_MULTI "build-lives-rfx-plugin-multi"
19#define RFXBUILDER_SCRIPT_SUFFIX "script"
25#define MAXINTLEN strlen(lives_strdup_printf("%d", LIVES_MAXINT))
41#define RFXBUILD_MAX_REQ 128
44#define RFXBUILD_MAX_PARAMS 32
47#define RFXBUILD_MAX_PARAMW_HINTS 512
51#define RFXBUILD_MAX_TROWS 512
53#define PREF_RFXDIALOG_W ((int)(720.*widget_opts.scale))
54#define PREF_RFXDIALOG_H ((int)(650.*widget_opts.scale))
56#define RFX_LOADED (mainw->helper_procthreads[PT_LAZY_RFX] ? \
57 lives_proc_thread_check(mainw->helper_procthreads[PT_LAZY_RFX]) : FALSE)
60#define RFXBUILD_MAX_DP 16
240LiVESList *
get_script_section(
const char *section,
const char *script_file,
boolean strip);
void on_rename_rfx_activate(LiVESMenuItem *, livespointer)
#define RFXBUILD_MAX_REQ
maximum requirements
boolean script_to_rfxbuilder(rfx_build_window_t *, const char *script_file)
#define RFXBUILD_MAX_TROWS
max table rows : this should be set to the largest of the previous maxima
char * prompt_for_script_name(const char *sname, lives_rfx_status_t status)
void on_new_rfx_activate(LiVESMenuItem *, livespointer status)
void on_import_rfx_ok(LiVESButton *, livespointer status)
void on_export_rfx_ok(LiVESButton *, char *script_name)
void on_delete_rfx_activate(LiVESMenuItem *, livespointer status)
LiVESList * get_script_list(lives_rfx_status_t status)
boolean perform_rfxbuilder_checks(rfx_build_window_t *)
LiVESList * get_script_section(const char *section, const char *script_file, boolean strip)
void on_import_rfx_activate(LiVESMenuItem *, livespointer status)
boolean perform_param_checks(rfx_build_window_t *, int index, int rows)
void on_promote_rfx_activate(LiVESMenuItem *, livespointer)
void add_rfx_effects(lives_rfx_status_t status)
add dynamic menu entries
boolean rfxbuilder_to_script(rfx_build_window_t *)
@ RFX_TABLE_TYPE_PARAM_WINDOW
@ RFX_TABLE_TYPE_TRIGGERS
@ RFX_TABLE_TYPE_REQUIREMENTS
boolean check_builder_programs(void)
void on_copy_rfx_activate(LiVESMenuItem *, livespointer)
void on_edit_rfx_activate(LiVESMenuItem *, livespointer status)
#define RFXBUILD_MAX_PARAMS
maximum parameters
void on_export_rfx_activate(LiVESMenuItem *, livespointer status)
void update_rfx_menus(void)
void add_rfx_effects2(lives_rfx_status_t status)
void on_rebuild_rfx_activate(LiVESMenuItem *, livespointer)
parse text and return non empty lines between <section> and </section>
@ RFX_CODE_TYPE_STRING_LIST
LiVESWidget * spinbutton_param_min
lives_rfx_builder_mode_t mode
LiVESWidget * edit_entry_button
lives_rfx_build_type_t type
LiVESWidget * param_max_label
LiVESWidget * move_up_button
LiVESWidget * param_strdef_button
LiVESWidget * action_desc_entry
int num_triggers
upper limit is RFXBUILD_MAX_PARAMS, 0 == init
LiVESWidget * paramw_spsub_combo
LiVESWidget * loop_button
LiVESWidget * spinbutton_param_def
LiVESWidget * min_frames_label
lives_param_t * copy_params
store our parameters while editing
LiVESWidget * paramw_sp_combo
LiVESWidget * move_down_button
LiVESWidget * menu_text_entry
LiVESWidget * param_dialog
LiVESWidget * param_type_combo
LiVESWidget * action_desc_hbox
LiVESWidget * type_effect0_radiobutton
LiVESWidget * param_strdef_hbox
LiVESWidget * langc_combo
LiVESWidget * author_entry
LiVESWidget * param_wrap_hbox
lives_param_t * params
store our parameters
LiVESWidget * action_desc_hsep
LiVESWidget * new_entry_button
LiVESWidget * spinbutton_min_frames
int num_params
upper limit is RFXBUILD_MAX_PARAMS-1
LiVESWidget * hbox_batchg
LiVESWidget * spinbutton_param_group
LiVESWidget * post_button
LiVESWidget * code_textview
rfx_trigger_t * copy_triggers
store triggers while editing
LiVESWidget * type_effect2_radiobutton
lives_rfx_table_type_t table_type
LiVESWidget * paramw_rest_entry
LiVESWidget * param_min_label
LiVESWidget * type_utility_radiobutton
LiVESWidget * param_wrap_checkbutton
LiVESWidget * params_button
LiVESWidget * param_label_entry
int num_paramw_hints
upper limit is RFXBUILD_MAX_PARAMW_HINTS-1
LiVESWidget * prop_batchg
LiVESWidget * trigger_when_entry
LiVESWidget * param_window_button
LiVESWidget * type_effect1_radiobutton
LiVESWidget * paramw_kw_combo
LiVESWidget * spinbutton_param_dp
LiVESWidget * type_tool_radiobutton
LiVESWidget * properties_button
LiVESWidget * spinbutton_param_step
LiVESWidget * spinbutton_version
LiVESWidget * paramw_rest_label
LiVESWidget * requirements_button
LiVESWidget * param_def_label
LiVESWidget * trigger_button
LiVESWidget * param_name_entry
LiVESWidget * spinbutton_param_max
LiVESWidget * remove_entry_button
LiVESWidget * param_dp_label
LiVESWidget * param_strlist_hbox
lives_rfx_code_type_t codetype
LiVESWidget * param_def_combo
LiVESWidget * param_step_label