LiVES
3.2.0
|
Go to the source code of this file.
Data Structures | |
struct | rfx_trigger_t |
struct | rfx_build_window_t |
Macros | |
#define | EXEC_RFX_BUILDER "build-lives-rfx-plugin" |
#define | RFX_VERSION "1.8.3" |
must match whatever is in RFX_BUILDER More... | |
#define | EXEC_RFX_BUILDER_MULTI "build-lives-rfx-plugin-multi" |
this definition must match with smogrify More... | |
#define | RFXBUILDER_SCRIPT_SUFFIX "script" |
default script extension when saving More... | |
#define | MAXFLOATLEN 11 |
length in chars of G_MAXFLOAT (for display only) More... | |
#define | MAXINTLEN strlen(lives_strdup_printf("%d", LIVES_MAXINT)) |
length in chars of G_MAXINT (for display only) More... | |
#define | RFXBUILD_MAX_REQ 128 |
maximum requirements More... | |
#define | RFXBUILD_MAX_PARAMS 32 |
maximum parameters More... | |
#define | RFXBUILD_MAX_PARAMW_HINTS 512 |
maximum parameter window hints More... | |
#define | RFXBUILD_MAX_TROWS 512 |
max table rows : this should be set to the largest of the previous maxima More... | |
#define | PREF_RFXDIALOG_W ((int)(720.*widget_opts.scale)) |
#define | PREF_RFXDIALOG_H ((int)(650.*widget_opts.scale)) |
#define | RFX_LOADED |
#define | RFXBUILD_MAX_DP 16 |
maximum decimal places allowed (should correspond to precision of a "float") More... | |
Functions | |
void | on_new_rfx_activate (LiVESMenuItem *, livespointer status) |
void | on_edit_rfx_activate (LiVESMenuItem *, livespointer status) |
void | on_copy_rfx_activate (LiVESMenuItem *, livespointer) |
void | on_rename_rfx_activate (LiVESMenuItem *, livespointer) |
void | on_delete_rfx_activate (LiVESMenuItem *, livespointer status) |
void | on_rebuild_rfx_activate (LiVESMenuItem *, livespointer) |
parse text and return non empty lines between <section> and </section> More... | |
void | on_promote_rfx_activate (LiVESMenuItem *, livespointer) |
void | on_import_rfx_activate (LiVESMenuItem *, livespointer status) |
void | on_export_rfx_activate (LiVESMenuItem *, livespointer status) |
void | on_export_rfx_ok (LiVESButton *, char *script_name) |
void | on_import_rfx_ok (LiVESButton *, livespointer status) |
void | add_rfx_effects (lives_rfx_status_t status) |
add dynamic menu entries More... | |
void | add_rfx_effects2 (lives_rfx_status_t status) |
void | update_rfx_menus (void) |
char * | prompt_for_script_name (const char *sname, lives_rfx_status_t status) |
boolean | check_builder_programs (void) |
LiVESList * | get_script_list (lives_rfx_status_t status) |
boolean | perform_rfxbuilder_checks (rfx_build_window_t *) |
boolean | perform_param_checks (rfx_build_window_t *, int index, int rows) |
boolean | rfxbuilder_to_script (rfx_build_window_t *) |
boolean | script_to_rfxbuilder (rfx_build_window_t *, const char *script_file) |
LiVESList * | get_script_section (const char *section, const char *script_file, boolean strip) |
#define EXEC_RFX_BUILDER "build-lives-rfx-plugin" |
Definition at line 10 of file rfx-builder.h.
#define EXEC_RFX_BUILDER_MULTI "build-lives-rfx-plugin-multi" |
this definition must match with smogrify
Definition at line 16 of file rfx-builder.h.
#define MAXFLOATLEN 11 |
length in chars of G_MAXFLOAT (for display only)
Definition at line 22 of file rfx-builder.h.
#define MAXINTLEN strlen(lives_strdup_printf("%d", LIVES_MAXINT)) |
length in chars of G_MAXINT (for display only)
Definition at line 25 of file rfx-builder.h.
#define PREF_RFXDIALOG_H ((int)(650.*widget_opts.scale)) |
Definition at line 54 of file rfx-builder.h.
#define PREF_RFXDIALOG_W ((int)(720.*widget_opts.scale)) |
Definition at line 53 of file rfx-builder.h.
#define RFX_LOADED |
Definition at line 56 of file rfx-builder.h.
#define RFX_VERSION "1.8.3" |
must match whatever is in RFX_BUILDER
Definition at line 13 of file rfx-builder.h.
#define RFXBUILD_MAX_DP 16 |
maximum decimal places allowed (should correspond to precision of a "float")
Definition at line 60 of file rfx-builder.h.
#define RFXBUILD_MAX_PARAMS 32 |
maximum parameters
Definition at line 44 of file rfx-builder.h.
#define RFXBUILD_MAX_PARAMW_HINTS 512 |
maximum parameter window hints
Definition at line 47 of file rfx-builder.h.
#define RFXBUILD_MAX_REQ 128 |
maximum requirements
Definition at line 41 of file rfx-builder.h.
#define RFXBUILD_MAX_TROWS 512 |
max table rows : this should be set to the largest of the previous maxima
Definition at line 51 of file rfx-builder.h.
#define RFXBUILDER_SCRIPT_SUFFIX "script" |
default script extension when saving
Definition at line 19 of file rfx-builder.h.
Enumerator | |
---|---|
RFX_BUILD_TYPE_EFFECT1 | |
RFX_BUILD_TYPE_EFFECT2 | |
RFX_BUILD_TYPE_EFFECT0 | |
RFX_BUILD_TYPE_TOOL | |
RFX_BUILD_TYPE_UTILITY |
Definition at line 66 of file rfx-builder.h.
Enumerator | |
---|---|
RFX_BUILDER_MODE_NEW | |
RFX_BUILDER_MODE_EDIT | |
RFX_BUILDER_MODE_COPY |
Definition at line 89 of file rfx-builder.h.
Enumerator | |
---|---|
RFX_CODE_TYPE_PRE | |
RFX_CODE_TYPE_LOOP | |
RFX_CODE_TYPE_POST | |
RFX_CODE_TYPE_STRDEF | |
RFX_CODE_TYPE_STRING_LIST |
Definition at line 81 of file rfx-builder.h.
Enumerator | |
---|---|
RFX_TABLE_TYPE_REQUIREMENTS | |
RFX_TABLE_TYPE_PARAMS | |
RFX_TABLE_TYPE_TRIGGERS | |
RFX_TABLE_TYPE_PARAM_WINDOW |
Definition at line 74 of file rfx-builder.h.
void add_rfx_effects | ( | lives_rfx_status_t | status | ) |
add dynamic menu entries
Definition at line 4172 of file rfx-builder.c.
Referenced by on_rebuild_rfx_activate().
void add_rfx_effects2 | ( | lives_rfx_status_t | status | ) |
Definition at line 4481 of file rfx-builder.c.
boolean check_builder_programs | ( | void | ) |
Definition at line 3668 of file rfx-builder.c.
Referenced by on_copy_rfx_activate(), on_edit_rfx_activate(), on_new_rfx_activate(), and on_rebuild_rfx_activate().
LiVESList* get_script_list | ( | lives_rfx_status_t | status | ) |
Definition at line 4150 of file rfx-builder.c.
LiVESList* get_script_section | ( | const char * | section, |
const char * | script_file, | ||
boolean | strip | ||
) |
Definition at line 3611 of file rfx-builder.c.
Referenced by script_to_rfxbuilder().
void on_copy_rfx_activate | ( | LiVESMenuItem * | , |
livespointer | |||
) |
Definition at line 95 of file rfx-builder.c.
void on_delete_rfx_activate | ( | LiVESMenuItem * | , |
livespointer | status | ||
) |
Definition at line 3699 of file rfx-builder.c.
void on_edit_rfx_activate | ( | LiVESMenuItem * | , |
livespointer | status | ||
) |
Definition at line 71 of file rfx-builder.c.
void on_export_rfx_activate | ( | LiVESMenuItem * | , |
livespointer | status | ||
) |
Definition at line 3821 of file rfx-builder.c.
void on_export_rfx_ok | ( | LiVESButton * | , |
char * | script_name | ||
) |
void on_import_rfx_activate | ( | LiVESMenuItem * | , |
livespointer | status | ||
) |
Definition at line 3849 of file rfx-builder.c.
void on_import_rfx_ok | ( | LiVESButton * | , |
livespointer | status | ||
) |
void on_new_rfx_activate | ( | LiVESMenuItem * | , |
livespointer | status | ||
) |
Definition at line 62 of file rfx-builder.c.
void on_promote_rfx_activate | ( | LiVESMenuItem * | , |
livespointer | |||
) |
Definition at line 3759 of file rfx-builder.c.
void on_rebuild_rfx_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
parse text and return non empty lines between <section> and </section>
similar to get_val_from_cached_list, except here we parse each line into a list. rfx + params can be built from the <params> section
Definition at line 3631 of file rfx-builder.c.
Referenced by on_delete_rfx_activate(), on_import_rfx_activate(), and on_promote_rfx_activate().
void on_rename_rfx_activate | ( | LiVESMenuItem * | , |
livespointer | |||
) |
Definition at line 109 of file rfx-builder.c.
boolean perform_param_checks | ( | rfx_build_window_t * | , |
int | index, | ||
int | rows | ||
) |
Definition at line 2933 of file rfx-builder.c.
boolean perform_rfxbuilder_checks | ( | rfx_build_window_t * | ) |
Definition at line 2872 of file rfx-builder.c.
char* prompt_for_script_name | ( | const char * | sname, |
lives_rfx_status_t | status | ||
) |
Definition at line 3920 of file rfx-builder.c.
Referenced by on_copy_rfx_activate(), on_delete_rfx_activate(), on_edit_rfx_activate(), on_export_rfx_activate(), on_promote_rfx_activate(), on_rename_rfx_activate(), and rfxbuilder_to_script().
boolean rfxbuilder_to_script | ( | rfx_build_window_t * | ) |
Definition at line 2952 of file rfx-builder.c.
boolean script_to_rfxbuilder | ( | rfx_build_window_t * | , |
const char * | script_file | ||
) |
Definition at line 3279 of file rfx-builder.c.
void update_rfx_menus | ( | void | ) |
Definition at line 4684 of file rfx-builder.c.
Referenced by show_lives().