LiVES  2.4.1-svn
 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 {
12  LiVESSList *rbgroup;
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);
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;
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
void after_param_value_changed(LiVESSpinButton *, lives_rfx_t *)
Definition: paramwindow.c:1957
int active_param
Definition: paramwindow.h:13
void update_weed_color_value(weed_plant_t *, int pnum, int c1, int c2, int c3, int c4)
Definition: paramwindow.c:2090
void after_param_text_changed(LiVESWidget *, lives_rfx_t *)
Definition: paramwindow.c:2547
void on_paramwindow_ok_clicked(LiVESButton *, lives_rfx_t *)
Definition: paramwindow.c:101
void after_param_red_changed(LiVESSpinButton *, lives_rfx_t *)
Definition: paramwindow.c:2215
LiVESSList * add_usrgrp_to_livesgrp(LiVESSList *u2l, LiVESSList *rbgroup, int usr_number)
Definition: paramwindow.c:1836
void after_boolean_param_toggled(LiVESToggleButton *, lives_rfx_t *)
Definition: paramwindow.c:1866
void on_paramwindow_cancel_clicked2(LiVESButton *, lives_rfx_t *)
Definition: paramwindow.c:183
LiVESList * do_onchange(LiVESObject *object, lives_rfx_t *) WARN_UNUSED
Definition: paramwindow.c:3189
lives_widget_group_t * livesgrp_from_usrgrp(LiVESSList *u2l, int usrgrp)
Definition: paramwindow.c:1848
void on_render_fx_pre_activate(LiVESMenuItem *, lives_rfx_t *)
Definition: paramwindow.c:715
void add_param_label_to_box(LiVESBox *, boolean do_trans, const char *text)
Definition: paramwindow.c:1810
int usr_number
Definition: paramwindow.h:11
Definition: plugins.h:401
void after_param_alpha_changed(LiVESSpinButton *, lives_rfx_t *)
Definition: paramwindow.c:2465
void after_param_blue_changed(LiVESSpinButton *, lives_rfx_t *)
Definition: paramwindow.c:2383
boolean make_param_box(LiVESVBox *, lives_rfx_t *)
Definition: paramwindow.c:1086
void on_paramwindow_cancel_clicked(LiVESButton *, lives_rfx_t *)
Definition: paramwindow.c:194
void on_pwcolsel(LiVESButton *, lives_rfx_t *)
Definition: paramwindow.c:3264
Definition: paramwindow.h:10
boolean add_param_to_box(LiVESBox *, lives_rfx_t *, int param_number, boolean add_slider)
Definition: paramwindow.c:1376
void on_fx_pre_activate(lives_rfx_t *, int didx, LiVESWidget *pbox)
Definition: paramwindow.c:720
void on_render_fx_activate(LiVESMenuItem *, lives_rfx_t *)
Definition: paramwindow.c:278
char * param_marshall(lives_rfx_t *, boolean with_min_max)
Definition: paramwindow.c:2811
LiVESSList * rbgroup
Definition: paramwindow.h:12
LiVESList * argv_to_marshalled_list(lives_rfx_t *, int argc, char **argv)
Definition: paramwindow.c:3000
boolean after_param_text_focus_changed(LiVESWidget *, LiVESWidget *, lives_rfx_t *)
Definition: paramwindow.c:2517
char ** param_marshall_to_argv(lives_rfx_t *)
Definition: paramwindow.c:2759
Definition: plugins.h:481
void after_param_green_changed(LiVESSpinButton *, lives_rfx_t *)
Definition: paramwindow.c:2299
void after_string_list_changed(LiVESCombo *, lives_rfx_t *)
Definition: paramwindow.c:2663
LiVESList * do_onchange_init(lives_rfx_t *) WARN_UNUSED
Definition: paramwindow.c:56
void param_demarshall(lives_rfx_t *, LiVESList *plist, boolean with_min_max, boolean update_widgets)
Definition: paramwindow.c:2981
void update_visual_params(lives_rfx_t *r, boolean update_hidden)
Definition: paramwindow.c:3290
#define WARN_UNUSED
Definition: main.h:261
int set_param_from_list(LiVESList *plist, lives_param_t *param, int pnum, boolean with_min_max, boolean upd)
Definition: paramwindow.c:3026