LiVES
3.2.0
|
#include "main.h"
#include "paramwindow.h"
#include "callbacks.h"
#include "resample.h"
#include "effects.h"
#include "rte_window.h"
#include "framedraw.h"
#include "ce_thumbs.h"
#include "interface.h"
Go to the source code of this file.
Functions | |
boolean | do_effect (lives_rfx_t *, boolean is_preview) |
defined as extern in paramwindow.c More... | |
void | on_realfx_activate (LiVESMenuItem *, livespointer rfx) |
LiVESList * | do_onchange_init (lives_rfx_t *rfx) |
void | on_paramwindow_button_clicked (LiVESButton *button, lives_rfx_t *rfx) |
void | on_render_fx_activate (LiVESMenuItem *menuitem, lives_rfx_t *rfx) |
void | transition_add_in_out (LiVESBox *vbox, lives_rfx_t *rfx, boolean add_audio_check) |
LIVES_GLOBAL_INLINE void | on_render_fx_pre_activate (LiVESMenuItem *menuitem, lives_rfx_t *rfx) |
_fx_dialog * | on_fx_pre_activate (lives_rfx_t *rfx, boolean is_realtime, LiVESWidget *pbox) |
boolean | make_param_box (LiVESVBox *top_vbox, lives_rfx_t *rfx) |
make a dynamic parameter window More... | |
boolean | add_param_to_box (LiVESBox *box, lives_rfx_t *rfx, int pnum, boolean add_slider) |
LiVESWidget * | add_param_label_to_box (LiVESBox *box, boolean do_trans, const char *text) |
LiVESSList * | add_usrgrp_to_livesgrp (LiVESSList *u2l, LiVESSList *rbgroup, int usr_number) |
lives_widget_group_t * | livesgrp_from_usrgrp (LiVESSList *u2l, int usrgrp) |
boolean | update_widget_vis (lives_rfx_t *rfx, int key, int mode) |
show / hide widgets set by plugin in init_func() More... | |
void | after_boolean_param_toggled (LiVESToggleButton *togglebutton, lives_rfx_t *rfx) |
void | after_param_value_changed (LiVESSpinButton *spinbutton, lives_rfx_t *rfx) |
void | update_weed_color_value (weed_plant_t *plant, int pnum, int c1, int c2, int c3, int c4, lives_rfx_t *rfx) |
void | after_param_red_changed (LiVESSpinButton *spinbutton, lives_rfx_t *rfx) |
void | after_param_green_changed (LiVESSpinButton *spinbutton, lives_rfx_t *rfx) |
void | after_param_blue_changed (LiVESSpinButton *spinbutton, lives_rfx_t *rfx) |
void | after_param_alpha_changed (LiVESSpinButton *spinbutton, lives_rfx_t *rfx) |
boolean | after_param_text_focus_changed (LiVESWidget *hbox, LiVESWidget *child, lives_rfx_t *rfx) |
void | after_param_text_changed (LiVESWidget *textwidget, lives_rfx_t *rfx) |
void | after_string_list_changed (LiVESWidget *entry, lives_rfx_t *rfx) |
char ** | param_marshall_to_argv (lives_rfx_t *rfx) |
char * | param_marshall (lives_rfx_t *rfx, boolean with_min_max) |
char * | reconstruct_string (LiVESList *plist, int start, int *offs) |
void | param_demarshall (lives_rfx_t *rfx, LiVESList *plist, boolean with_min_max, boolean upd) |
LiVESList * | argv_to_marshalled_list (lives_rfx_t *rfx, int argc, char **argv) |
int | set_param_from_list (LiVESList *plist, lives_param_t *param, int pnum, boolean with_min_max, boolean upd) |
update values for param using values in plist if upd is TRUE, the widgets for that param also are updated; otherwise, we do not update the widgets, but we do update the default More... | |
LiVESList * | do_onchange (LiVESWidgetObject *object, lives_rfx_t *rfx) |
object should have g_set_object_data "param_number" set to parameter number More... | |
void | on_pwcolsel (LiVESButton *button, lives_rfx_t *rfx) |
void | update_visual_params (lives_rfx_t *rfx, boolean update_hidden) |
apply internal value changes to interface widgets More... | |
LiVESWidget* add_param_label_to_box | ( | LiVESBox * | box, |
boolean | do_trans, | ||
const char * | text | ||
) |
Definition at line 1844 of file paramwindow.c.
Referenced by add_param_to_box().
boolean add_param_to_box | ( | LiVESBox * | box, |
lives_rfx_t * | rfx, | ||
int | pnum, | ||
boolean | add_slider | ||
) |
Definition at line 1484 of file paramwindow.c.
LiVESSList* add_usrgrp_to_livesgrp | ( | LiVESSList * | u2l, |
LiVESSList * | rbgroup, | ||
int | usr_number | ||
) |
Definition at line 1872 of file paramwindow.c.
void after_boolean_param_toggled | ( | LiVESToggleButton * | togglebutton, |
lives_rfx_t * | rfx | ||
) |
Definition at line 2035 of file paramwindow.c.
Referenced by add_param_to_box().
void after_param_alpha_changed | ( | LiVESSpinButton * | spinbutton, |
lives_rfx_t * | rfx | ||
) |
Definition at line 2558 of file paramwindow.c.
void after_param_blue_changed | ( | LiVESSpinButton * | spinbutton, |
lives_rfx_t * | rfx | ||
) |
Definition at line 2497 of file paramwindow.c.
void after_param_green_changed | ( | LiVESSpinButton * | spinbutton, |
lives_rfx_t * | rfx | ||
) |
Definition at line 2435 of file paramwindow.c.
void after_param_red_changed | ( | LiVESSpinButton * | spinbutton, |
lives_rfx_t * | rfx | ||
) |
Definition at line 2372 of file paramwindow.c.
void after_param_text_changed | ( | LiVESWidget * | textwidget, |
lives_rfx_t * | rfx | ||
) |
Definition at line 2635 of file paramwindow.c.
Referenced by after_param_text_focus_changed(), on_filesel_button_clicked(), on_paramwindow_button_clicked(), on_set_pvals_clicked(), on_vppa_ok_clicked(), rte_set_defs_ok(), rte_set_key_defs(), and weed_reinit_effect().
boolean after_param_text_focus_changed | ( | LiVESWidget * | hbox, |
LiVESWidget * | child, | ||
lives_rfx_t * | rfx | ||
) |
Definition at line 2606 of file paramwindow.c.
void after_param_value_changed | ( | LiVESSpinButton * | spinbutton, |
lives_rfx_t * | rfx | ||
) |
Definition at line 2102 of file paramwindow.c.
Referenced by set_param_from_list().
void after_string_list_changed | ( | LiVESWidget * | entry, |
lives_rfx_t * | rfx | ||
) |
Definition at line 2726 of file paramwindow.c.
LiVESList* argv_to_marshalled_list | ( | lives_rfx_t * | rfx, |
int | argc, | ||
char ** | argv | ||
) |
Definition at line 3031 of file paramwindow.c.
boolean do_effect | ( | lives_rfx_t * | , |
boolean | is_preview | ||
) |
defined as extern in paramwindow.c
Definition at line 127 of file effects.c.
Referenced by on_render_fx_activate().
LiVESList* do_onchange | ( | LiVESWidgetObject * | object, |
lives_rfx_t * | |||
) |
object should have g_set_object_data "param_number" set to parameter number
(0 based, -ve for init onchanges)
Definition at line 3265 of file paramwindow.c.
Referenced by do_onchange_init().
LiVESList* do_onchange_init | ( | lives_rfx_t * | rfx | ) |
Definition at line 35 of file paramwindow.c.
Referenced by on_fx_pre_activate(), and on_render_fx_activate().
lives_widget_group_t* livesgrp_from_usrgrp | ( | LiVESSList * | u2l, |
int | usrgrp | ||
) |
Definition at line 1882 of file paramwindow.c.
boolean make_param_box | ( | LiVESVBox * | top_vbox, |
lives_rfx_t * | rfx | ||
) |
make a dynamic parameter window
if top_vbox is NULL: we just check for displayable params, returning FALSE there are none to be shown. otherwise, adds widgets to top_vbox, returning FALSE if nothing was added
add nframes, fps, width, height
Definition at line 1015 of file paramwindow.c.
Referenced by add_mt_param_box(), on_fx_pre_activate(), and rte_reset_defs_clicked().
_fx_dialog* on_fx_pre_activate | ( | lives_rfx_t * | rfx, |
boolean | is_realtime, | ||
LiVESWidget * | pbox | ||
) |
Definition at line 687 of file paramwindow.c.
Referenced by rte_set_defs_activate().
void on_paramwindow_button_clicked | ( | LiVESButton * | button, |
lives_rfx_t * | rfx | ||
) |
Definition at line 90 of file paramwindow.c.
Referenced by on_fx_pre_activate(), on_merge_cancel_clicked(), rte_set_defs_activate(), and rte_set_defs_cancel().
void on_pwcolsel | ( | LiVESButton * | button, |
lives_rfx_t * | rfx | ||
) |
Definition at line 3338 of file paramwindow.c.
void on_realfx_activate | ( | LiVESMenuItem * | , |
livespointer | rfx | ||
) |
Definition at line 799 of file effects.c.
Referenced by add_rfx_effects2().
void on_render_fx_activate | ( | LiVESMenuItem * | menuitem, |
lives_rfx_t * | rfx | ||
) |
Definition at line 222 of file paramwindow.c.
LIVES_GLOBAL_INLINE void on_render_fx_pre_activate | ( | LiVESMenuItem * | menuitem, |
lives_rfx_t * | rfx | ||
) |
Definition at line 656 of file paramwindow.c.
Referenced by replace_with_delegates().
void param_demarshall | ( | lives_rfx_t * | rfx, |
LiVESList * | plist, | ||
boolean | with_min_max, | ||
boolean | upd | ||
) |
Definition at line 3013 of file paramwindow.c.
char* param_marshall | ( | lives_rfx_t * | rfx, |
boolean | with_min_max | ||
) |
Definition at line 2844 of file paramwindow.c.
Referenced by do_effect().
char** param_marshall_to_argv | ( | lives_rfx_t * | rfx | ) |
Definition at line 2797 of file paramwindow.c.
Referenced by on_vppa_ok_clicked().
char* reconstruct_string | ( | LiVESList * | plist, |
int | start, | ||
int * | offs | ||
) |
Definition at line 2961 of file paramwindow.c.
Referenced by set_param_from_list().
int set_param_from_list | ( | LiVESList * | plist, |
lives_param_t * | param, | ||
int | pnum, | ||
boolean | with_min_max, | ||
boolean | upd | ||
) |
update values for param using values in plist if upd is TRUE, the widgets for that param also are updated; otherwise, we do not update the widgets, but we do update the default
for LIVES_PARAM_NUM, setting pnum negative avoids having to send min,max
pnum here is not param number, but rather the offset of the element in plist
read value back from widget in case some callback changed the value
Definition at line 3065 of file paramwindow.c.
Referenced by param_demarshall(), set_rfx_param_by_name_string(), and update_visual_params().
void transition_add_in_out | ( | LiVESBox * | vbox, |
lives_rfx_t * | rfx, | ||
boolean | add_audio_check | ||
) |
Definition at line 352 of file paramwindow.c.
void update_visual_params | ( | lives_rfx_t * | rfx, |
boolean | update_hidden | ||
) |
apply internal value changes to interface widgets
Definition at line 3361 of file paramwindow.c.
Referenced by on_resetp_clicked().
void update_weed_color_value | ( | weed_plant_t * | plant, |
int | pnum, | ||
int | c1, | ||
int | c2, | ||
int | c3, | ||
int | c4, | ||
lives_rfx_t * | rfx | ||
) |
Definition at line 2225 of file paramwindow.c.
Referenced by rte_set_defs_ok().
boolean update_widget_vis | ( | lives_rfx_t * | rfx, |
int | key, | ||
int | mode | ||
) |
show / hide widgets set by plugin in init_func()
Definition at line 1893 of file paramwindow.c.