LiVES  2.4.1-svn
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
framedraw.h File Reference

Go to the source code of this file.

Macros

#define MIN_PRE_X   58
 
#define MIN_PRE_Y   32
 
#define MAX_PRE_X   320
 
#define MAX_PRE_Y   240
 
#define FD_HT_ADJ   12
 

Functions

void widget_add_framedraw (LiVESVBox *, int start, int end, boolean add_preview_button, int width, int height)
 call this to add framedraw widget to an hbox More...
 
void framedraw_redraw (lives_special_framedraw_rect_t *, boolean reload_image, LiVESPixbuf *)
 redraw when exposed/frame number changes More...
 
void after_framedraw_widget_changed (LiVESWidget *, lives_special_framedraw_rect_t *)
 callback for widgets More...
 
void framedraw_connect (lives_special_framedraw_rect_t *, int width, int height, lives_rfx_t *)
 activate the image for clicks and draws More...
 
void framedraw_connect_spinbutton (lives_special_framedraw_rect_t *, lives_rfx_t *)
 connect spinbutton to preview More...
 
void framedraw_add_reset (LiVESVBox *, lives_special_framedraw_rect_t *)
 add "reset values" button More...
 
void framedraw_add_label (LiVESVBox *box)
 add explanatory label More...
 
void load_framedraw_image (LiVESPixbuf *)
 reload and redraw the frame More...
 
void load_rfx_preview (lives_rfx_t *rfx)
 rfx preview More...
 
void redraw_framedraw_image (void)
 just redraw the frame More...
 
void after_framedraw_frame_spinbutton_changed (LiVESSpinButton *, lives_special_framedraw_rect_t *)
 change the frame number More...
 
void on_framedraw_reset_clicked (LiVESButton *, lives_special_framedraw_rect_t *)
 reset button More...
 
boolean on_framedraw_mouse_start (LiVESWidget *, LiVESXEventButton *, lives_special_framedraw_rect_t *)
 
boolean on_framedraw_mouse_update (LiVESWidget *, LiVESXEventMotion *, lives_special_framedraw_rect_t *)
 
boolean on_framedraw_mouse_reset (LiVESWidget *, LiVESXEventButton *, lives_special_framedraw_rect_t *)
 
boolean on_framedraw_leave (LiVESWidget *, LiVESXEventCrossing *, lives_special_framedraw_rect_t *)
 
boolean on_framedraw_enter (LiVESWidget *, LiVESXEventCrossing *, lives_special_framedraw_rect_t *)
 
void draw_rect_demask (lives_colRGBA32_t *col, int x1, int y1, int x2, int y2, boolean filled)
 

Macro Definition Documentation

#define FD_HT_ADJ   12
#define MAX_PRE_X   320
#define MAX_PRE_Y   240
#define MIN_PRE_X   58
#define MIN_PRE_Y   32

Function Documentation

void after_framedraw_frame_spinbutton_changed ( LiVESSpinButton *  ,
lives_special_framedraw_rect_t  
)

change the frame number

void after_framedraw_widget_changed ( LiVESWidget *  ,
lives_special_framedraw_rect_t  
)

callback for widgets

void draw_rect_demask ( lives_colRGBA32_t col,
int  x1,
int  y1,
int  x2,
int  y2,
boolean  filled 
)
void framedraw_add_label ( LiVESVBox *  box)

add explanatory label

void framedraw_add_reset ( LiVESVBox *  ,
lives_special_framedraw_rect_t  
)

add "reset values" button

void framedraw_connect ( lives_special_framedraw_rect_t ,
int  width,
int  height,
lives_rfx_t  
)

activate the image for clicks and draws

void framedraw_connect_spinbutton ( lives_special_framedraw_rect_t ,
lives_rfx_t  
)

connect spinbutton to preview

void framedraw_redraw ( lives_special_framedraw_rect_t ,
boolean  reload_image,
LiVESPixbuf *   
)

redraw when exposed/frame number changes

void load_framedraw_image ( LiVESPixbuf *  )

reload and redraw the frame

void load_rfx_preview ( lives_rfx_t rfx)

rfx preview

boolean on_framedraw_enter ( LiVESWidget *  ,
LiVESXEventCrossing *  ,
lives_special_framedraw_rect_t  
)
boolean on_framedraw_leave ( LiVESWidget *  ,
LiVESXEventCrossing *  ,
lives_special_framedraw_rect_t  
)
boolean on_framedraw_mouse_reset ( LiVESWidget *  ,
LiVESXEventButton *  ,
lives_special_framedraw_rect_t  
)
boolean on_framedraw_mouse_start ( LiVESWidget *  ,
LiVESXEventButton *  ,
lives_special_framedraw_rect_t  
)
boolean on_framedraw_mouse_update ( LiVESWidget *  ,
LiVESXEventMotion *  ,
lives_special_framedraw_rect_t  
)
void on_framedraw_reset_clicked ( LiVESButton *  ,
lives_special_framedraw_rect_t  
)

reset button

void redraw_framedraw_image ( void  )

just redraw the frame

void widget_add_framedraw ( LiVESVBox *  ,
int  start,
int  end,
boolean  add_preview_button,
int  width,
int  height 
)

call this to add framedraw widget to an hbox