LiVES
1.6.4-svn
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
src
framedraw.h
Go to the documentation of this file.
1
// LiVES
2
// framedraw.h
3
// (c) G. Finch (salsaman@gmail.com) 2002 - 2012
4
// see file COPYING for licensing details : released under the GNU GPL 3 or later
5
6
#ifndef HAS_LIVES_FRAMEDRAW_H
7
#define HAS_LIVES_FRAMEDRAW_H
8
9
// min and max frame sizes for framedraw preview
10
#define MIN_PRE_X 58
11
#define MIN_PRE_Y 32
12
13
#define MAX_PRE_X 320
14
#define MAX_PRE_Y 240
15
16
// internal padding in pixels for GtkFrame
17
#define FD_HT_ADJ 12
18
19
21
void
widget_add_framedraw
(GtkVBox *, gint start, gint end, gboolean add_preview_button, gint width, gint height);
22
24
void
framedraw_redraw
(
lives_special_framedraw_rect_t
*, gboolean reload_image, GdkPixbuf *);
25
27
void
after_framedraw_widget_changed
(GtkWidget *,
lives_special_framedraw_rect_t
*);
28
29
31
void
framedraw_connect
(
lives_special_framedraw_rect_t
*, gint width, gint height,
lives_rfx_t
*);
32
34
void
framedraw_connect_spinbutton
(
lives_special_framedraw_rect_t
*,
lives_rfx_t
*);
35
37
void
framedraw_add_reset
(GtkVBox *,
lives_special_framedraw_rect_t
*);
38
40
void
framedraw_add_label
(GtkVBox *box);
41
42
44
void
load_framedraw_image
(LiVESPixbuf *);
45
void
load_rfx_preview
(
lives_rfx_t
*rfx);
46
48
void
redraw_framedraw_image
(
void
);
49
51
void
after_framedraw_frame_spinbutton_changed
(GtkSpinButton *,
lives_special_framedraw_rect_t
*);
52
54
void
on_framedraw_reset_clicked
(GtkButton *,
lives_special_framedraw_rect_t
*);
55
56
57
gboolean
on_framedraw_mouse_start
(GtkWidget *, GdkEventButton *,
lives_special_framedraw_rect_t
*);
58
gboolean
on_framedraw_mouse_update
(GtkWidget *, GdkEventButton *,
lives_special_framedraw_rect_t
*);
59
gboolean
on_framedraw_mouse_reset
(GtkWidget *, GdkEventButton *,
lives_special_framedraw_rect_t
*);
60
61
62
gboolean
on_framedraw_leave
(GtkWidget *, GdkEventCrossing *,
lives_special_framedraw_rect_t
*);
63
gboolean
on_framedraw_enter
(GtkWidget *, GdkEventCrossing *,
lives_special_framedraw_rect_t
*);
64
65
// graphics routines
66
67
void
draw_rect_demask
(
lives_colRGBA32_t
*col,
int
x1,
int
y1,
int
x2,
int
y2,
boolean
filled);
68
69
70
#endif
Generated on Mon Apr 29 2013 18:34:11 for LiVES by
1.8.1.1