Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
#include <string.h>
#include <stdio.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
#include <libaudcore/hook.h>
#include "config.h"
#include "debug.h"
#include "gtk-compat.h"
#include "i18n.h"
#include "misc.h"
#include "output.h"
#include "playback.h"
#include "playlist.h"
#include "plugin.h"
#include "plugins.h"
#include "preferences.h"
#include "ui_preferences.h"
Go to the source code of this file.
Classes | |
struct | Category |
struct | TitleFieldTag |
struct | CategoryQueueEntry |
Macros | |
#define | TITLESTRING_NPRESETS 6 |
Enumerations | |
enum | CategoryViewCols { CATEGORY_VIEW_COL_ICON, CATEGORY_VIEW_COL_NAME, CATEGORY_VIEW_COL_ID, CATEGORY_VIEW_N_COLS } |
Functions | |
static void | sw_volume_toggled (void) |
static void * | create_output_plugin_box (void) |
static void | prefswin_page_queue_destroy (CategoryQueueEntry *ent) |
static void | change_category (GtkNotebook *notebook, GtkTreeSelection *selection) |
static void | editable_insert_text (GtkEditable *editable, const char *text, int *pos) |
static void | titlestring_tag_menu_callback (GtkMenuItem *menuitem, gpointer data) |
static void | on_titlestring_help_button_clicked (GtkButton *button, gpointer data) |
static void | update_titlestring_cbox (GtkComboBox *cbox, const char *format) |
static void | on_titlestring_entry_changed (GtkEntry *entry, GtkComboBox *cbox) |
static void | on_titlestring_cbox_changed (GtkComboBox *cbox, GtkEntry *entry) |
static void | widget_set_bool (PreferencesWidget *widget, bool_t value) |
static bool_t | widget_get_bool (PreferencesWidget *widget) |
static void | widget_set_int (PreferencesWidget *widget, int value) |
static int | widget_get_int (PreferencesWidget *widget) |
static void | widget_set_double (PreferencesWidget *widget, double value) |
static double | widget_get_double (PreferencesWidget *widget) |
static void | widget_set_string (PreferencesWidget *widget, const char *value) |
static char * | widget_get_string (PreferencesWidget *widget) |
static void | on_font_btn_font_set (GtkFontButton *button, PreferencesWidget *widget) |
static void | plugin_preferences_ok (GtkWidget *widget, PluginPreferences *settings) |
static void | plugin_preferences_apply (GtkWidget *widget, PluginPreferences *settings) |
static void | plugin_preferences_cancel (GtkWidget *widget, PluginPreferences *settings) |
static void | plugin_preferences_destroy (GtkWidget *widget, PluginPreferences *settings) |
void | plugin_preferences_show (PluginPreferences *settings) |
void | plugin_preferences_cleanup (PluginPreferences *p) |
static void | on_spin_btn_changed_int (GtkSpinButton *button, PreferencesWidget *widget) |
static void | on_spin_btn_changed_float (GtkSpinButton *button, PreferencesWidget *widget) |
static void | fill_category_list (GtkTreeView *treeview, GtkNotebook *notebook) |
static void | on_show_filepopup_toggled (GtkToggleButton *button) |
static void | on_filepopup_settings_clicked (void) |
static void | on_filepopup_ok_clicked (void) |
static void | on_filepopup_cancel_clicked (GtkButton *button, gpointer data) |
static void | on_toggle_button_toggled (GtkToggleButton *button, PreferencesWidget *widget) |
static void | init_toggle_button (GtkWidget *button, PreferencesWidget *widget) |
static void | on_entry_changed (GtkEntry *entry, PreferencesWidget *widget) |
static void | on_cbox_changed_int (GtkComboBox *combobox, PreferencesWidget *widget) |
static void | on_cbox_changed_string (GtkComboBox *combobox, PreferencesWidget *widget) |
static void | fill_cbox (GtkWidget *combobox, PreferencesWidget *widget, const char *domain) |
void | create_filepopup_settings (void) |
static void | create_spin_button (PreferencesWidget *widget, GtkWidget **label_pre, GtkWidget **spin_btn, GtkWidget **label_past, const char *domain) |
void | create_font_btn (PreferencesWidget *widget, GtkWidget **label, GtkWidget **font_btn, const char *domain) |
static void | create_entry (PreferencesWidget *widget, GtkWidget **label, GtkWidget **entry, const char *domain) |
static void | create_label (PreferencesWidget *widget, GtkWidget **label, GtkWidget **icon, const char *domain) |
static void | create_cbox (PreferencesWidget *widget, GtkWidget **label, GtkWidget **combobox, const char *domain) |
static void | fill_table (GtkWidget *table, PreferencesWidget *elements, int amt, const char *domain) |
void | create_widgets_with_domain (void *box, PreferencesWidget *widgets, int amt, const char *domain) |
static GtkWidget * | create_titlestring_tag_menu (void) |
static void | show_numbers_cb (GtkToggleButton *numbers, void *unused) |
static void | leading_zero_cb (GtkToggleButton *leading) |
static void | create_titlestring_widgets (GtkWidget **cbox, GtkWidget **entry) |
static void | create_playlist_category (void) |
static bool_t | output_enum_cb (PluginHandle *plugin, GList **list) |
static GList * | output_get_list (void) |
static void | output_combo_update (GtkComboBox *combo) |
static void | output_combo_changed (GtkComboBox *combo) |
static void | output_combo_fill (GtkComboBox *combo) |
static void | output_do_config (void) |
static void | output_do_about (void) |
static void | create_audio_category (void) |
static void | create_connectivity_category (void) |
static void | create_plugin_category (void) |
static bool_t | prefswin_destroy (GtkWidget *window, GdkEvent *event, gpointer data) |
void ** | create_prefs_window (void) |
void | destroy_prefs_window (void) |
void | show_prefs_window (void) |
void | hide_prefs_window (void) |
static void | prefswin_page_queue_new (GtkWidget *container, const char *name, const char *imgurl) |
int | prefswin_page_new (void *container, const char *name, const char *imgurl) |
void | prefswin_page_destroy (GtkWidget *container) |
#define TITLESTRING_NPRESETS 6 |
Definition at line 219 of file ui_preferences.c.
Referenced by create_titlestring_widgets(), on_titlestring_cbox_changed(), and update_titlestring_cbox().
enum CategoryViewCols |
Definition at line 47 of file ui_preferences.c.
|
static |
Definition at line 240 of file ui_preferences.c.
Referenced by fill_category_list().
|
static |
Definition at line 1571 of file ui_preferences.c.
Referenced by create_prefs_window().
|
static |
Definition at line 1018 of file ui_preferences.c.
Referenced by create_widgets_with_domain(), and fill_table().
|
static |
Definition at line 1579 of file ui_preferences.c.
Referenced by create_prefs_window().
|
static |
Definition at line 978 of file ui_preferences.c.
Referenced by create_widgets_with_domain(), and fill_table().
void create_filepopup_settings | ( | void | ) |
Definition at line 751 of file ui_preferences.c.
Referenced by create_playlist_category().
void create_font_btn | ( | PreferencesWidget * | widget, |
GtkWidget ** | label, | ||
GtkWidget ** | font_btn, | ||
const char * | domain | ||
) |
Definition at line 950 of file ui_preferences.c.
Referenced by create_widgets_with_domain(), and fill_table().
|
static |
Definition at line 1003 of file ui_preferences.c.
Referenced by create_widgets_with_domain(), and fill_table().
|
static |
Definition at line 1538 of file ui_preferences.c.
|
static |
Definition at line 1318 of file ui_preferences.c.
Referenced by create_prefs_window().
|
static |
Definition at line 1593 of file ui_preferences.c.
Referenced by create_prefs_window().
void* * create_prefs_window | ( | void | ) |
Definition at line 1620 of file ui_preferences.c.
Referenced by show_prefs_window().
|
static |
Definition at line 912 of file ui_preferences.c.
Referenced by create_widgets_with_domain(), and fill_table().
|
static |
Definition at line 1267 of file ui_preferences.c.
Referenced by create_playlist_category().
|
static |
Definition at line 1299 of file ui_preferences.c.
Referenced by create_playlist_category().
void create_widgets_with_domain | ( | void * | box, |
PreferencesWidget * | widgets, | ||
int | amt, | ||
const char * | domain | ||
) |
Definition at line 1088 of file ui_preferences.c.
Referenced by plugin_preferences_show().
void destroy_prefs_window | ( | void | ) |
Definition at line 1728 of file ui_preferences.c.
|
static |
Definition at line 255 of file ui_preferences.c.
Referenced by titlestring_tag_menu_callback().
|
static |
Definition at line 544 of file ui_preferences.c.
Referenced by create_prefs_window().
|
static |
Definition at line 705 of file ui_preferences.c.
Referenced by create_cbox().
|
static |
Definition at line 1030 of file ui_preferences.c.
Referenced by create_widgets_with_domain().
void hide_prefs_window | ( | void | ) |
Definition at line 1742 of file ui_preferences.c.
|
static |
Definition at line 679 of file ui_preferences.c.
Referenced by create_widgets_with_domain().
|
static |
Definition at line 1292 of file ui_preferences.c.
Referenced by create_playlist_category().
|
static |
Definition at line 693 of file ui_preferences.c.
Referenced by fill_cbox().
|
static |
Definition at line 699 of file ui_preferences.c.
Referenced by fill_cbox().
|
static |
Definition at line 688 of file ui_preferences.c.
Referenced by create_entry().
|
static |
Definition at line 664 of file ui_preferences.c.
Referenced by create_filepopup_settings().
|
static |
Definition at line 641 of file ui_preferences.c.
Referenced by create_filepopup_settings().
|
static |
Definition at line 616 of file ui_preferences.c.
Referenced by create_playlist_category().
|
static |
Definition at line 421 of file ui_preferences.c.
Referenced by create_font_btn().
|
static |
Definition at line 609 of file ui_preferences.c.
Referenced by create_playlist_category().
|
static |
Definition at line 539 of file ui_preferences.c.
Referenced by create_spin_button().
|
static |
Definition at line 534 of file ui_preferences.c.
Referenced by create_spin_button().
|
static |
Definition at line 311 of file ui_preferences.c.
Referenced by create_titlestring_widgets().
|
static |
Definition at line 303 of file ui_preferences.c.
Referenced by create_titlestring_widgets().
|
static |
Definition at line 283 of file ui_preferences.c.
Referenced by create_playlist_category().
|
static |
Definition at line 669 of file ui_preferences.c.
Referenced by init_toggle_button().
|
static |
Definition at line 1503 of file ui_preferences.c.
Referenced by create_output_plugin_box().
|
static |
Definition at line 1513 of file ui_preferences.c.
Referenced by create_output_plugin_box().
|
static |
Definition at line 1495 of file ui_preferences.c.
Referenced by create_output_plugin_box(), and output_combo_changed().
|
static |
Definition at line 1530 of file ui_preferences.c.
Referenced by create_output_plugin_box().
|
static |
Definition at line 1520 of file ui_preferences.c.
Referenced by create_output_plugin_box().
|
static |
Definition at line 1475 of file ui_preferences.c.
Referenced by output_get_list().
|
static |
Definition at line 1481 of file ui_preferences.c.
Referenced by output_combo_changed(), output_combo_fill(), and output_combo_update().
|
static |
Definition at line 436 of file ui_preferences.c.
Referenced by plugin_preferences_show().
|
static |
Definition at line 443 of file ui_preferences.c.
Referenced by plugin_preferences_show().
void plugin_preferences_cleanup | ( | PluginPreferences * | p | ) |
Definition at line 525 of file ui_preferences.c.
Referenced by general_plugin_stop(), plugin2_unload(), and vis_plugin_stop().
|
static |
Definition at line 451 of file ui_preferences.c.
Referenced by plugin_preferences_show().
|
static |
Definition at line 427 of file ui_preferences.c.
Referenced by plugin_preferences_show().
void plugin_preferences_show | ( | PluginPreferences * | settings | ) |
Definition at line 461 of file ui_preferences.c.
Referenced by do_config(), and output_do_config().
|
static |
Definition at line 1609 of file ui_preferences.c.
Referenced by create_prefs_window(), and destroy_prefs_window().
void prefswin_page_destroy | ( | GtkWidget * | container | ) |
Definition at line 1829 of file ui_preferences.c.
int prefswin_page_new | ( | void * | container, |
const char * | name, | ||
const char * | imgurl | ||
) |
Definition at line 1783 of file ui_preferences.c.
Referenced by fill_category_list().
|
static |
Definition at line 1764 of file ui_preferences.c.
Referenced by fill_category_list().
|
static |
Definition at line 1748 of file ui_preferences.c.
Referenced by prefswin_page_new().
|
static |
Definition at line 1285 of file ui_preferences.c.
Referenced by create_playlist_category().
void show_prefs_window | ( | void | ) |
Definition at line 1733 of file ui_preferences.c.
|
static |
Definition at line 1876 of file ui_preferences.c.
|
static |
Definition at line 263 of file ui_preferences.c.
Referenced by create_titlestring_tag_menu().
|
static |
Definition at line 290 of file ui_preferences.c.
Referenced by create_titlestring_widgets(), and on_titlestring_entry_changed().
|
static |
Definition at line 331 of file ui_preferences.c.
Referenced by init_toggle_button().
|
static |
Definition at line 381 of file ui_preferences.c.
Referenced by create_spin_button().
|
static |
Definition at line 356 of file ui_preferences.c.
Referenced by create_spin_button(), and fill_cbox().
|
static |
Definition at line 409 of file ui_preferences.c.
Referenced by create_entry(), create_font_btn(), and fill_cbox().
|
static |
Definition at line 318 of file ui_preferences.c.
Referenced by on_toggle_button_toggled().
|
static |
Definition at line 368 of file ui_preferences.c.
Referenced by on_spin_btn_changed_float().
|
static |
Definition at line 343 of file ui_preferences.c.
Referenced by on_cbox_changed_int(), and on_spin_btn_changed_int().
|
static |
Definition at line 393 of file ui_preferences.c.
Referenced by on_cbox_changed_string(), on_entry_changed(), and on_font_btn_font_set().
|
static |
Definition at line 146 of file ui_preferences.c.
Referenced by create_audio_category().
|
static |
Definition at line 125 of file ui_preferences.c.
|
static |
|
static |
Definition at line 67 of file ui_preferences.c.
Referenced by create_audio_category(), create_connectivity_category(), create_playlist_category(), create_plugin_category(), create_prefs_window(), prefswin_destroy(), prefswin_page_destroy(), and prefswin_page_new().
CategoryQueueEntry* category_queue = NULL |
Definition at line 139 of file ui_preferences.c.
Referenced by fill_category_list(), and prefswin_page_queue_new().
|
static |
Definition at line 66 of file ui_preferences.c.
Referenced by create_prefs_window(), fill_category_list(), prefswin_page_destroy(), and prefswin_page_new().
|
static |
Definition at line 191 of file ui_preferences.c.
|
static |
Definition at line 180 of file ui_preferences.c.
Referenced by create_connectivity_category().
GtkWidget* filepopup_cover_name_exclude |
Definition at line 72 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_ok_clicked(), and on_filepopup_settings_clicked().
GtkWidget* filepopup_cover_name_include |
Definition at line 71 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_ok_clicked(), and on_filepopup_settings_clicked().
GtkWidget* filepopup_delay |
Definition at line 78 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_ok_clicked(), and on_filepopup_settings_clicked().
GtkWidget* filepopup_recurse |
Definition at line 73 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_ok_clicked(), and on_filepopup_settings_clicked().
GtkWidget* filepopup_recurse_depth |
Definition at line 74 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_ok_clicked(), and on_filepopup_settings_clicked().
GtkWidget* filepopup_recurse_depth_box |
Definition at line 75 of file ui_preferences.c.
Referenced by create_filepopup_settings().
|
static |
Definition at line 65 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_cancel_clicked(), on_filepopup_ok_clicked(), on_filepopup_settings_clicked(), and prefswin_destroy().
GtkWidget* filepopup_settings_button |
Definition at line 82 of file ui_preferences.c.
Referenced by create_playlist_category(), and on_show_filepopup_toggled().
GtkWidget* filepopup_showprogressbar |
Definition at line 77 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_ok_clicked(), and on_filepopup_settings_clicked().
GtkWidget* filepopup_use_file_cover |
Definition at line 76 of file ui_preferences.c.
Referenced by create_filepopup_settings(), on_filepopup_ok_clicked(), and on_filepopup_settings_clicked().
GtkWidget* filepopupbutton = NULL |
Definition at line 68 of file ui_preferences.c.
Referenced by create_playlist_category().
|
static |
Definition at line 91 of file ui_preferences.c.
Referenced by fill_category_list().
|
static |
Definition at line 107 of file ui_preferences.c.
Referenced by create_titlestring_tag_menu().
|
static |
Definition at line 1473 of file ui_preferences.c.
Referenced by create_output_plugin_box(), and output_combo_update().
|
static |
Definition at line 1473 of file ui_preferences.c.
Referenced by create_output_plugin_box(), and output_combo_update().
|
static |
Definition at line 201 of file ui_preferences.c.
Referenced by create_playlist_category().
|
static |
Definition at line 64 of file ui_preferences.c.
Referenced by create_filepopup_settings(), create_prefs_window(), destroy_prefs_window(), hide_prefs_window(), plugin_preferences_show(), prefswin_destroy(), and show_prefs_window().
|
static |
Definition at line 175 of file ui_preferences.c.
|
static |
Definition at line 171 of file ui_preferences.c.
|
static |
Definition at line 143 of file ui_preferences.c.
|
static |
Definition at line 93 of file ui_preferences.c.
GtkWidget* titlestring_entry |
Definition at line 81 of file ui_preferences.c.
Referenced by create_playlist_category(), and titlestring_tag_menu_callback().
|
static |
Definition at line 229 of file ui_preferences.c.
Referenced by create_titlestring_widgets().
|
static |
Definition at line 221 of file ui_preferences.c.
Referenced by on_titlestring_cbox_changed(), and update_titlestring_cbox().