LiVES 2.4.6

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
paramwindow.h
Go to the documentation of this file.
1 // paramwindow.h
2 // LiVES
3 // (c) G. Finch 2004 - 2013 <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_PARAMWINDOW_H
8 #define HAS_LIVES_PARAMWINDOW_H
9
10 typedef struct {
11 int usr_number;
12 LiVESSList *rbgroup;
13 int active_param;
14 } lives_widget_group_t;
15
16
17 #define RFX_TEXT_MAGIC 80
18 #define RFX_DEF_NUM_MAX 1000000.
19
20
21 void on_paramwindow_ok_clicked(LiVESButton *, lives_rfx_t *);
22 void on_paramwindow_cancel_clicked(LiVESButton *, lives_rfx_t *);
23 void on_paramwindow_cancel_clicked2(LiVESButton *, lives_rfx_t *);
24
25 void on_render_fx_pre_activate(LiVESMenuItem *, lives_rfx_t *);
26 void on_render_fx_activate(LiVESMenuItem *, lives_rfx_t *);
27
28 void on_fx_pre_activate(lives_rfx_t *, int didx, LiVESWidget *pbox);
29
30 boolean make_param_box(LiVESVBox *, lives_rfx_t *);
31
32 boolean add_param_to_box(LiVESBox *, lives_rfx_t *, int param_number, boolean add_slider);
33 void add_param_label_to_box(LiVESBox *, boolean do_trans, const char *text);
34
35 LiVESSList *add_usrgrp_to_livesgrp(LiVESSList *u2l, LiVESSList *rbgroup, int usr_number);
36 lives_widget_group_t *livesgrp_from_usrgrp(LiVESSList *u2l, int usrgrp);
37
38 void after_boolean_param_toggled(LiVESToggleButton *, lives_rfx_t *);
39 void after_param_value_changed(LiVESSpinButton *, lives_rfx_t *);
40 void after_param_red_changed(LiVESSpinButton *, lives_rfx_t *);
41 void after_param_green_changed(LiVESSpinButton *, lives_rfx_t *);
42 void after_param_blue_changed(LiVESSpinButton *, lives_rfx_t *);
43 void after_param_alpha_changed(LiVESSpinButton *, lives_rfx_t *);
44 boolean after_param_text_focus_changed(LiVESWidget *, LiVESWidget *, lives_rfx_t *);
45 void after_param_text_changed(LiVESWidget *, lives_rfx_t *);
46 void after_string_list_changed(LiVESCombo *, lives_rfx_t *);
47
48 void on_pwcolsel(LiVESButton *, lives_rfx_t *);
49
50 char *param_marshall(lives_rfx_t *, boolean with_min_max);
51 char **param_marshall_to_argv(lives_rfx_t *);
52 void param_demarshall(lives_rfx_t *, LiVESList *plist, boolean with_min_max, boolean update_widgets);
53 int set_param_from_list(LiVESList *plist, lives_param_t *param, int pnum, boolean with_min_max, boolean upd);
54 LiVESList *argv_to_marshalled_list(lives_rfx_t *, int argc, char **argv);
55
59 LiVESList *do_onchange(LiVESObject *object, lives_rfx_t *) WARN_UNUSED;
60 LiVESList *do_onchange_init(lives_rfx_t *) WARN_UNUSED;
61
62
63
64 void update_weed_color_value(weed_plant_t *, int pnum, int c1, int c2, int c3, int c4);
65
66 void update_visual_params(lives_rfx_t *r, boolean update_hidden);
67
68
69
70 #endif
after_param_alpha_changed
void after_param_alpha_changed(LiVESSpinButton *spinbutton, lives_rfx_t *rfx)
Definition: paramwindow.c:2468
update_visual_params
void update_visual_params(lives_rfx_t *rfx, boolean update_hidden)
Definition: paramwindow.c:3293
argv_to_marshalled_list
LiVESList * argv_to_marshalled_list(lives_rfx_t *rfx, int argc, char **argv)
Definition: paramwindow.c:3003
add_usrgrp_to_livesgrp
LiVESSList * add_usrgrp_to_livesgrp(LiVESSList *u2l, LiVESSList *rbgroup, int usr_number)
Definition: paramwindow.c:1839
after_param_text_focus_changed
boolean after_param_text_focus_changed(LiVESWidget *hbox, LiVESWidget *child, lives_rfx_t *rfx)
Definition: paramwindow.c:2520
lives_widget_group_t::active_param
int active_param
Definition: paramwindow.h:13
after_param_green_changed
void after_param_green_changed(LiVESSpinButton *spinbutton, lives_rfx_t *rfx)
Definition: paramwindow.c:2302
on_paramwindow_cancel_clicked
void on_paramwindow_cancel_clicked(LiVESButton *button, lives_rfx_t *rfx)
Definition: paramwindow.c:194
after_param_red_changed
void after_param_red_changed(LiVESSpinButton *spinbutton, lives_rfx_t *rfx)
Definition: paramwindow.c:2218
on_paramwindow_ok_clicked
void on_paramwindow_ok_clicked(LiVESButton *button, lives_rfx_t *rfx)
Definition: paramwindow.c:101
livesgrp_from_usrgrp
lives_widget_group_t * livesgrp_from_usrgrp(LiVESSList *u2l, int usrgrp)
Definition: paramwindow.c:1851
on_pwcolsel
void on_pwcolsel(LiVESButton *button, lives_rfx_t *rfx)
Definition: paramwindow.c:3267
on_render_fx_activate
void on_render_fx_activate(LiVESMenuItem *menuitem, lives_rfx_t *rfx)
Definition: paramwindow.c:278
make_param_box
boolean make_param_box(LiVESVBox *top_vbox, lives_rfx_t *rfx)
Definition: paramwindow.c:1089
do_onchange_init
LiVESList * do_onchange_init(lives_rfx_t *rfx)
Definition: paramwindow.c:56
after_param_text_changed
void after_param_text_changed(LiVESWidget *textwidget, lives_rfx_t *rfx)
Definition: paramwindow.c:2550
on_fx_pre_activate
void on_fx_pre_activate(lives_rfx_t *rfx, int didx, LiVESWidget *pbox)
Definition: paramwindow.c:723
lives_widget_group_t::usr_number
int usr_number
Definition: paramwindow.h:11
after_string_list_changed
void after_string_list_changed(LiVESCombo *combo, lives_rfx_t *rfx)
Definition: paramwindow.c:2666
lives_param_t
Definition: plugins.h:401
after_boolean_param_toggled
void after_boolean_param_toggled(LiVESToggleButton *togglebutton, lives_rfx_t *rfx)
Definition: paramwindow.c:1869
add_param_label_to_box
void add_param_label_to_box(LiVESBox *box, boolean do_trans, const char *text)
Definition: paramwindow.c:1813
after_param_blue_changed
void after_param_blue_changed(LiVESSpinButton *spinbutton, lives_rfx_t *rfx)
Definition: paramwindow.c:2386
lives_widget_group_t
Definition: paramwindow.h:10
do_onchange
LiVESList * do_onchange(LiVESObject *object, lives_rfx_t *rfx)
Definition: paramwindow.c:3192
set_param_from_list
int set_param_from_list(LiVESList *plist, lives_param_t *param, int pnum, boolean with_min_max, boolean upd)
Definition: paramwindow.c:3029
on_render_fx_pre_activate
void on_render_fx_pre_activate(LiVESMenuItem *menuitem, lives_rfx_t *rfx)
Definition: paramwindow.c:718
on_paramwindow_cancel_clicked2
void on_paramwindow_cancel_clicked2(LiVESButton *button, lives_rfx_t *rfx)
Definition: paramwindow.c:183
lives_widget_group_t::rbgroup
LiVESSList * rbgroup
Definition: paramwindow.h:12
param_marshall_to_argv
char ** param_marshall_to_argv(lives_rfx_t *rfx)
Definition: paramwindow.c:2762
param_marshall
char * param_marshall(lives_rfx_t *rfx, boolean with_min_max)
Definition: paramwindow.c:2814
add_param_to_box
boolean add_param_to_box(LiVESBox *box, lives_rfx_t *rfx, int pnum, boolean add_slider)
Definition: paramwindow.c:1379
lives_rfx_t
Definition: plugins.h:481
param_demarshall
void param_demarshall(lives_rfx_t *rfx, LiVESList *plist, boolean with_min_max, boolean upd)
Definition: paramwindow.c:2984
update_weed_color_value
void update_weed_color_value(weed_plant_t *plant, int pnum, int c1, int c2, int c3, int c4)
Definition: paramwindow.c:2093
WARN_UNUSED
#define WARN_UNUSED
Definition: main.h:271
after_param_value_changed
void after_param_value_changed(LiVESSpinButton *spinbutton, lives_rfx_t *rfx)
Definition: paramwindow.c:1960