annotate src/statusicon/si_cfg.h @ 980:6ba4a4bfd127 trunk

[svn] - fix overflow when calculates bitrate with non-fast scan on a huge sized file. - make file info dialog always do non-fast scan. user can easily add TLEN tag of correct play time length to a VBR encoded file which does not go along with fast scan. - tweak debug output.
author yaz
date Thu, 26 Apr 2007 02:06:12 -0700
parents 9f0ac3bb82f4
children ced4a5392948
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
857
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
1 /*
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
2 *
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
3 * Author: Giacomo Lozito <james@develia.org>, (C) 2005-2007
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
4 *
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
5 * This program is free software; you can redistribute it and/or modify it
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
6 * under the terms of the GNU General Public License as published by the
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
7 * Free Software Foundation; either version 2 of the License, or (at your
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
8 * option) any later version.
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
9 *
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
10 * This program is distributed in the hope that it will be useful, but
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
13 * General Public License for more details.
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
14 *
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License along
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
16 * with this program; if not, write to the Free Software Foundation, Inc.,
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
18 *
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
19 */
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
20
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
21 #ifndef _I_SI_CFG_H
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
22 #define _I_SI_CFG_H 1
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
23
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
24 #include "si_common.h"
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
25 #include <glib.h>
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
26
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
27
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
28 #define SI_CFG_RCLICK_MENU_AUD 0
962
9f0ac3bb82f4 [svn] - statusicon: added support for quit button in smallmenu; also, the field is being prepared for customizable smallmenu entries
giacomo
parents: 918
diff changeset
29 #define SI_CFG_RCLICK_MENU_SMALL1 1
9f0ac3bb82f4 [svn] - statusicon: added support for quit button in smallmenu; also, the field is being prepared for customizable smallmenu entries
giacomo
parents: 918
diff changeset
30 #define SI_CFG_RCLICK_MENU_SMALL2 2
857
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
31
918
209bd85dc1b9 [svn] - statusicon: add an option to use mouse wheel to change playing song instead of volume
giacomo
parents: 915
diff changeset
32 #define SI_CFG_SCROLL_ACTION_VOLUME 0
209bd85dc1b9 [svn] - statusicon: add an option to use mouse wheel to change playing song instead of volume
giacomo
parents: 915
diff changeset
33 #define SI_CFG_SCROLL_ACTION_SKIP 1
209bd85dc1b9 [svn] - statusicon: add an option to use mouse wheel to change playing song instead of volume
giacomo
parents: 915
diff changeset
34
857
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
35 typedef struct
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
36 {
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
37 gint rclick_menu;
918
209bd85dc1b9 [svn] - statusicon: add an option to use mouse wheel to change playing song instead of volume
giacomo
parents: 915
diff changeset
38 gint scroll_action;
915
1ccc7a9c7fc2 [svn] - statusicon: memorize player windows visibility status between sessions
giacomo
parents: 857
diff changeset
39 gboolean mw_visib_prevstatus;
1ccc7a9c7fc2 [svn] - statusicon: memorize player windows visibility status between sessions
giacomo
parents: 857
diff changeset
40 gboolean pw_visib_prevstatus;
1ccc7a9c7fc2 [svn] - statusicon: memorize player windows visibility status between sessions
giacomo
parents: 857
diff changeset
41 gboolean ew_visib_prevstatus;
857
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
42 }
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
43 si_cfg_t;
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
44
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
45 void si_cfg_load ( void );
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
46 void si_cfg_save ( void );
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
47
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
48
bad7c89d7ba0 [svn] statusicon: add missing files
giacomo
parents:
diff changeset
49 #endif /* !_I_SI_CFG_H */