LiVES  3.0.2
Functions
preferences.c File Reference
#include <dlfcn.h>
#include "../libweed/weed-palettes.h"
#include "main.h"
#include "paramwindow.h"
#include "callbacks.h"
#include "support.h"
#include "resample.h"
#include "plugins.h"
#include "rte_window.h"
#include "interface.h"

Functions

void toggle_button_sets_pref (LiVESToggleButton *button, livespointer prefidx)
 
LIVES_GLOBAL_INLINE int get_pref (const char *key, char *val, int maxlen)
 
LIVES_GLOBAL_INLINE int get_pref_from_file (const char *filename, const char *key, char *val, int maxlen)
 
int get_pref_utf8 (const char *key, char *val, int maxlen)
 
LiVESList * get_list_pref (const char *key)
 
void get_pref_default (const char *key, char *val, int maxlen)
 
LIVES_GLOBAL_INLINE boolean get_boolean_pref (const char *key)
 
LIVES_GLOBAL_INLINE int get_int_pref (const char *key)
 
LIVES_GLOBAL_INLINE double get_double_pref (const char *key)
 
LIVES_GLOBAL_INLINE boolean has_pref (const char *key)
 
boolean get_colour_pref (const char *key, lives_colRGBA64_t *lcol)
 
boolean get_theme_colour_pref (const char *themefile, const char *key, lives_colRGBA64_t *lcol)
 
int delete_pref (const char *key)
 
int set_pref (const char *key, const char *value)
 
int set_pref_utf8 (const char *key, const char *value)
 
void set_theme_pref (const char *themefile, const char *key, const char *value)
 
int set_int_pref (const char *key, int value)
 
int set_int64_pref (const char *key, int64_t value)
 
int set_double_pref (const char *key, double value)
 
int set_boolean_pref (const char *key, boolean value)
 
int set_list_pref (const char *key, LiVESList *values)
 
void set_theme_colour_pref (const char *themefile, const char *key, lives_colRGBA64_t *lcol)
 
int set_colour_pref (const char *key, lives_colRGBA64_t *lcol)
 
void set_palette_prefs (void)
 
void set_vpp (boolean set_in_prefs)
 
boolean pref_factory_string (const char *prefidx, const char *newval, boolean permanent)
 
boolean pref_factory_bool (const char *prefidx, boolean newval, boolean permanent)
 
boolean pref_factory_int (const char *prefidx, int newval, boolean permanent)
 
boolean pref_factory_string_choice (const char *prefidx, LiVESList *list, const char *strval, boolean permanent)
 
boolean pref_factory_float (const char *prefidx, float newval, boolean permanent)
 
boolean pref_factory_bitmapped (const char *prefidx, int bitfield, boolean newval, boolean permanent)
 
boolean apply_prefs (boolean skip_warn)
 
void save_future_prefs (void)
 
void rdet_acodec_changed (LiVESCombo *acodec_combo, livespointer user_data)
 
void set_acodec_list_from_allowed (_prefsw *prefsw, render_details *rdet)
 
void after_vpp_changed (LiVESWidget *vpp_combo, livespointer advbutton)
 
void prefsw_set_astream_settings (_vid_playback_plugin *vpp, _prefsw *prefsw)
 
void prefsw_set_rec_after_settings (_vid_playback_plugin *vpp, _prefsw *prefsw)
 
void on_prefDomainChanged (LiVESTreeSelection *widget, livespointer xprefsw)
 
void apply_button_set_enabled (LiVESWidget *widget, livespointer func_data)
 
_prefswcreate_prefs_dialog (LiVESWidget *saved_dialog)
 
void on_preferences_activate (LiVESMenuItem *menuitem, livespointer user_data)
 
void on_prefs_close_clicked (LiVESButton *button, livespointer user_data)
 
void pref_change_images (void)
 
void pref_change_xcolours (void)
 
void pref_change_colours (void)
 
void on_prefs_apply_clicked (LiVESButton *button, livespointer user_data)
 
void on_prefs_revert_clicked (LiVESButton *button, livespointer user_data)
 
boolean lives_ask_permission (int what)
 

Function Documentation

◆ after_vpp_changed()

void after_vpp_changed ( LiVESWidget *  vpp_combo,
livespointer  advbutton 
)

◆ apply_button_set_enabled()

void apply_button_set_enabled ( LiVESWidget *  widget,
livespointer  func_data 
)

◆ apply_prefs()

boolean apply_prefs ( boolean  skip_warn)

◆ create_prefs_dialog()

_prefsw* create_prefs_dialog ( LiVESWidget *  saved_dialog)

◆ delete_pref()

int delete_pref ( const char *  key)

◆ get_boolean_pref()

LIVES_GLOBAL_INLINE boolean get_boolean_pref ( const char *  key)

◆ get_colour_pref()

boolean get_colour_pref ( const char *  key,
lives_colRGBA64_t lcol 
)

◆ get_double_pref()

LIVES_GLOBAL_INLINE double get_double_pref ( const char *  key)

◆ get_int_pref()

LIVES_GLOBAL_INLINE int get_int_pref ( const char *  key)

◆ get_list_pref()

LiVESList* get_list_pref ( const char *  key)

◆ get_pref()

LIVES_GLOBAL_INLINE int get_pref ( const char *  key,
char *  val,
int  maxlen 
)

◆ get_pref_default()

void get_pref_default ( const char *  key,
char *  val,
int  maxlen 
)

◆ get_pref_from_file()

LIVES_GLOBAL_INLINE int get_pref_from_file ( const char *  filename,
const char *  key,
char *  val,
int  maxlen 
)

◆ get_pref_utf8()

int get_pref_utf8 ( const char *  key,
char *  val,
int  maxlen 
)

◆ get_theme_colour_pref()

boolean get_theme_colour_pref ( const char *  themefile,
const char *  key,
lives_colRGBA64_t lcol 
)

◆ has_pref()

LIVES_GLOBAL_INLINE boolean has_pref ( const char *  key)

◆ lives_ask_permission()

boolean lives_ask_permission ( int  what)

◆ on_prefDomainChanged()

void on_prefDomainChanged ( LiVESTreeSelection *  widget,
livespointer  xprefsw 
)

◆ on_preferences_activate()

void on_preferences_activate ( LiVESMenuItem *  menuitem,
livespointer  user_data 
)

◆ on_prefs_apply_clicked()

void on_prefs_apply_clicked ( LiVESButton *  button,
livespointer  user_data 
)

◆ on_prefs_close_clicked()

void on_prefs_close_clicked ( LiVESButton *  button,
livespointer  user_data 
)

Closes preferences dialog window

◆ on_prefs_revert_clicked()

void on_prefs_revert_clicked ( LiVESButton *  button,
livespointer  user_data 
)

◆ pref_change_colours()

void pref_change_colours ( void  )

◆ pref_change_images()

void pref_change_images ( void  )

◆ pref_change_xcolours()

void pref_change_xcolours ( void  )

◆ pref_factory_bitmapped()

boolean pref_factory_bitmapped ( const char *  prefidx,
int  bitfield,
boolean  newval,
boolean  permanent 
)

◆ pref_factory_bool()

boolean pref_factory_bool ( const char *  prefidx,
boolean  newval,
boolean  permanent 
)

◆ pref_factory_float()

boolean pref_factory_float ( const char *  prefidx,
float  newval,
boolean  permanent 
)

◆ pref_factory_int()

boolean pref_factory_int ( const char *  prefidx,
int  newval,
boolean  permanent 
)

◆ pref_factory_string()

boolean pref_factory_string ( const char *  prefidx,
const char *  newval,
boolean  permanent 
)

◆ pref_factory_string_choice()

boolean pref_factory_string_choice ( const char *  prefidx,
LiVESList *  list,
const char *  strval,
boolean  permanent 
)

◆ prefsw_set_astream_settings()

void prefsw_set_astream_settings ( _vid_playback_plugin vpp,
_prefsw prefsw 
)

◆ prefsw_set_rec_after_settings()

void prefsw_set_rec_after_settings ( _vid_playback_plugin vpp,
_prefsw prefsw 
)

◆ rdet_acodec_changed()

void rdet_acodec_changed ( LiVESCombo *  acodec_combo,
livespointer  user_data 
)

◆ save_future_prefs()

void save_future_prefs ( void  )

◆ set_acodec_list_from_allowed()

void set_acodec_list_from_allowed ( _prefsw prefsw,
render_details rdet 
)

◆ set_boolean_pref()

int set_boolean_pref ( const char *  key,
boolean  value 
)

◆ set_colour_pref()

int set_colour_pref ( const char *  key,
lives_colRGBA64_t lcol 
)

◆ set_double_pref()

int set_double_pref ( const char *  key,
double  value 
)

◆ set_int64_pref()

int set_int64_pref ( const char *  key,
int64_t  value 
)

◆ set_int_pref()

int set_int_pref ( const char *  key,
int  value 
)

◆ set_list_pref()

int set_list_pref ( const char *  key,
LiVESList *  values 
)

◆ set_palette_prefs()

void set_palette_prefs ( void  )

◆ set_pref()

int set_pref ( const char *  key,
const char *  value 
)

◆ set_pref_utf8()

int set_pref_utf8 ( const char *  key,
const char *  value 
)

◆ set_theme_colour_pref()

void set_theme_colour_pref ( const char *  themefile,
const char *  key,
lives_colRGBA64_t lcol 
)

◆ set_theme_pref()

void set_theme_pref ( const char *  themefile,
const char *  key,
const char *  value 
)

◆ set_vpp()

void set_vpp ( boolean  set_in_prefs)

◆ toggle_button_sets_pref()

void toggle_button_sets_pref ( LiVESToggleButton *  button,
livespointer  prefidx 
)