LiVES
2.0.3
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
src
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
{
17
lives_rfx_t
*
rfx
;
18
boolean
added
;
19
lives_param_special_t
type
;
20
lives_param_t
*
xstart_param
;
21
lives_param_t
*
ystart_param
;
22
lives_param_t
*
xend_param
;
23
lives_param_t
*
yend_param
;
24
25
int
stdwidgets
;
// 2 for singlepoint, 4 for demask, multrect
26
int
*
extra_params
;
27
int
num_extra
;
28
LiVESWidget **
extra_widgets
;
29
}
lives_special_framedraw_rect_t
;
30
31
32
33
typedef
struct
{
34
lives_param_t
*
height_param
;
35
lives_param_t
*
width_param
;
36
LiVESWidget *
checkbutton
;
37
gulong
width_func
;
38
gulong
height_func
;
39
}
lives_special_aspect_t
;
40
41
42
typedef
struct
{
43
lives_rfx_t
*
rfx
;
44
lives_param_t
*
start_param
;
45
lives_param_t
*
end_param
;
46
}
lives_special_mergealign_t
;
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
55
void
fd_connect_spinbutton
(
lives_rfx_t
*);
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
67
void
set_aspect_ratio_widgets
(
lives_param_t
*w,
lives_param_t
*h);
68
69
boolean
is_perchannel_multi
(
lives_rfx_t
*rfx,
int
pnum);
70
71
72
lives_special_mergealign_t
mergealign
;
73
74
75
#endif
76
Generated on Wed Apr 10 2013 19:29:35 for LiVES by
1.8.1.1