LiVES
3.2.0
|
#include <dlfcn.h>
#include "main.h"
#include "paramwindow.h"
#include "callbacks.h"
#include "resample.h"
#include "plugins.h"
#include "rte_window.h"
#include "interface.h"
#include "startup.h"
#include "effects-weed.h"
Go to the source code of this file.
Macros | |
#define | ACTIVE(widget, signal) |
Functions | |
void | toggle_sets_pref (LiVESWidget *widget, livespointer prefidx) |
callback to set to make a togglebutton or check_menu_item directly control a boolean pref widget is either a togge_button (sets temporary) or a check_menuitem (sets permanent) pref must have a corresponding entry in pref_factory_bool() More... | |
LIVES_GLOBAL_INLINE LiVESResponseType | get_string_pref (const char *key, char *val, int maxlen) |
LIVES_GLOBAL_INLINE LiVESResponseType | get_string_prefd (const char *key, char *val, int maxlen, const char *def) |
LIVES_GLOBAL_INLINE LiVESResponseType | get_pref_from_file (const char *filename, const char *key, char *val, int maxlen) |
LiVESResponseType | get_utf8_pref (const char *key, char *val, int maxlen) |
LiVESList * | get_list_pref (const char *key) |
LIVES_GLOBAL_INLINE boolean | get_boolean_pref (const char *key) |
LIVES_GLOBAL_INLINE boolean | get_boolean_prefd (const char *key, boolean defval) |
LIVES_GLOBAL_INLINE int | get_int_pref (const char *key) |
LIVES_GLOBAL_INLINE int | get_int_prefd (const char *key, int defval) |
LIVES_GLOBAL_INLINE int64_t | get_int64_prefd (const char *key, int64_t defval) |
LIVES_GLOBAL_INLINE double | get_double_pref (const char *key) |
LIVES_GLOBAL_INLINE double | get_double_prefd (const char *key, double defval) |
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 *key, lives_colRGBA64_t *lcol) |
int | delete_pref (const char *key) |
int | set_string_pref (const char *key, const char *value) |
int | set_string_pref_priority (const char *key, const char *value) |
int | set_utf8_pref (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 (boolean save) |
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_color_button (lives_colRGBA64_t *pcol, LiVESColorButton *cbutton) |
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 | pref_factory_int64 (const char *prefidx, int64_t 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_prefs_page_changed (LiVESTreeSelection *widget, _prefsw *prefsw) |
void | apply_button_set_enabled (LiVESWidget *widget, livespointer func_data) |
_prefsw * | create_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 (char **argv, int argc, int offs) |
#define ACTIVE | ( | widget, | |
signal | |||
) |
Definition at line 36 of file preferences.c.
void after_vpp_changed | ( | LiVESWidget * | vpp_combo, |
livespointer | advbutton | ||
) |
Definition at line 2497 of file preferences.c.
void apply_button_set_enabled | ( | LiVESWidget * | widget, |
livespointer | func_data | ||
) |
Definition at line 2911 of file preferences.c.
Referenced by create_resaudw().
locale encoding
locale encoding
Definition at line 1324 of file preferences.c.
Referenced by on_prefs_apply_clicked().
_prefsw* create_prefs_dialog | ( | LiVESWidget * | saved_dialog | ) |
int delete_pref | ( | const char * | key | ) |
Definition at line 282 of file preferences.c.
LIVES_GLOBAL_INLINE boolean get_boolean_pref | ( | const char * | key | ) |
Definition at line 146 of file preferences.c.
LIVES_GLOBAL_INLINE boolean get_boolean_prefd | ( | const char * | key, |
boolean | defval | ||
) |
Definition at line 154 of file preferences.c.
boolean get_colour_pref | ( | const char * | key, |
lives_colRGBA64_t * | lcol | ||
) |
this is for leading colours from prefs; for loading from themes
Definition at line 211 of file preferences.c.
LIVES_GLOBAL_INLINE double get_double_pref | ( | const char * | key | ) |
Definition at line 187 of file preferences.c.
LIVES_GLOBAL_INLINE double get_double_prefd | ( | const char * | key, |
double | defval | ||
) |
Definition at line 195 of file preferences.c.
LIVES_GLOBAL_INLINE int64_t get_int64_prefd | ( | const char * | key, |
int64_t | defval | ||
) |
Definition at line 179 of file preferences.c.
LIVES_GLOBAL_INLINE int get_int_pref | ( | const char * | key | ) |
Definition at line 163 of file preferences.c.
LIVES_GLOBAL_INLINE int get_int_prefd | ( | const char * | key, |
int | defval | ||
) |
Definition at line 171 of file preferences.c.
LiVESList* get_list_pref | ( | const char * | key | ) |
Definition at line 123 of file preferences.c.
LIVES_GLOBAL_INLINE LiVESResponseType get_pref_from_file | ( | const char * | filename, |
const char * | key, | ||
char * | val, | ||
int | maxlen | ||
) |
get from non-prefs
Definition at line 106 of file preferences.c.
Referenced by get_clip_value(), and on_import_theme_activate().
LIVES_GLOBAL_INLINE LiVESResponseType get_string_pref | ( | const char * | key, |
char * | val, | ||
int | maxlen | ||
) |
get from prefs
Definition at line 92 of file preferences.c.
Referenced by get_boolean_pref(), get_boolean_prefd(), get_colour_pref(), get_double_pref(), get_double_prefd(), get_int64_prefd(), get_int_pref(), get_int_prefd(), get_list_pref(), get_utf8_pref(), and has_pref().
LIVES_GLOBAL_INLINE LiVESResponseType get_string_prefd | ( | const char * | key, |
char * | val, | ||
int | maxlen, | ||
const char * | def | ||
) |
get from prefs
Definition at line 98 of file preferences.c.
boolean get_theme_colour_pref | ( | const char * | key, |
lives_colRGBA64_t * | lcol | ||
) |
load from mainw->gen_cache
Definition at line 234 of file preferences.c.
LiVESResponseType get_utf8_pref | ( | const char * | key, |
char * | val, | ||
int | maxlen | ||
) |
Definition at line 112 of file preferences.c.
Referenced by reload_clip().
LIVES_GLOBAL_INLINE boolean has_pref | ( | const char * | key | ) |
Definition at line 203 of file preferences.c.
boolean lives_ask_permission | ( | char ** | argv, |
int | argc, | ||
int | offs | ||
) |
Definition at line 6031 of file preferences.c.
Referenced by autolives_toggle(), and handle_backend_errors().
void on_preferences_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 5772 of file preferences.c.
void on_prefs_apply_clicked | ( | LiVESButton * | button, |
livespointer | user_data | ||
) |
Definition at line 5885 of file preferences.c.
void on_prefs_close_clicked | ( | LiVESButton * | button, |
livespointer | user_data | ||
) |
Closes preferences dialog window
Definition at line 5809 of file preferences.c.
void on_prefs_page_changed | ( | LiVESTreeSelection * | widget, |
_prefsw * | prefsw | ||
) |
Definition at line 2798 of file preferences.c.
void on_prefs_revert_clicked | ( | LiVESButton * | button, |
livespointer | user_data | ||
) |
Definition at line 5981 of file preferences.c.
Referenced by on_prefs_apply_clicked().
void pref_change_colours | ( | void | ) |
Definition at line 5866 of file preferences.c.
Referenced by on_import_theme_activate(), and on_prefs_apply_clicked().
void pref_change_images | ( | void | ) |
Definition at line 5835 of file preferences.c.
Referenced by on_import_theme_activate(), and on_prefs_apply_clicked().
void pref_change_xcolours | ( | void | ) |
Definition at line 5852 of file preferences.c.
Referenced by on_import_theme_activate(), and on_prefs_apply_clicked().
boolean pref_factory_bitmapped | ( | const char * | prefidx, |
int | bitfield, | ||
boolean | newval, | ||
boolean | permanent | ||
) |
Definition at line 1240 of file preferences.c.
allow dialog checkbutton to set permanent pref
allow dialog checkbutton to set permanent pref
Definition at line 717 of file preferences.c.
Referenced by on_audio_toggled(), switch_aud_to_none(), switch_aud_to_sox(), toggle_sets_pref(), and vj_mode_toggled().
boolean pref_factory_color_button | ( | lives_colRGBA64_t * | pcol, |
LiVESColorButton * | cbutton | ||
) |
Definition at line 1033 of file preferences.c.
Definition at line 1192 of file preferences.c.
Referenced by on_volume_slider_value_changed().
Definition at line 1053 of file preferences.c.
Referenced by on_sticky_activate().
Definition at line 1299 of file preferences.c.
Definition at line 554 of file preferences.c.
boolean pref_factory_string_choice | ( | const char * | prefidx, |
LiVESList * | list, | ||
const char * | strval, | ||
boolean | permanent | ||
) |
Definition at line 1161 of file preferences.c.
void prefsw_set_astream_settings | ( | _vid_playback_plugin * | vpp, |
_prefsw * | prefsw | ||
) |
Definition at line 2730 of file preferences.c.
Referenced by open_vid_playback_plugin().
void prefsw_set_rec_after_settings | ( | _vid_playback_plugin * | vpp, |
_prefsw * | prefsw | ||
) |
void rdet_acodec_changed | ( | LiVESCombo * | acodec_combo, |
livespointer | user_data | ||
) |
Definition at line 2417 of file preferences.c.
void save_future_prefs | ( | void | ) |
Definition at line 2394 of file preferences.c.
void set_acodec_list_from_allowed | ( | _prefsw * | prefsw, |
render_details * | rdet | ||
) |
Definition at line 2437 of file preferences.c.
Referenced by on_encoder_ofmt_changed().
int set_boolean_pref | ( | const char * | key, |
boolean | value | ||
) |
Definition at line 354 of file preferences.c.
Referenced by mt_change_vals_activate(), on_multitrack_activate(), on_toolbar_hide(), pref_factory_bool(), and save_future_prefs().
int set_colour_pref | ( | const char * | key, |
lives_colRGBA64_t * | lcol | ||
) |
Definition at line 402 of file preferences.c.
Referenced by set_palette_prefs().
int set_double_pref | ( | const char * | key, |
double | value | ||
) |
Definition at line 346 of file preferences.c.
Referenced by mt_change_vals_activate(), on_multitrack_activate(), and pref_factory_float().
int set_int64_pref | ( | const char * | key, |
int64_t | value | ||
) |
Definition at line 337 of file preferences.c.
Referenced by pref_factory_int64().
int set_int_pref | ( | const char * | key, |
int | value | ||
) |
Definition at line 329 of file preferences.c.
Referenced by do_startup_interface_query(), mt_change_disp_tracks_ok(), mt_change_vals_activate(), on_cleardisk_advanced_clicked(), on_multitrack_activate(), on_warn_mask_toggled(), pref_factory_bitmapped(), pref_factory_bool(), pref_factory_int(), pref_factory_string(), pref_factory_string_choice(), and rdet_acodec_changed().
int set_list_pref | ( | const char * | key, |
LiVESList * | values | ||
) |
Definition at line 368 of file preferences.c.
void set_palette_prefs | ( | boolean | save | ) |
Definition at line 412 of file preferences.c.
Referenced by on_prefs_apply_clicked().
int set_string_pref | ( | const char * | key, |
const char * | value | ||
) |
Definition at line 290 of file preferences.c.
Referenced by check_for_layout_del(), del_current_set(), do_audio_choice_dialog(), do_workdir_query(), mt_set_autotrans(), on_encoder_entry_changed(), on_encoder_ofmt_changed(), on_import_theme_activate(), on_quit_activate(), open_vid_playback_plugin(), pref_factory_string(), recover_layout(), remove_layout_files(), save_future_prefs(), set_list_pref(), set_palette_prefs(), set_vpp(), switch_aud_to_jack(), switch_aud_to_none(), switch_aud_to_pulse(), switch_aud_to_sox(), and wipe_layout().
int set_string_pref_priority | ( | const char * | key, |
const char * | value | ||
) |
Definition at line 298 of file preferences.c.
Referenced by do_workdir_query(), and save_future_prefs().
void set_theme_colour_pref | ( | const char * | themefile, |
const char * | key, | ||
lives_colRGBA64_t * | lcol | ||
) |
Definition at line 393 of file preferences.c.
void set_theme_pref | ( | const char * | themefile, |
const char * | key, | ||
const char * | value | ||
) |
Definition at line 317 of file preferences.c.
int set_utf8_pref | ( | const char * | key, |
const char * | value | ||
) |
Definition at line 306 of file preferences.c.
Referenced by on_ok_file_open_clicked(), pref_factory_string(), reload_clip(), and save_frame().
void set_vpp | ( | boolean | set_in_prefs | ) |
Definition at line 476 of file preferences.c.
Referenced by on_send_lives2lives_activate(), and open_vid_playback_plugin().
void toggle_sets_pref | ( | LiVESWidget * | widget, |
livespointer | prefidx | ||
) |
callback to set to make a togglebutton or check_menu_item directly control a boolean pref widget is either a togge_button (sets temporary) or a check_menuitem (sets permanent) pref must have a corresponding entry in pref_factory_bool()
See also: on_boolean_toggled()
Definition at line 46 of file preferences.c.
Referenced by create_cds_dialog(), do_messages_window(), get_eload_filename(), and trash_rb().