LiVES  2.0.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
paramspecial.h
Go to the documentation of this file.
1 // paramspecial.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 
8 // dynamic window generation from parameter arrays :-)
9 // special widgets
10 
11 // TODO - refactor all of this using lives_special_t, use a union
12 
13 #ifndef HAS_LIVES_PARAMSPECIAL_H
14 #define HAS_LIVES_PARAMSPECIAL_H
15 
16 typedef struct {
18  boolean added;
24 
25  int stdwidgets; // 2 for singlepoint, 4 for demask, multrect
27  int num_extra;
28  LiVESWidget **extra_widgets;
30 
31 
32 
33 typedef struct {
36  LiVESWidget *checkbutton;
37  gulong width_func;
38  gulong height_func;
40 
41 
42 typedef struct {
48 
49 void init_special (void);
50 
51 void add_to_special (const gchar *special_string, lives_rfx_t *);
52 
53 void check_for_special (lives_rfx_t *, lives_param_t *param, GtkBox *);
54 
56 
57 void fd_tweak(lives_rfx_t *);
58 
59 void after_aspect_width_changed (GtkSpinButton *, gpointer);
60 
61 void after_aspect_height_changed (GtkToggleButton *, gpointer);
62 
63 void special_cleanup (void);
64 
65 void setmergealign (void);
66 
68 
69 boolean is_perchannel_multi(lives_rfx_t *rfx, int pnum);
70 
71 
73 
74 
75 #endif
76