LiVES  2.4.1-svn
 All Data Structures Namespaces 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  ulong width_func;
38  ulong height_func;
40 
41 
42 typedef struct {
48 
49 void init_special(void);
50 
51 void add_to_special(const char *special_string, lives_rfx_t *);
52 
53 void check_for_special(lives_rfx_t *, lives_param_t *param, LiVESBox *);
54 
56 
57 void fd_tweak(lives_rfx_t *);
58 
59 void after_aspect_width_changed(LiVESSpinButton *, livespointer);
60 
61 void after_aspect_height_changed(LiVESToggleButton *, livespointer);
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 
lives_param_t * end_param
Definition: paramspecial.h:45
ulong width_func
Definition: paramspecial.h:37
LiVESWidget ** extra_widgets
Definition: paramspecial.h:28
int * extra_params
Definition: paramspecial.h:26
void fd_tweak(lives_rfx_t *)
Definition: paramspecial.c:155
int stdwidgets
Definition: paramspecial.h:25
lives_param_t * yend_param
Definition: paramspecial.h:23
boolean is_perchannel_multi(lives_rfx_t *rfx, int pnum)
Definition: paramspecial.c:530
lives_rfx_t * rfx
Definition: paramspecial.h:17
boolean added
Definition: paramspecial.h:18
lives_param_special_t
Definition: plugins.h:381
void after_aspect_height_changed(LiVESToggleButton *, livespointer)
Definition: paramspecial.c:386
ulong height_func
Definition: paramspecial.h:38
void setmergealign(void)
Definition: paramspecial.c:447
LiVESWidget * checkbutton
Definition: paramspecial.h:36
lives_param_t * start_param
Definition: paramspecial.h:44
void after_aspect_width_changed(LiVESSpinButton *, livespointer)
Definition: paramspecial.c:357
lives_special_mergealign_t mergealign
Definition: paramspecial.h:72
void special_cleanup(void)
Definition: paramspecial.c:417
void fd_connect_spinbutton(lives_rfx_t *)
Definition: paramspecial.c:167
Definition: paramspecial.h:42
lives_param_t * xstart_param
Definition: paramspecial.h:20
lives_param_t * xend_param
Definition: paramspecial.h:22
Definition: plugins.h:401
lives_rfx_t * rfx
Definition: paramspecial.h:43
void add_to_special(const char *special_string, lives_rfx_t *)
Definition: paramspecial.c:52
void check_for_special(lives_rfx_t *, lives_param_t *param, LiVESBox *)
Definition: paramspecial.c:177
Definition: paramspecial.h:33
lives_param_special_t type
Definition: paramspecial.h:19
lives_param_t * width_param
Definition: paramspecial.h:35
lives_param_t * ystart_param
Definition: paramspecial.h:21
int num_extra
Definition: paramspecial.h:27
Definition: plugins.h:481
void set_aspect_ratio_widgets(lives_param_t *w, lives_param_t *h)
Definition: paramspecial.c:441
Definition: paramspecial.h:16
lives_param_t * height_param
Definition: paramspecial.h:34
void init_special(void)
Definition: paramspecial.c:34