comparison src/audacious/main.h @ 4216:75d99359357b

doublesize -> custom scale: * initial work, just got it to compile * doublesize is broken at all
author Cristi Magherusan <majeru@atheme.org>
date Sun, 27 Jan 2008 19:43:53 +0200
parents 5853d43e539a
children f1074a07ec09
comparison
equal deleted inserted replaced
4215:6028b7fff0bd 4216:75d99359357b
39 G_BEGIN_DECLS 39 G_BEGIN_DECLS
40 40
41 #define PLAYER_HEIGHT \ 41 #define PLAYER_HEIGHT \
42 ((cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : MAINWIN_HEIGHT) * (cfg.doublesize + 1)) 42 ((cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : MAINWIN_HEIGHT) * (cfg.doublesize + 1))
43 #define PLAYER_WIDTH \ 43 #define PLAYER_WIDTH \
44 (MAINWIN_WIDTH * (cfg.doublesize + 1)) 44 (MAINWIN_WIDTH * (cfg.scaled ? gui_scale_factor : 1))
45 45
46 /* macro for debug print */ 46 /* macro for debug print */
47 #ifdef AUD_DEBUG 47 #ifdef AUD_DEBUG
48 # define AUDDBG(...) g_print("%s:%d %s(): ", __FILE__, (int)__LINE__, __FUNCTION__), g_print(__VA_ARGS__) 48 # define AUDDBG(...) g_print("%s:%d %s(): ", __FILE__, (int)__LINE__, __FUNCTION__), g_print(__VA_ARGS__)
49 #else 49 #else
56 gint playlist_x, playlist_y; 56 gint playlist_x, playlist_y;
57 gint playlist_width, playlist_height; 57 gint playlist_width, playlist_height;
58 gint snap_distance; 58 gint snap_distance;
59 gboolean use_realtime; 59 gboolean use_realtime;
60 gboolean shuffle, repeat; 60 gboolean shuffle, repeat;
61 gboolean doublesize, autoscroll; 61 gboolean scaled, autoscroll;
62 gboolean analyzer_peaks, equalizer_autoload, easy_move, equalizer_active; 62 gboolean analyzer_peaks, equalizer_autoload, easy_move, equalizer_active;
63 gboolean playlist_visible, equalizer_visible, player_visible; 63 gboolean playlist_visible, equalizer_visible, player_visible;
64 gboolean player_shaded, playlist_shaded, equalizer_shaded; 64 gboolean player_shaded, playlist_shaded, equalizer_shaded;
65 gboolean allow_multiple_instances, always_show_cb; 65 gboolean allow_multiple_instances, always_show_cb;
66 gboolean convert_underscore, convert_twenty, convert_slash; 66 gboolean convert_underscore, convert_twenty, convert_slash;
67 gboolean show_numbers_in_pl; 67 gboolean show_numbers_in_pl;
68 gboolean snap_windows, save_window_position; 68 gboolean snap_windows, save_window_position;
69 gboolean dim_titlebar; 69 gboolean dim_titlebar;
70 gboolean get_info_on_load, get_info_on_demand; 70 gboolean get_info_on_load, get_info_on_demand;
71 gboolean eq_doublesize_linked; 71 gboolean eq_scaled_linked;
72 gboolean sort_jump_to_file; 72 gboolean sort_jump_to_file;
73 gboolean use_eplugins; 73 gboolean use_eplugins;
74 gboolean always_on_top, sticky; 74 gboolean always_on_top, sticky;
75 gboolean no_playlist_advance; 75 gboolean no_playlist_advance;
76 gboolean stopaftersong; 76 gboolean stopaftersong;
85 gboolean mainwin_use_bitmapfont; 85 gboolean mainwin_use_bitmapfont;
86 gboolean custom_cursors; 86 gboolean custom_cursors;
87 gboolean close_dialog_open; 87 gboolean close_dialog_open;
88 gboolean close_dialog_add; 88 gboolean close_dialog_add;
89 gfloat equalizer_preamp, equalizer_bands[10]; 89 gfloat equalizer_preamp, equalizer_bands[10];
90 gfloat scale_factor;
90 gchar *skin; 91 gchar *skin;
91 gchar *outputplugin; 92 gchar *outputplugin;
92 gchar *filesel_path; 93 gchar *filesel_path;
93 gchar *playlist_path; 94 gchar *playlist_path;
94 gchar *playlist_font, *mainwin_font; 95 gchar *playlist_font, *mainwin_font;