LiVES 2.4.6

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
rfx-builder.h
Go to the documentation of this file.
1 // rfx-builder.h
2 // LiVES
3 // (c) G. Finch 2004 - 2015 <salsaman@gmail.com>
4 // released under the GNU GPL 3 or later
5 // see file ../COPYING or www.gnu.org for licensing details
6
7 #ifndef HAS_LIVES_RFX_BUILDER_H
8 #define HAS_LIVES_RFX_BUILDER_H
9
10
11 #define RFX_BUILDER "build-lives-rfx-plugin"
12
14 #define RFX_VERSION "1.8"
15
17 #define RFX_BUILDER_MULTI "build-lives-rfx-plugin-multi"
18
20 #define RFXBUILDER_SCRIPT_SUFFIX "script"
21
23 #define MAXFLOATLEN 11
24
26 #define MAXINTLEN strlen(lives_strdup_printf("%d",LIVES_MAXINT))
27
28 // advanced menu entries
29 void on_new_rfx_activate(LiVESMenuItem *, livespointer status);
30 void on_edit_rfx_activate(LiVESMenuItem *, livespointer status);
31 void on_copy_rfx_activate(LiVESMenuItem *, livespointer);
32 void on_rename_rfx_activate(LiVESMenuItem *, livespointer);
33 void on_delete_rfx_activate(LiVESMenuItem *, livespointer status);
34 void on_rebuild_rfx_activate(LiVESMenuItem *, livespointer);
35 void on_promote_rfx_activate(LiVESMenuItem *, livespointer);
36 void on_import_rfx_activate(LiVESMenuItem *, livespointer status);
37 void on_export_rfx_activate(LiVESMenuItem *, livespointer status);
38
39 // the builder window
40
42 #define RFXBUILD_MAX_REQ 128
43
45 #define RFXBUILD_MAX_PARAMS 32
46
48 #define RFXBUILD_MAX_PARAMW_HINTS 512
49
52 #define RFXBUILD_MAX_TROWS 512
53
54
55 #define PREF_RFXDIALOG_W ((int)(800.*widget_opts.scale))
56 #define PREF_RFXDIALOG_H ((int)(650.*widget_opts.scale))
57
58 #define WINH_SAFETY
59
61 #define RFXBUILD_MAX_DP 16
62 typedef struct {
63 int when;
64 char *code;
65 } rfx_trigger_t;
66
67
68
69 typedef enum {
70 RFX_BUILD_TYPE_EFFECT1,
71 RFX_BUILD_TYPE_EFFECT2,
72 RFX_BUILD_TYPE_EFFECT0,
73 RFX_BUILD_TYPE_TOOL,
74 RFX_BUILD_TYPE_UTILITY
75 } lives_rfx_build_type_t;
76
77
78 typedef enum {
79 RFX_TABLE_TYPE_REQUIREMENTS,
80 RFX_TABLE_TYPE_PARAMS,
81 RFX_TABLE_TYPE_TRIGGERS,
82 RFX_TABLE_TYPE_PARAM_WINDOW
83 } lives_rfx_table_type_t;
84
85
86 typedef enum {
87 RFX_CODE_TYPE_PRE,
88 RFX_CODE_TYPE_LOOP,
89 RFX_CODE_TYPE_POST,
90 RFX_CODE_TYPE_STRDEF,
91 RFX_CODE_TYPE_STRING_LIST
92 } lives_rfx_code_type_t;
93
94
95 typedef enum {
96 RFX_BUILDER_MODE_NEW=0,
97 RFX_BUILDER_MODE_EDIT,
98 RFX_BUILDER_MODE_COPY
99 } lives_rfx_builder_mode_t;
100
101
102
103 typedef struct {
104 lives_rfx_build_type_t type;
105
106 LiVESWidget *dialog;
107 LiVESWidget *name_entry;
108 LiVESWidget *spinbutton_version;
109 LiVESWidget *author_entry;
110 LiVESWidget *url_entry;
111 LiVESWidget *menu_text_entry;
112 LiVESWidget *action_desc_hbox;
113 LiVESWidget *action_desc_entry;
114 LiVESWidget *action_desc_hsep;
115 LiVESWidget *spinbutton_min_frames;
116 LiVESWidget *type_effect1_radiobutton;
117 LiVESWidget *type_effect2_radiobutton;
118 LiVESWidget *type_effect0_radiobutton;
119 LiVESWidget *type_tool_radiobutton;
120 LiVESWidget *type_utility_radiobutton;
121 LiVESWidget *langc_combo;
122 LiVESWidget *table;
123 LiVESWidget *requirements_button;
124 LiVESWidget *properties_button;
125 LiVESWidget *params_button;
126 LiVESWidget *param_window_button;
127 LiVESWidget *pre_button;
128 LiVESWidget *loop_button;
129 LiVESWidget *post_button;
130 LiVESWidget *trigger_button;
131 LiVESWidget *prop_slow;
132 LiVESWidget *prop_batchg;
133 LiVESWidget *hbox_batchg;
134 LiVESWidget *min_frames_label;
135
136 lives_rfx_table_type_t table_type;
137
138 int table_rows;
139
140 lives_rfx_code_type_t codetype;
141
142 LiVESWidget *entry[RFXBUILD_MAX_TROWS];
143 LiVESWidget *entry2[RFXBUILD_MAX_TROWS];
144 LiVESWidget *entry3[RFXBUILD_MAX_TROWS];
145 LiVESWidget *param_dialog;
146 LiVESWidget *param_name_entry;
147 LiVESWidget *param_label_entry;
148 LiVESWidget *param_type_combo;
149 LiVESWidget *param_dp_label;
150 LiVESWidget *param_def_label;
151 LiVESWidget *param_min_label;
152 LiVESWidget *param_max_label;
153 LiVESWidget *param_step_label;
154 LiVESWidget *param_wrap_hbox;
155 LiVESWidget *param_wrap_checkbutton;
156 LiVESWidget *param_strlist_hbox;
157 LiVESWidget *param_def_combo;
158 LiVESWidget *paramw_rest_entry;
159 LiVESWidget *paramw_kw_combo;
160 LiVESWidget *paramw_sp_combo;
161 LiVESWidget *paramw_spsub_combo;
162 LiVESWidget *paramw_rest_label;
163 LiVESWidget *hbox_bg;
164 LiVESWidget *param_strdef_button;
165 LiVESWidget *param_strdef_hbox;
166 LiVESWidget *trigger_when_entry;
167 LiVESWidget *spinbutton_param_dp;
168 LiVESWidget *spinbutton_param_group;
169 LiVESWidget *spinbutton_param_def;
170 LiVESWidget *spinbutton_param_min;
171 LiVESWidget *spinbutton_param_max;
172 LiVESWidget *spinbutton_param_step;
173 LiVESWidget *code_textview;
174 LiVESWidget *new_entry_button;
175 LiVESWidget *edit_entry_button;
176 LiVESWidget *remove_entry_button;
177 LiVESWidget *move_up_button;
178 LiVESWidget *move_down_button;
179
180 uint32_t props;
181
182 char *pre_code;
183 char *loop_code;
184 char *post_code;
185
186 int edit_param;
187
188 char *reqs[RFXBUILD_MAX_REQ];
189 int num_reqs;
190 int onum_reqs;
191
192 lives_param_t *params;
193 lives_param_t *copy_params;
194 int num_params;
195 int onum_params;
196
197 char *paramw_hints[RFXBUILD_MAX_PARAMS];
198 int num_paramw_hints;
199 int onum_paramw_hints;
200
201 rfx_trigger_t *triggers;
202 rfx_trigger_t *copy_triggers;
203 int num_triggers;
204 int onum_triggers;
205
206 boolean has_init_trigger;
207
208 char *field_delim;
209
210 lives_rfx_builder_mode_t mode;
211
212 int table_swap_row1;
213 int table_swap_row2;
214
215 char *script_name;
216 char *oname;
217
218 ulong min_spin_f;
219 ulong max_spin_f;
220 ulong def_spin_f;
221 ulong step_spin_f;
222
223 char *rfx_version;
224 int plugin_version;
225
226 } rfx_build_window_t;
227
228 // builder window widgets/callbacks
229 rfx_build_window_t *make_rfx_build_window(const char *in_script_name, lives_rfx_status_t in_status);
230 void on_rfxbuilder_ok(LiVESButton *, livespointer);
231 void on_rfxbuilder_cancel(LiVESButton *, livespointer);
232 void rfxbuilder_destroy(rfx_build_window_t *);
233 void on_list_table_clicked(LiVESButton *, livespointer rfxbuilder);
234 void on_requirements_ok(LiVESButton *, livespointer rfxbuilder);
235 void on_requirements_cancel(LiVESButton *, livespointer);
236 void on_properties_clicked(LiVESButton *, livespointer rfxbuilder);
237 void on_properties_ok(LiVESButton *, livespointer rfxbuilder);
238 void on_params_ok(LiVESButton *, livespointer rfxbuilder);
239 void on_params_cancel(LiVESButton *, livespointer);
240 void on_param_window_ok(LiVESButton *, livespointer rfxbuilder);
241 void on_param_window_cancel(LiVESButton *, livespointer);
242 void on_code_clicked(LiVESButton *, livespointer rfxbuilder);
243 void on_code_ok(LiVESButton *, livespointer rfxbuilder);
244 void on_code_cancel(LiVESButton *, livespointer);
245 void on_triggers_ok(LiVESButton *, livespointer rfxbuilder);
246 void on_triggers_cancel(LiVESButton *, livespointer);
247
248
249
250
251 LiVESWidget *make_param_dialog(int pnum, rfx_build_window_t *rfxbuilder);
252 LiVESWidget *make_param_window_dialog(int hnum, rfx_build_window_t *rfxbuilder);
253 LiVESWidget *make_trigger_dialog(int tnum, rfx_build_window_t *rfxbuilder);
254
255 void on_table_add_row(LiVESButton *, livespointer rfxbuilder);
256 void on_table_edit_row(LiVESButton *, livespointer rfxbuilder);
257 void on_table_swap_row(LiVESButton *, livespointer rfxbuilder);
258 void on_table_delete_row(LiVESButton *, livespointer rfxbuilder);
259
260 void param_set_from_dialog(lives_param_t *copy_param, rfx_build_window_t *rfxbuilder);
261
262 void after_param_dp_changed(LiVESSpinButton *, livespointer rfxbuilder);
263 void after_param_min_changed(LiVESSpinButton *, livespointer rfxbuilder);
264 void after_param_max_changed(LiVESSpinButton *, livespointer rfxbuilder);
265 void after_param_def_changed(LiVESSpinButton *, livespointer rfxbuilder);
266 void after_rfxbuilder_type_toggled(LiVESToggleButton *, livespointer rfxbuilder);
267 void on_param_type_changed(LiVESCombo *, livespointer rfxbuilder);
268 void on_paramw_kw_changed(LiVESCombo *, livespointer rfxbuilder);
269 void on_paramw_sp_changed(LiVESCombo *, livespointer rfxbuilder);
270 void on_paramw_spsub_changed(LiVESCombo *, livespointer rfxbuilder);
271 void populate_script_combo(LiVESCombo *script_combo, lives_rfx_status_t status);
272 void on_script_status_changed(LiVESCombo *status_combo, livespointer script_combo);
273
274 // fileselectors
275 void on_export_rfx_ok(LiVESButton *, char *script_name);
276 void on_import_rfx_ok(LiVESButton *, livespointer status);
277
279 void add_rfx_effects(void);
280
281 // utility functions
282 char *prompt_for_script_name(const char *sname, lives_rfx_status_t status);
283 boolean check_builder_programs(void);
284 LiVESList *get_script_list(short status);
285
286 boolean perform_rfxbuilder_checks(rfx_build_window_t *);
287 boolean perform_param_checks(rfx_build_window_t *, int index, int rows);
288
289
290 // read/write script files
291 boolean rfxbuilder_to_script(rfx_build_window_t *);
292 boolean script_to_rfxbuilder(rfx_build_window_t *, const char *script_file);
293
294 LiVESList *get_script_section(const char *section, const char *script_file, boolean strip);
295
296 #endif // HAS_LIVES_RFX_BUILDER_H
lives_rfx_build_type_t
lives_rfx_build_type_t
Definition: rfx-builder.h:69
rfx_build_window_t::table_type
lives_rfx_table_type_t table_type
Definition: rfx-builder.h:136
RFXBUILD_MAX_TROWS
#define RFXBUILD_MAX_TROWS
Definition: rfx-builder.h:52
on_copy_rfx_activate
void on_copy_rfx_activate(LiVESMenuItem *menuitem, livespointer user_data)
Definition: rfx-builder.c:54
rfx_build_window_t::author_entry
LiVESWidget * author_entry
Definition: rfx-builder.h:109
perform_param_checks
boolean perform_param_checks(rfx_build_window_t *rfxbuilder, int index, int rows)
Definition: rfx-builder.c:3041
rfx_build_window_t::action_desc_hsep
LiVESWidget * action_desc_hsep
Definition: rfx-builder.h:114
on_code_cancel
void on_code_cancel(LiVESButton *, livespointer)
rfx_build_window_t::param_strlist_hbox
LiVESWidget * param_strlist_hbox
Definition: rfx-builder.h:156
rfx_build_window_t::spinbutton_param_def
LiVESWidget * spinbutton_param_def
Definition: rfx-builder.h:169
rfx_build_window_t::spinbutton_param_step
LiVESWidget * spinbutton_param_step
Definition: rfx-builder.h:172
rfx_build_window_t::pre_button
LiVESWidget * pre_button
Definition: rfx-builder.h:127
RFX_TABLE_TYPE_TRIGGERS
Definition: rfx-builder.h:81
RFX_BUILD_TYPE_UTILITY
Definition: rfx-builder.h:74
RFX_BUILD_TYPE_EFFECT0
Definition: rfx-builder.h:72
RFXBUILD_MAX_PARAMS
#define RFXBUILD_MAX_PARAMS
maximum parameters
Definition: rfx-builder.h:45
rfx_build_window_t::param_wrap_hbox
LiVESWidget * param_wrap_hbox
Definition: rfx-builder.h:154
make_param_dialog
LiVESWidget * make_param_dialog(int pnum, rfx_build_window_t *rfxbuilder)
Definition: rfx-builder.c:1934
RFX_BUILD_TYPE_EFFECT2
Definition: rfx-builder.h:71
rfx_trigger_t::when
int when
Definition: rfx-builder.h:63
on_code_ok
void on_code_ok(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:835
rfx_build_window_t::new_entry_button
LiVESWidget * new_entry_button
Definition: rfx-builder.h:174
on_import_rfx_ok
void on_import_rfx_ok(LiVESButton *, livespointer status)
rfx_build_window_t::paramw_spsub_combo
LiVESWidget * paramw_spsub_combo
Definition: rfx-builder.h:161
on_params_cancel
void on_params_cancel(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:793
on_import_rfx_activate
void on_import_rfx_activate(LiVESMenuItem *menuitem, livespointer user_data)
Definition: rfx-builder.c:4010
rfx_build_window_t::param_def_label
LiVESWidget * param_def_label
Definition: rfx-builder.h:150
rfx_build_window_t::type_tool_radiobutton
LiVESWidget * type_tool_radiobutton
Definition: rfx-builder.h:119
on_param_window_ok
void on_param_window_ok(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:813
on_properties_ok
void on_properties_ok(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:739
RFXBUILD_MAX_REQ
#define RFXBUILD_MAX_REQ
maximum requirements
Definition: rfx-builder.h:42
script_to_rfxbuilder
boolean script_to_rfxbuilder(rfx_build_window_t *rfxbuilder, const char *script_file)
Definition: rfx-builder.c:3387
rfx_build_window_t::params
lives_param_t * params
store our parameters
Definition: rfx-builder.h:192
on_delete_rfx_activate
void on_delete_rfx_activate(LiVESMenuItem *menuitem, livespointer user_data)
Definition: rfx-builder.c:3838
RFX_BUILD_TYPE_EFFECT1
Definition: rfx-builder.h:70
rfx_build_window_t::def_spin_f
ulong def_spin_f
Definition: rfx-builder.h:220
rfx_build_window_t::copy_params
lives_param_t * copy_params
store our parameters while editing
Definition: rfx-builder.h:193
on_promote_rfx_activate
void on_promote_rfx_activate(LiVESMenuItem *menuitem, livespointer user_data)
Definition: rfx-builder.c:3905
rfx_build_window_t::num_params
int num_params
upper limit is RFXBUILD_MAX_PARAMS-1
Definition: rfx-builder.h:194
lives_rfx_code_type_t
lives_rfx_code_type_t
Definition: rfx-builder.h:86
rfx_build_window_t::spinbutton_param_min
LiVESWidget * spinbutton_param_min
Definition: rfx-builder.h:170
rfx_build_window_t::trigger_button
LiVESWidget * trigger_button
Definition: rfx-builder.h:130
rfx_build_window_t::loop_code
char * loop_code
Definition: rfx-builder.h:183
rfx_build_window_t::onum_reqs
int onum_reqs
Definition: rfx-builder.h:190
rfx_build_window_t::code_textview
LiVESWidget * code_textview
Definition: rfx-builder.h:173
rfx_build_window_t::url_entry
LiVESWidget * url_entry
Definition: rfx-builder.h:110
on_params_ok
void on_params_ok(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:759
rfx_build_window_t::copy_triggers
rfx_trigger_t * copy_triggers
store triggers while editing
Definition: rfx-builder.h:202
rfx_build_window_t::has_init_trigger
boolean has_init_trigger
Definition: rfx-builder.h:206
RFX_CODE_TYPE_STRDEF
Definition: rfx-builder.h:90
rfx_build_window_t::spinbutton_param_max
LiVESWidget * spinbutton_param_max
Definition: rfx-builder.h:171
on_param_window_cancel
void on_param_window_cancel(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:828
get_script_list
LiVESList * get_script_list(short status)
Definition: rfx-builder.c:4349
add_rfx_effects
void add_rfx_effects(void)
add dynamic menu entries
Definition: rfx-builder.c:4370
rfxbuilder_to_script
boolean rfxbuilder_to_script(rfx_build_window_t *rfxbuilder)
Definition: rfx-builder.c:3059
on_param_type_changed
void on_param_type_changed(LiVESCombo *param_type_combo, livespointer user_data)
Definition: rfx-builder.c:2362
RFX_TABLE_TYPE_PARAMS
Definition: rfx-builder.h:80
on_paramw_sp_changed
void on_paramw_sp_changed(LiVESCombo *combo, livespointer user_data)
Definition: rfx-builder.c:2658
get_script_section
LiVESList * get_script_section(const char *section, const char *file, boolean strip)
Definition: rfx-builder.c:3710
rfx_build_window_t::menu_text_entry
LiVESWidget * menu_text_entry
Definition: rfx-builder.h:111
rfx_build_window_t::requirements_button
LiVESWidget * requirements_button
Definition: rfx-builder.h:123
after_param_min_changed
void after_param_min_changed(LiVESSpinButton *spinbutton, livespointer user_data)
Definition: rfx-builder.c:2234
rfx_build_window_t::dialog
LiVESWidget * dialog
Definition: rfx-builder.h:106
rfx_build_window_t::edit_param
int edit_param
Definition: rfx-builder.h:186
rfx_build_window_t::props
uint32_t props
Definition: rfx-builder.h:180
rfx_trigger_t
Definition: rfx-builder.h:62
on_triggers_cancel
void on_triggers_cancel(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:923
rfx_build_window_t::param_def_combo
LiVESWidget * param_def_combo
Definition: rfx-builder.h:157
rfx_build_window_t::step_spin_f
ulong step_spin_f
Definition: rfx-builder.h:221
rfx_build_window_t::param_dp_label
LiVESWidget * param_dp_label
Definition: rfx-builder.h:149
rfx_build_window_t::spinbutton_min_frames
LiVESWidget * spinbutton_min_frames
Definition: rfx-builder.h:115
rfx_build_window_t::hbox_batchg
LiVESWidget * hbox_batchg
Definition: rfx-builder.h:133
perform_rfxbuilder_checks
boolean perform_rfxbuilder_checks(rfx_build_window_t *rfxbuilder)
Definition: rfx-builder.c:2985
rfx_build_window_t::paramw_sp_combo
LiVESWidget * paramw_sp_combo
Definition: rfx-builder.h:160
RFX_TABLE_TYPE_PARAM_WINDOW
Definition: rfx-builder.h:82
rfx_build_window_t::param_wrap_checkbutton
LiVESWidget * param_wrap_checkbutton
Definition: rfx-builder.h:155
rfx_build_window_t::param_min_label
LiVESWidget * param_min_label
Definition: rfx-builder.h:151
rfx_build_window_t::type_utility_radiobutton
LiVESWidget * type_utility_radiobutton
Definition: rfx-builder.h:120
rfx_build_window_t::oname
char * oname
Definition: rfx-builder.h:216
rfx_build_window_t::table
LiVESWidget * table
Definition: rfx-builder.h:122
rfx_build_window_t::post_code
char * post_code
Definition: rfx-builder.h:184
lives_rfx_status_t
lives_rfx_status_t
Definition: plugins.h:465
rfx_build_window_t::type_effect0_radiobutton
LiVESWidget * type_effect0_radiobutton
Definition: rfx-builder.h:118
rfx_build_window_t::onum_triggers
int onum_triggers
Definition: rfx-builder.h:204
rfx_build_window_t::type_effect2_radiobutton
LiVESWidget * type_effect2_radiobutton
Definition: rfx-builder.h:117
rfx_build_window_t::param_type_combo
LiVESWidget * param_type_combo
Definition: rfx-builder.h:148
rfx_build_window_t::edit_entry_button
LiVESWidget * edit_entry_button
Definition: rfx-builder.h:175
rfx_build_window_t::mode
lives_rfx_builder_mode_t mode
Definition: rfx-builder.h:210
rfx_build_window_t::action_desc_entry
LiVESWidget * action_desc_entry
Definition: rfx-builder.h:113
RFX_CODE_TYPE_LOOP
Definition: rfx-builder.h:88
rfx_build_window_t::type_effect1_radiobutton
LiVESWidget * type_effect1_radiobutton
Definition: rfx-builder.h:116
on_export_rfx_ok
void on_export_rfx_ok(LiVESButton *, char *script_name)
on_table_swap_row
void on_table_swap_row(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:1654
on_rebuild_rfx_activate
void on_rebuild_rfx_activate(LiVESMenuItem *menuitem, livespointer user_data)
Definition: rfx-builder.c:3769
lives_rfx_table_type_t
lives_rfx_table_type_t
Definition: rfx-builder.h:78
rfx_build_window_t::paramw_rest_entry
LiVESWidget * paramw_rest_entry
Definition: rfx-builder.h:158
rfx_build_window_t::langc_combo
LiVESWidget * langc_combo
Definition: rfx-builder.h:121
rfx_build_window_t::max_spin_f
ulong max_spin_f
Definition: rfx-builder.h:219
lives_param_t
Definition: plugins.h:401
on_new_rfx_activate
void on_new_rfx_activate(LiVESMenuItem *menuitem, livespointer user_data)
Definition: rfx-builder.c:22
rfx_build_window_t::num_paramw_hints
int num_paramw_hints
upper limit is RFXBUILD_MAX_PARAMW_HINTS-1
Definition: rfx-builder.h:198
on_requirements_cancel
void on_requirements_cancel(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:732
rfx_build_window_t::param_step_label
LiVESWidget * param_step_label
Definition: rfx-builder.h:153
rfx_build_window_t::num_reqs
int num_reqs
Definition: rfx-builder.h:189
after_param_def_changed
void after_param_def_changed(LiVESSpinButton *spinbutton, livespointer user_data)
Definition: rfx-builder.c:2333
RFX_TABLE_TYPE_REQUIREMENTS
Definition: rfx-builder.h:79
on_rename_rfx_activate
void on_rename_rfx_activate(LiVESMenuItem *menuitem, livespointer user_data)
Definition: rfx-builder.c:68
RFX_BUILDER_MODE_EDIT
Definition: rfx-builder.h:97
rfx_build_window_t::table_rows
int table_rows
Definition: rfx-builder.h:138
rfx_build_window_t::table_swap_row2
int table_swap_row2
Definition: rfx-builder.h:213
ulong
#define ulong
Definition: main.h:148
lives_rfx_builder_mode_t
lives_rfx_builder_mode_t
Definition: rfx-builder.h:95
on_edit_rfx_activate
void on_edit_rfx_activate(LiVESMenuItem *menuitem, livespointer user_data)
Definition: rfx-builder.c:30
make_rfx_build_window
rfx_build_window_t * make_rfx_build_window(const char *script_name, lives_rfx_status_t status)
Definition: rfx-builder.c:80
on_properties_clicked
void on_properties_clicked(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:971
rfx_build_window_t::script_name
char * script_name
Definition: rfx-builder.h:215
rfx_build_window_t::post_button
LiVESWidget * post_button
Definition: rfx-builder.h:129
on_export_rfx_activate
void on_export_rfx_activate(LiVESMenuItem *menuitem, livespointer user_data)
Definition: rfx-builder.c:3974
RFX_CODE_TYPE_STRING_LIST
Definition: rfx-builder.h:91
rfx_build_window_t::param_dialog
LiVESWidget * param_dialog
Definition: rfx-builder.h:145
rfx_build_window_t::type
lives_rfx_build_type_t type
Definition: rfx-builder.h:104
on_paramw_kw_changed
void on_paramw_kw_changed(LiVESCombo *combo, livespointer user_data)
Definition: rfx-builder.c:2638
rfx_build_window_t::paramw_kw_combo
LiVESWidget * paramw_kw_combo
Definition: rfx-builder.h:159
on_table_edit_row
void on_table_edit_row(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:1535
rfx_build_window_t::param_max_label
LiVESWidget * param_max_label
Definition: rfx-builder.h:152
rfx_build_window_t::rfx_version
char * rfx_version
Definition: rfx-builder.h:223
rfxbuilder_destroy
void rfxbuilder_destroy(rfx_build_window_t *rfxbuilder)
Definition: rfx-builder.c:2940
RFX_BUILD_TYPE_TOOL
Definition: rfx-builder.h:73
on_code_clicked
void on_code_clicked(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:2788
rfx_build_window_t::trigger_when_entry
LiVESWidget * trigger_when_entry
Definition: rfx-builder.h:166
RFX_BUILDER_MODE_NEW
Definition: rfx-builder.h:96
rfx_build_window_t::param_label_entry
LiVESWidget * param_label_entry
Definition: rfx-builder.h:147
rfx_build_window_t::spinbutton_param_dp
LiVESWidget * spinbutton_param_dp
Definition: rfx-builder.h:167
after_rfxbuilder_type_toggled
void after_rfxbuilder_type_toggled(LiVESToggleButton *togglebutton, livespointer user_data)
Definition: rfx-builder.c:458
rfx_build_window_t::spinbutton_param_group
LiVESWidget * spinbutton_param_group
Definition: rfx-builder.h:168
RFX_BUILDER_MODE_COPY
Definition: rfx-builder.h:98
rfx_build_window_t::properties_button
LiVESWidget * properties_button
Definition: rfx-builder.h:124
rfx_build_window_t::triggers
rfx_trigger_t * triggers
Definition: rfx-builder.h:201
rfx_build_window_t::min_spin_f
ulong min_spin_f
Definition: rfx-builder.h:218
rfx_build_window_t::min_frames_label
LiVESWidget * min_frames_label
Definition: rfx-builder.h:134
prompt_for_script_name
char * prompt_for_script_name(const char *sname, lives_rfx_status_t status)
Definition: rfx-builder.c:4090
on_rfxbuilder_cancel
void on_rfxbuilder_cancel(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:2931
on_table_delete_row
void on_table_delete_row(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:1702
rfx_build_window_t::field_delim
char * field_delim
Definition: rfx-builder.h:208
after_param_max_changed
void after_param_max_changed(LiVESSpinButton *spinbutton, livespointer user_data)
Definition: rfx-builder.c:2284
make_trigger_dialog
LiVESWidget * make_trigger_dialog(int tnum, rfx_build_window_t *rfxbuilder)
Definition: rfx-builder.c:2702
rfx_build_window_t::prop_slow
LiVESWidget * prop_slow
Definition: rfx-builder.h:131
rfx_trigger_t::code
char * code
Definition: rfx-builder.h:64
rfx_build_window_t::action_desc_hbox
LiVESWidget * action_desc_hbox
Definition: rfx-builder.h:112
rfx_build_window_t::param_strdef_button
LiVESWidget * param_strdef_button
Definition: rfx-builder.h:164
on_paramw_spsub_changed
void on_paramw_spsub_changed(LiVESCombo *combo, livespointer user_data)
Definition: rfx-builder.c:2683
on_rfxbuilder_ok
void on_rfxbuilder_ok(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:2921
rfx_build_window_t::param_window_button
LiVESWidget * param_window_button
Definition: rfx-builder.h:126
rfx_build_window_t::remove_entry_button
LiVESWidget * remove_entry_button
Definition: rfx-builder.h:176
rfx_build_window_t::num_triggers
int num_triggers
upper limit is RFXBUILD_MAX_PARAMS, 0 == init
Definition: rfx-builder.h:203
rfx_build_window_t::name_entry
LiVESWidget * name_entry
Definition: rfx-builder.h:107
rfx_build_window_t::codetype
lives_rfx_code_type_t codetype
Definition: rfx-builder.h:140
rfx_build_window_t::prop_batchg
LiVESWidget * prop_batchg
Definition: rfx-builder.h:132
RFX_CODE_TYPE_POST
Definition: rfx-builder.h:89
rfx_build_window_t::paramw_rest_label
LiVESWidget * paramw_rest_label
Definition: rfx-builder.h:162
rfx_build_window_t::pre_code
char * pre_code
Definition: rfx-builder.h:182
rfx_build_window_t::spinbutton_version
LiVESWidget * spinbutton_version
Definition: rfx-builder.h:108
rfx_build_window_t::hbox_bg
LiVESWidget * hbox_bg
Definition: rfx-builder.h:163
on_table_add_row
void on_table_add_row(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:1095
rfx_build_window_t::onum_params
int onum_params
Definition: rfx-builder.h:195
rfx_build_window_t::move_down_button
LiVESWidget * move_down_button
Definition: rfx-builder.h:178
rfx_build_window_t::loop_button
LiVESWidget * loop_button
Definition: rfx-builder.h:128
rfx_build_window_t::params_button
LiVESWidget * params_button
Definition: rfx-builder.h:125
on_script_status_changed
void on_script_status_changed(LiVESCombo *status_combo, livespointer user_data)
Definition: rfx-builder.c:4328
rfx_build_window_t::onum_paramw_hints
int onum_paramw_hints
Definition: rfx-builder.h:199
rfx_build_window_t
Definition: rfx-builder.h:103
rfx_build_window_t::move_up_button
LiVESWidget * move_up_button
Definition: rfx-builder.h:177
param_set_from_dialog
void param_set_from_dialog(lives_param_t *copy_param, rfx_build_window_t *rfxbuilder)
Definition: rfx-builder.c:1460
check_builder_programs
boolean check_builder_programs(void)
Definition: rfx-builder.c:3808
make_param_window_dialog
LiVESWidget * make_param_window_dialog(int pnum, rfx_build_window_t *rfxbuilder)
Definition: rfx-builder.c:2508
populate_script_combo
void populate_script_combo(LiVESCombo *script_combo, lives_rfx_status_t status)
Definition: rfx-builder.c:4312
on_triggers_ok
void on_triggers_ok(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:901
rfx_build_window_t::param_name_entry
LiVESWidget * param_name_entry
Definition: rfx-builder.h:146
RFX_CODE_TYPE_PRE
Definition: rfx-builder.h:87
on_list_table_clicked
void on_list_table_clicked(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:505
rfx_build_window_t::plugin_version
int plugin_version
Definition: rfx-builder.h:224
after_param_dp_changed
void after_param_dp_changed(LiVESSpinButton *spinbutton, livespointer user_data)
Definition: rfx-builder.c:2187
on_requirements_ok
void on_requirements_ok(LiVESButton *button, livespointer user_data)
Definition: rfx-builder.c:719
rfx_build_window_t::param_strdef_hbox
LiVESWidget * param_strdef_hbox
Definition: rfx-builder.h:165
rfx_build_window_t::table_swap_row1
int table_swap_row1
Definition: rfx-builder.h:212