LiVES 2.4.6

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | 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"`

## Macros
#define | LIVES_RFX_TIMER 10*U_SEC

## 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 | after_framedraw_frame_spinbutton_changed (LiVESSpinButton *spinbutton, lives_special_framedraw_rect_t *framedraw)
| change the frame number 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...

## Macro Definition Documentation

#define LIVES_RFX_TIMER 10*U_SEC

## Function Documentation

void after_framedraw_frame_spinbutton_changed | ( | LiVESSpinButton * | spinbutton,
|  | lives_special_framedraw_rect_t * | framedraw
| ) |  |

change the frame number

void after_framedraw_widget_changed | ( | LiVESWidget * | widget,
|  | lives_special_framedraw_rect_t * | framedraw
| ) |  |

callback for widgets

void framedraw_add_label | ( | LiVESVBox * | box | ) |

add explanatory label

void framedraw_add_reset | ( | LiVESVBox * | box,
|  | lives_special_framedraw_rect_t * | framedraw
| ) |  |

add "reset values" button

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

activate the image for clicks and draws

void framedraw_connect_spinbutton | ( | lives_special_framedraw_rect_t * | framedraw,
|  | lives_rfx_t * | rfx
| ) |  |

connect spinbutton to preview

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

redraw when exposed/frame number changes

void load_framedraw_image | ( | LiVESPixbuf * | pixbuf | ) |

reload and redraw the frame

void load_rfx_preview | ( | lives_rfx_t * | rfx | ) |

rfx preview

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_reset | ( | LiVESWidget * | widget,
|  | LiVESXEventButton * | 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
| ) |  |

void on_framedraw_reset_clicked | ( | LiVESButton * | button,
|  | lives_special_framedraw_rect_t * | framedraw
| ) |  |

reset button

void redraw_framedraw_image | ( | void |  | ) |

just redraw the frame

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