LiVES  3.0.2
Functions
framedraw.c File Reference
#include "../libweed/weed-palettes.h"
#include "main.h"
#include "callbacks.h"
#include "support.h"
#include "interface.h"
#include "effects.h"
#include "cvirtual.h"
#include "framedraw.h"

Functions

void framedraw_connect_spinbutton (lives_special_framedraw_rect_t *framedraw, lives_rfx_t *rfx)
 connect spinbutton to preview More...
 
void framedraw_connect (lives_special_framedraw_rect_t *framedraw, int width, int height, lives_rfx_t *rfx)
 activate the image for clicks and draws More...
 
void framedraw_add_label (LiVESVBox *box)
 add explanatory label More...
 
void framedraw_add_reset (LiVESVBox *box, lives_special_framedraw_rect_t *framedraw)
 add "reset values" button More...
 
void widget_add_framedraw (LiVESVBox *box, 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 *framedraw, boolean reload, LiVESPixbuf *pixbuf)
 redraw when exposed/frame number changes More...
 
void load_rfx_preview (lives_rfx_t *rfx)
 rfx preview More...
 
void load_framedraw_image (LiVESPixbuf *pixbuf)
 reload and redraw the frame More...
 
void redraw_framedraw_image (void)
 just redraw the frame More...
 
boolean on_framedraw_enter (LiVESWidget *widget, LiVESXEventCrossing *event, lives_special_framedraw_rect_t *framedraw)
 
boolean on_framedraw_leave (LiVESWidget *widget, LiVESXEventCrossing *event, lives_special_framedraw_rect_t *framedraw)
 
boolean on_framedraw_mouse_start (LiVESWidget *widget, LiVESXEventButton *event, lives_special_framedraw_rect_t *framedraw)
 
boolean on_framedraw_mouse_update (LiVESWidget *widget, LiVESXEventMotion *event, lives_special_framedraw_rect_t *framedraw)
 
boolean on_framedraw_mouse_reset (LiVESWidget *widget, LiVESXEventButton *event, lives_special_framedraw_rect_t *framedraw)
 
void after_framedraw_widget_changed (LiVESWidget *widget, lives_special_framedraw_rect_t *framedraw)
 callback for widgets More...
 
void on_framedraw_reset_clicked (LiVESButton *button, lives_special_framedraw_rect_t *framedraw)
 reset button More...
 

Function Documentation

◆ after_framedraw_widget_changed()

void after_framedraw_widget_changed ( LiVESWidget *  widget,
lives_special_framedraw_rect_t framedraw 
)

callback for widgets

◆ framedraw_add_label()

void framedraw_add_label ( LiVESVBox *  box)

add explanatory label

◆ framedraw_add_reset()

void framedraw_add_reset ( LiVESVBox *  box,
lives_special_framedraw_rect_t framedraw 
)

add "reset values" button

◆ framedraw_connect()

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

activate the image for clicks and draws

◆ framedraw_connect_spinbutton()

void framedraw_connect_spinbutton ( lives_special_framedraw_rect_t framedraw,
lives_rfx_t rfx 
)

connect spinbutton to preview

◆ framedraw_redraw()

void framedraw_redraw ( lives_special_framedraw_rect_t framedraw,
boolean  reload,
LiVESPixbuf *  pixbuf 
)

redraw when exposed/frame number changes

◆ load_framedraw_image()

void load_framedraw_image ( LiVESPixbuf *  pixbuf)

reload and redraw the frame

◆ load_rfx_preview()

void load_rfx_preview ( lives_rfx_t rfx)

rfx preview

◆ on_framedraw_enter()

boolean on_framedraw_enter ( LiVESWidget *  widget,
LiVESXEventCrossing *  event,
lives_special_framedraw_rect_t framedraw 
)

◆ on_framedraw_leave()

boolean on_framedraw_leave ( LiVESWidget *  widget,
LiVESXEventCrossing *  event,
lives_special_framedraw_rect_t framedraw 
)

◆ on_framedraw_mouse_reset()

boolean on_framedraw_mouse_reset ( LiVESWidget *  widget,
LiVESXEventButton *  event,
lives_special_framedraw_rect_t framedraw 
)

◆ on_framedraw_mouse_start()

boolean on_framedraw_mouse_start ( LiVESWidget *  widget,
LiVESXEventButton *  event,
lives_special_framedraw_rect_t framedraw 
)

◆ on_framedraw_mouse_update()

boolean on_framedraw_mouse_update ( LiVESWidget *  widget,
LiVESXEventMotion *  event,
lives_special_framedraw_rect_t framedraw 
)

◆ on_framedraw_reset_clicked()

void on_framedraw_reset_clicked ( LiVESButton *  button,
lives_special_framedraw_rect_t framedraw 
)

reset button

◆ redraw_framedraw_image()

void redraw_framedraw_image ( void  )

just redraw the frame

◆ widget_add_framedraw()

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

call this to add framedraw widget to an hbox