Go to the documentation of this file.
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"
22 #define MAXFLOATLEN 11
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
240 LiVESList *
get_script_section(
const char *section,
const char *script_file,
boolean strip);
242 #endif // HAS_LIVES_RFX_BUILDER_H
void on_import_rfx_ok(LiVESButton *, livespointer status)
LiVESWidget * spinbutton_param_max
LiVESWidget * param_window_button
LiVESList * get_script_section(const char *section, const char *script_file, boolean strip)
lives_param_t * copy_params
store our parameters while editing
LiVESWidget * trigger_button
LiVESWidget * spinbutton_param_min
LiVESWidget * paramw_kw_combo
rfx_trigger_t * copy_triggers
store triggers while editing
LiVESWidget * hbox_batchg
boolean perform_rfxbuilder_checks(rfx_build_window_t *)
LiVESWidget * type_utility_radiobutton
LiVESWidget * remove_entry_button
void on_import_rfx_activate(LiVESMenuItem *, livespointer status)
LiVESWidget * type_effect0_radiobutton
LiVESWidget * param_name_entry
LiVESWidget * param_strdef_button
LiVESWidget * param_label_entry
LiVESWidget * spinbutton_param_dp
void on_promote_rfx_activate(LiVESMenuItem *, livespointer)
LiVESWidget * properties_button
LiVESWidget * spinbutton_param_group
LiVESWidget * post_button
LiVESWidget * paramw_rest_entry
LiVESWidget * param_step_label
LiVESWidget * paramw_rest_label
LiVESWidget * param_type_combo
lives_rfx_builder_mode_t mode
LiVESWidget * spinbutton_param_def
LiVESWidget * spinbutton_param_step
LiVESWidget * param_def_combo
#define RFXBUILD_MAX_TROWS
max table rows : this should be set to the largest of the previous maxima
LiVESWidget * spinbutton_min_frames
LiVESWidget * min_frames_label
LiVESWidget * edit_entry_button
LiVESWidget * action_desc_entry
void on_copy_rfx_activate(LiVESMenuItem *, livespointer)
LiVESWidget * trigger_when_entry
@ RFX_CODE_TYPE_STRING_LIST
boolean script_to_rfxbuilder(rfx_build_window_t *, const char *script_file)
LiVESWidget * params_button
#define RFXBUILD_MAX_PARAMS
maximum parameters
LiVESWidget * langc_combo
lives_rfx_code_type_t codetype
#define RFXBUILD_MAX_REQ
maximum requirements
LiVESWidget * prop_batchg
LiVESWidget * param_dialog
LiVESWidget * paramw_spsub_combo
void on_export_rfx_activate(LiVESMenuItem *, livespointer status)
void on_delete_rfx_activate(LiVESMenuItem *, livespointer status)
LiVESWidget * move_up_button
lives_rfx_build_type_t type
LiVESWidget * spinbutton_version
char * prompt_for_script_name(const char *sname, lives_rfx_status_t status)
void on_edit_rfx_activate(LiVESMenuItem *, livespointer status)
LiVESWidget * param_strlist_hbox
boolean rfxbuilder_to_script(rfx_build_window_t *)
int num_triggers
upper limit is RFXBUILD_MAX_PARAMS, 0 == init
void add_rfx_effects2(lives_rfx_status_t status)
LiVESWidget * paramw_sp_combo
LiVESWidget * param_wrap_checkbutton
LiVESWidget * param_strdef_hbox
LiVESWidget * action_desc_hsep
LiVESWidget * action_desc_hbox
LiVESWidget * move_down_button
LiVESWidget * param_def_label
lives_param_t * params
store our parameters
LiVESWidget * new_entry_button
void on_rebuild_rfx_activate(LiVESMenuItem *, livespointer)
parse text and return non empty lines between <section> and </section>
lives_rfx_table_type_t table_type
int num_paramw_hints
upper limit is RFXBUILD_MAX_PARAMW_HINTS-1
void add_rfx_effects(lives_rfx_status_t status)
add dynamic menu entries
void on_rename_rfx_activate(LiVESMenuItem *, livespointer)
LiVESWidget * type_effect2_radiobutton
LiVESWidget * loop_button
@ RFX_TABLE_TYPE_REQUIREMENTS
void update_rfx_menus(void)
@ RFX_TABLE_TYPE_TRIGGERS
LiVESWidget * param_min_label
void on_new_rfx_activate(LiVESMenuItem *, livespointer status)
void on_export_rfx_ok(LiVESButton *, char *script_name)
LiVESWidget * author_entry
LiVESWidget * type_tool_radiobutton
LiVESWidget * code_textview
LiVESWidget * param_wrap_hbox
LiVESWidget * param_dp_label
LiVESList * get_script_list(lives_rfx_status_t status)
boolean perform_param_checks(rfx_build_window_t *, int index, int rows)
int num_params
upper limit is RFXBUILD_MAX_PARAMS-1
@ RFX_TABLE_TYPE_PARAM_WINDOW
LiVESWidget * menu_text_entry
LiVESWidget * requirements_button
LiVESWidget * param_max_label
LiVESWidget * type_effect1_radiobutton
boolean check_builder_programs(void)