main

main

Synopsis




#define             PLAYER_HEIGHT
#define             PLAYER_WIDTH
                    BmpConfig;
extern              BmpConfig cfg;
extern              BmpConfig bmp_default_config;
extern              const guint n_titlestring_presets;
extern              const guint n_chardet_detector_presets;
extern              GList *dock_window_list;
extern              gboolean pposition_broken;
extern              gboolean starting_up;
extern              gboolean has_x11_connection;
void                bmp_config_save                     (void);
void                bmp_config_load                     (void);
void                make_directory                      (const gchar *path,
                                                         mode_t mode);
void                report_error                        (const gchar *error_text);
extern              GCond *cond_scan;
extern              GMutex *mutex_scan;

Description

Details

PLAYER_HEIGHT

#define             PLAYER_HEIGHT


PLAYER_WIDTH

#define             PLAYER_WIDTH


BmpConfig

typedef struct {
    gint player_x, player_y;
    gint equalizer_x, equalizer_y;
    gint playlist_x, playlist_y;
    gint playlist_width, playlist_height;
    gint snap_distance;
    gboolean use_realtime;
    gboolean shuffle, repeat;
    gboolean doublesize, autoscroll;
    gboolean analyzer_peaks, equalizer_autoload, easy_move, equalizer_active;
    gboolean playlist_visible, equalizer_visible, player_visible;
    gboolean player_shaded, playlist_shaded, equalizer_shaded;
    gboolean allow_multiple_instances, always_show_cb;
    gboolean convert_underscore, convert_twenty, convert_slash;
    gboolean show_numbers_in_pl;
    gboolean snap_windows, save_window_position;
    gboolean dim_titlebar;
    gboolean get_info_on_load, get_info_on_demand;
    gboolean eq_doublesize_linked;
    gboolean sort_jump_to_file;
    gboolean use_eplugins;
    gboolean always_on_top, sticky;
    gboolean no_playlist_advance;
    gboolean stopaftersong;
    gboolean refresh_file_list;
    gboolean smooth_title_scroll;
    gboolean use_pl_metadata;
    gboolean warn_about_unplayables;
    gboolean use_backslash_as_dir_delimiter;
    gboolean random_skin_on_play;
    gboolean use_fontsets;
    gboolean mainwin_use_xfont;
    gboolean custom_cursors;
    gboolean close_dialog_open;
    gboolean close_dialog_add;
    gfloat equalizer_preamp, equalizer_bands[10];
    gchar *skin;
    gchar *outputplugin;
    gchar *filesel_path;
    gchar *playlist_path;
    gchar *playlist_font, *mainwin_font;
    gchar *disabled_iplugins;
    gchar *enabled_gplugins, *enabled_vplugins, *enabled_eplugins;
    gchar *eqpreset_default_file, *eqpreset_extension;
    GList *url_history;
    gint timer_mode;
    gint vis_type;
    gint analyzer_mode, analyzer_type;
    gint scope_mode;
    gint voiceprint_mode;
    gint vu_mode, vis_refresh;
    gint analyzer_falloff, peaks_falloff;
    gint playlist_position;
    gint pause_between_songs_time;
    gboolean pause_between_songs;
    gboolean show_wm_decorations;
    gint mouse_change;
    gboolean playlist_transparent;
    gint titlestring_preset;
    gchar *gentitle_format;
    gboolean softvolume_enable;
    gboolean xmms_compat_mode;
    gboolean eq_extra_filtering;
    gint scroll_pl_by;
    gboolean resume_playback_on_startup;
    gint resume_playback_on_startup_time;
    gboolean show_separator_in_pl;
    gchar *chardet_detector;
    gchar *chardet_fallback;
    gint output_buffer_size;
    gboolean playlist_detect;
    gboolean show_filepopup_for_tuple;
    gchar *cover_name_include, *cover_name_exclude;
    gboolean recurse_for_cover;
    gint recurse_for_cover_depth;
    gchar *session_uri_base;
    gint filepopup_pixelsize;
    gint filepopup_delay;
    gboolean use_file_cover;
    gboolean use_xmms_style_fileselector;
    gboolean use_extension_probing;
    gint colorize_r; gint colorize_g; gint colorize_b;
    gboolean terminate;
    gboolean filepopup_showprogressbar;
} BmpConfig;


cfg

extern BmpConfig cfg;


bmp_default_config

extern BmpConfig bmp_default_config;


n_titlestring_presets

extern const guint n_titlestring_presets;


n_chardet_detector_presets

extern const guint n_chardet_detector_presets;


dock_window_list

extern GList *dock_window_list;


pposition_broken

extern gboolean pposition_broken;


starting_up

extern gboolean starting_up;


has_x11_connection

extern gboolean has_x11_connection;


bmp_config_save ()

void                bmp_config_save                     (void);


bmp_config_load ()

void                bmp_config_load                     (void);


make_directory ()

void                make_directory                      (const gchar *path,
                                                         mode_t mode);

path :

mode :


report_error ()

void                report_error                        (const gchar *error_text);

error_text :


cond_scan

extern GCond *cond_scan;


mutex_scan

extern GMutex *mutex_scan;