LiVES  2.4.1-svn
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
paramwindow.c File Reference
#include "../libweed/weed.h"
#include "../libweed/weed-palettes.h"
#include "../libweed/weed-effects.h"
#include "../libweed/weed-utils.h"
#include "../libweed/weed-host.h"
#include "main.h"
#include "paramwindow.h"
#include "callbacks.h"
#include "support.h"
#include "resample.h"
#include "effects.h"
#include "rte_window.h"
#include "framedraw.h"
#include "ce_thumbs.h"

Macros

#define GIW_KNOB_WIDTH   (40.*widget_opts.scale)
 
#define GIW_KNOB_HEIGHT   (40.*widget_opts.scale)
 

Functions

boolean do_effect (lives_rfx_t *, boolean is_preview)
 defined as extern in paramwindow.c More...
 
void on_realfx_activate (LiVESMenuItem *, livespointer rfx)
 
LiVESList * do_onchange_init (lives_rfx_t *rfx)
 
void on_paramwindow_ok_clicked (LiVESButton *button, lives_rfx_t *rfx)
 
void on_paramwindow_cancel_clicked2 (LiVESButton *button, lives_rfx_t *rfx)
 
void on_paramwindow_cancel_clicked (LiVESButton *button, lives_rfx_t *rfx)
 
void on_render_fx_activate (LiVESMenuItem *menuitem, lives_rfx_t *rfx)
 
void transition_add_in_out (LiVESBox *vbox, lives_rfx_t *rfx, boolean add_audio_check)
 
void on_render_fx_pre_activate (LiVESMenuItem *menuitem, lives_rfx_t *rfx)
 
void on_fx_pre_activate (lives_rfx_t *rfx, int didx, LiVESWidget *pbox)
 
boolean make_param_box (LiVESVBox *top_vbox, lives_rfx_t *rfx)
 
boolean add_param_to_box (LiVESBox *box, lives_rfx_t *rfx, int pnum, boolean add_slider)
 
void add_param_label_to_box (LiVESBox *box, boolean do_trans, const char *text)
 
LiVESSList * add_usrgrp_to_livesgrp (LiVESSList *u2l, LiVESSList *rbgroup, int usr_number)
 
lives_widget_group_tlivesgrp_from_usrgrp (LiVESSList *u2l, int usrgrp)
 
void after_boolean_param_toggled (LiVESToggleButton *togglebutton, lives_rfx_t *rfx)
 
void after_param_value_changed (LiVESSpinButton *spinbutton, lives_rfx_t *rfx)
 
void update_weed_color_value (weed_plant_t *plant, int pnum, int c1, int c2, int c3, int c4)
 
void after_param_red_changed (LiVESSpinButton *spinbutton, lives_rfx_t *rfx)
 
void after_param_green_changed (LiVESSpinButton *spinbutton, lives_rfx_t *rfx)
 
void after_param_blue_changed (LiVESSpinButton *spinbutton, lives_rfx_t *rfx)
 
void after_param_alpha_changed (LiVESSpinButton *spinbutton, lives_rfx_t *rfx)
 
boolean after_param_text_focus_changed (LiVESWidget *hbox, LiVESWidget *child, lives_rfx_t *rfx)
 
void after_param_text_changed (LiVESWidget *textwidget, lives_rfx_t *rfx)
 
void after_string_list_changed (LiVESCombo *combo, lives_rfx_t *rfx)
 
char ** param_marshall_to_argv (lives_rfx_t *rfx)
 
char * param_marshall (lives_rfx_t *rfx, boolean with_min_max)
 
char * reconstruct_string (LiVESList *plist, int start, int *offs)
 
void param_demarshall (lives_rfx_t *rfx, LiVESList *plist, boolean with_min_max, boolean upd)
 
LiVESList * argv_to_marshalled_list (lives_rfx_t *rfx, int argc, char **argv)
 
int set_param_from_list (LiVESList *plist, lives_param_t *param, int pnum, boolean with_min_max, boolean upd)
 
LiVESList * do_onchange (LiVESObject *object, lives_rfx_t *rfx)
 
void on_pwcolsel (LiVESButton *button, lives_rfx_t *rfx)
 
void update_visual_params (lives_rfx_t *rfx, boolean update_hidden)
 

Variables

LiVESWidget * fx_dialog [2]
 

Macro Definition Documentation

#define GIW_KNOB_HEIGHT   (40.*widget_opts.scale)
#define GIW_KNOB_WIDTH   (40.*widget_opts.scale)

Function Documentation

void add_param_label_to_box ( LiVESBox *  box,
boolean  do_trans,
const char *  text 
)
boolean add_param_to_box ( LiVESBox *  box,
lives_rfx_t rfx,
int  pnum,
boolean  add_slider 
)
LiVESSList* add_usrgrp_to_livesgrp ( LiVESSList *  u2l,
LiVESSList *  rbgroup,
int  usr_number 
)
void after_boolean_param_toggled ( LiVESToggleButton *  togglebutton,
lives_rfx_t rfx 
)
void after_param_alpha_changed ( LiVESSpinButton *  spinbutton,
lives_rfx_t rfx 
)
void after_param_blue_changed ( LiVESSpinButton *  spinbutton,
lives_rfx_t rfx 
)
void after_param_green_changed ( LiVESSpinButton *  spinbutton,
lives_rfx_t rfx 
)
void after_param_red_changed ( LiVESSpinButton *  spinbutton,
lives_rfx_t rfx 
)
void after_param_text_changed ( LiVESWidget *  textwidget,
lives_rfx_t rfx 
)
boolean after_param_text_focus_changed ( LiVESWidget *  hbox,
LiVESWidget *  child,
lives_rfx_t rfx 
)
void after_param_value_changed ( LiVESSpinButton *  spinbutton,
lives_rfx_t rfx 
)
void after_string_list_changed ( LiVESCombo *  combo,
lives_rfx_t rfx 
)
LiVESList* argv_to_marshalled_list ( lives_rfx_t rfx,
int  argc,
char **  argv 
)
boolean do_effect ( lives_rfx_t ,
boolean  is_preview 
)

defined as extern in paramwindow.c

LiVESList* do_onchange ( LiVESObject *  object,
lives_rfx_t  
)

object should have g_set_object_data "param_number" set to parameter number

(0 based, -ve for init onchanges)

LiVESList* do_onchange_init ( lives_rfx_t rfx)
lives_widget_group_t* livesgrp_from_usrgrp ( LiVESSList *  u2l,
int  usrgrp 
)
boolean make_param_box ( LiVESVBox *  top_vbox,
lives_rfx_t rfx 
)
void on_fx_pre_activate ( lives_rfx_t rfx,
int  didx,
LiVESWidget *  pbox 
)
void on_paramwindow_cancel_clicked ( LiVESButton *  button,
lives_rfx_t rfx 
)
void on_paramwindow_cancel_clicked2 ( LiVESButton *  button,
lives_rfx_t rfx 
)
void on_paramwindow_ok_clicked ( LiVESButton *  button,
lives_rfx_t rfx 
)
void on_pwcolsel ( LiVESButton *  button,
lives_rfx_t rfx 
)
void on_realfx_activate ( LiVESMenuItem *  ,
livespointer  rfx 
)
void on_render_fx_activate ( LiVESMenuItem *  menuitem,
lives_rfx_t rfx 
)
void on_render_fx_pre_activate ( LiVESMenuItem *  menuitem,
lives_rfx_t rfx 
)
void param_demarshall ( lives_rfx_t rfx,
LiVESList *  plist,
boolean  with_min_max,
boolean  upd 
)
char* param_marshall ( lives_rfx_t rfx,
boolean  with_min_max 
)
char** param_marshall_to_argv ( lives_rfx_t rfx)
char* reconstruct_string ( LiVESList *  plist,
int  start,
int *  offs 
)
int set_param_from_list ( LiVESList *  plist,
lives_param_t param,
int  pnum,
boolean  with_min_max,
boolean  upd 
)
void transition_add_in_out ( LiVESBox *  vbox,
lives_rfx_t rfx,
boolean  add_audio_check 
)
void update_visual_params ( lives_rfx_t rfx,
boolean  update_hidden 
)
void update_weed_color_value ( weed_plant_t *  plant,
int  pnum,
int  c1,
int  c2,
int  c3,
int  c4 
)

Variable Documentation

LiVESWidget* fx_dialog[2]

note, we can only have two of these currently, one for rendered effects, one for real time effects 0 for rfx, 1 for rte