LiVES
3.2.0
|
Go to the source code of this file.
Data Structures | |
struct | lives_widget_group_t |
Macros | |
#define | RFX_TEXT_MAGIC 80 |
length at which entry turns into textview More... | |
#define | RFX_DEF_NUM_MAX 1000000. |
default param max when not defined More... | |
#define | MAX_FMT_STRINGS 256 |
#define | FMT_STRING_SIZE 256 |
#define | RFX_TEXT_SCROLL_HEIGHT ((int)(80.*widget_opts.scale)) |
height of textview scrolled window More... | |
#define | GIW_KNOB_WIDTH ((int)(40.*widget_opts.scale)) |
#define | GIW_KNOB_HEIGHT ((int)(40.*widget_opts.scale)) |
#define | DEF_SLIDER_WIDTH ((int)(200.*widget_opts.scale)) |
Functions | |
void | on_paramwindow_button_clicked (LiVESButton *, lives_rfx_t *) |
void | on_render_fx_pre_activate (LiVESMenuItem *, lives_rfx_t *) |
void | on_render_fx_activate (LiVESMenuItem *, lives_rfx_t *) |
_fx_dialog * | on_fx_pre_activate (lives_rfx_t *rfx, boolean is_realtime, LiVESWidget *pbox) |
boolean | make_param_box (LiVESVBox *, lives_rfx_t *) |
make a dynamic parameter window More... | |
boolean | add_param_to_box (LiVESBox *, lives_rfx_t *, int param_number, boolean add_slider) |
LiVESWidget * | add_param_label_to_box (LiVESBox *, 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) |
void | after_boolean_param_toggled (LiVESToggleButton *, lives_rfx_t *) |
void | after_param_value_changed (LiVESSpinButton *, lives_rfx_t *) |
void | after_param_red_changed (LiVESSpinButton *, lives_rfx_t *) |
void | after_param_green_changed (LiVESSpinButton *, lives_rfx_t *) |
void | after_param_blue_changed (LiVESSpinButton *, lives_rfx_t *) |
void | after_param_alpha_changed (LiVESSpinButton *, lives_rfx_t *) |
boolean | after_param_text_focus_changed (LiVESWidget *, LiVESWidget *, lives_rfx_t *) |
void | after_param_text_changed (LiVESWidget *, lives_rfx_t *) |
void | after_string_list_changed (LiVESWidget *, lives_rfx_t *) |
void | on_pwcolsel (LiVESButton *, lives_rfx_t *) |
char * | param_marshall (lives_rfx_t *, boolean with_min_max) |
char ** | param_marshall_to_argv (lives_rfx_t *) |
void | param_demarshall (lives_rfx_t *, LiVESList *plist, boolean with_min_max, boolean update_widgets) |
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 * | argv_to_marshalled_list (lives_rfx_t *, int argc, char **argv) |
LiVESList * | do_onchange (LiVESWidgetObject *object, lives_rfx_t *) WARN_UNUSED |
object should have g_set_object_data "param_number" set to parameter number More... | |
LiVESList * | do_onchange_init (lives_rfx_t *) WARN_UNUSED |
void | update_weed_color_value (weed_plant_t *plant, int pnum, int c1, int c2, int c3, int c4, lives_rfx_t *) |
void | update_visual_params (lives_rfx_t *, boolean update_hidden) |
apply internal value changes to interface widgets More... | |
boolean | update_widget_vis (lives_rfx_t *, int key, int mode) |
show / hide widgets set by plugin in init_func() More... | |
#define DEF_SLIDER_WIDTH ((int)(200.*widget_opts.scale)) |
Definition at line 27 of file paramwindow.h.
#define FMT_STRING_SIZE 256 |
Definition at line 20 of file paramwindow.h.
#define GIW_KNOB_HEIGHT ((int)(40.*widget_opts.scale)) |
Definition at line 25 of file paramwindow.h.
#define GIW_KNOB_WIDTH ((int)(40.*widget_opts.scale)) |
Definition at line 24 of file paramwindow.h.
#define MAX_FMT_STRINGS 256 |
Definition at line 19 of file paramwindow.h.
#define RFX_DEF_NUM_MAX 1000000. |
default param max when not defined
Definition at line 17 of file paramwindow.h.
#define RFX_TEXT_MAGIC 80 |
length at which entry turns into textview
Definition at line 16 of file paramwindow.h.
#define RFX_TEXT_SCROLL_HEIGHT ((int)(80.*widget_opts.scale)) |
height of textview scrolled window
Definition at line 22 of file paramwindow.h.
LiVESWidget* add_param_label_to_box | ( | LiVESBox * | , |
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 * | , |
lives_rfx_t * | , | ||
int | param_number, | ||
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 * | , |
lives_rfx_t * | |||
) |
Definition at line 2035 of file paramwindow.c.
Referenced by add_param_to_box().
void after_param_alpha_changed | ( | LiVESSpinButton * | , |
lives_rfx_t * | |||
) |
Definition at line 2558 of file paramwindow.c.
void after_param_blue_changed | ( | LiVESSpinButton * | , |
lives_rfx_t * | |||
) |
Definition at line 2497 of file paramwindow.c.
void after_param_green_changed | ( | LiVESSpinButton * | , |
lives_rfx_t * | |||
) |
Definition at line 2435 of file paramwindow.c.
void after_param_red_changed | ( | LiVESSpinButton * | , |
lives_rfx_t * | |||
) |
Definition at line 2372 of file paramwindow.c.
void after_param_text_changed | ( | LiVESWidget * | , |
lives_rfx_t * | |||
) |
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 * | , |
LiVESWidget * | , | ||
lives_rfx_t * | |||
) |
Definition at line 2606 of file paramwindow.c.
void after_param_value_changed | ( | LiVESSpinButton * | , |
lives_rfx_t * | |||
) |
Definition at line 2102 of file paramwindow.c.
Referenced by set_param_from_list().
void after_string_list_changed | ( | LiVESWidget * | , |
lives_rfx_t * | |||
) |
Definition at line 2726 of file paramwindow.c.
LiVESList* argv_to_marshalled_list | ( | lives_rfx_t * | , |
int | argc, | ||
char ** | argv | ||
) |
Definition at line 3031 of file paramwindow.c.
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 * | ) |
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 * | , |
lives_rfx_t * | |||
) |
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 * | , |
lives_rfx_t * | |||
) |
Definition at line 3338 of file paramwindow.c.
void on_render_fx_activate | ( | LiVESMenuItem * | , |
lives_rfx_t * | |||
) |
Definition at line 222 of file paramwindow.c.
void on_render_fx_pre_activate | ( | LiVESMenuItem * | , |
lives_rfx_t * | |||
) |
Definition at line 656 of file paramwindow.c.
Referenced by replace_with_delegates().
void param_demarshall | ( | lives_rfx_t * | , |
LiVESList * | plist, | ||
boolean | with_min_max, | ||
boolean | update_widgets | ||
) |
Definition at line 3013 of file paramwindow.c.
char* param_marshall | ( | lives_rfx_t * | , |
boolean | with_min_max | ||
) |
Definition at line 2844 of file paramwindow.c.
Referenced by do_effect().
char** param_marshall_to_argv | ( | lives_rfx_t * | ) |
Definition at line 2797 of file paramwindow.c.
Referenced by on_vppa_ok_clicked().
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 update_visual_params | ( | lives_rfx_t * | , |
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 * | |||
) |
Definition at line 2225 of file paramwindow.c.
Referenced by rte_set_defs_ok().
boolean update_widget_vis | ( | lives_rfx_t * | , |
int | key, | ||
int | mode | ||
) |
show / hide widgets set by plugin in init_func()
Definition at line 1893 of file paramwindow.c.