2313
|
1 /* Audacious - Cross-platform multimedia player
|
|
2 * Copyright (C) 2005-2007 Audacious development team.
|
|
3 *
|
|
4 * This program is free software; you can redistribute it and/or modify
|
|
5 * it under the terms of the GNU General Public License as published by
|
|
6 * the Free Software Foundation; under version 2 of the License.
|
|
7 *
|
|
8 * This program is distributed in the hope that it will be useful,
|
|
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11 * GNU General Public License for more details.
|
|
12 *
|
|
13 * You should have received a copy of the GNU General Public License
|
|
14 * along with this program; if not, write to the Free Software
|
|
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
16 */
|
|
17
|
|
18 #ifndef AUD_UIMANAGER_H
|
|
19 #define AUD_UIMANAGER_H
|
|
20
|
|
21
|
|
22 #include <glib.h>
|
|
23 #include <glib/gi18n.h>
|
|
24 #include <gtk/gtk.h>
|
|
25
|
|
26
|
|
27 GtkWidget *mainwin_songname_menu;
|
|
28 GtkWidget *mainwin_general_menu;
|
|
29 GtkWidget *mainwin_visualization_menu;
|
|
30 GtkWidget *mainwin_playback_menu;
|
|
31 GtkWidget *mainwin_playlist_menu;
|
|
32 GtkWidget *mainwin_view_menu;
|
|
33
|
|
34 GtkWidget *playlistwin_pladd_menu;
|
|
35 GtkWidget *playlistwin_pldel_menu;
|
|
36 GtkWidget *playlistwin_plsel_menu;
|
|
37 GtkWidget *playlistwin_plsort_menu;
|
|
38 GtkWidget *playlistwin_pllist_menu;
|
|
39 GtkWidget *playlistwin_popup_menu;
|
|
40
|
|
41 GtkWidget *equalizerwin_presets_menu;
|
|
42
|
|
43 GtkActionGroup *toggleaction_group_others;
|
|
44 GtkActionGroup *radioaction_group_anamode; /* Analyzer mode */
|
|
45 GtkActionGroup *radioaction_group_anatype; /* Analyzer type */
|
|
46 GtkActionGroup *radioaction_group_scomode; /* Scope mode */
|
|
47 GtkActionGroup *radioaction_group_vprmode; /* Voiceprint mode */
|
|
48 GtkActionGroup *radioaction_group_wshmode; /* WindowShade VU mode */
|
|
49 GtkActionGroup *radioaction_group_refrate; /* Refresh rate */
|
|
50 GtkActionGroup *radioaction_group_anafoff; /* Analyzer Falloff */
|
|
51 GtkActionGroup *radioaction_group_peafoff; /* Peak Falloff */
|
|
52 GtkActionGroup *radioaction_group_vismode; /* Visualization mode */
|
|
53 GtkActionGroup *radioaction_group_viewtime; /* View time (remaining/elapsed) */
|
|
54 GtkActionGroup *action_group_playback;
|
|
55 GtkActionGroup *action_group_visualization;
|
|
56 GtkActionGroup *action_group_view;
|
|
57 GtkActionGroup *action_group_others;
|
|
58 GtkActionGroup *action_group_playlist;
|
|
59 GtkActionGroup *action_group_playlist_add;
|
|
60 GtkActionGroup *action_group_playlist_select;
|
|
61 GtkActionGroup *action_group_playlist_delete;
|
|
62 GtkActionGroup *action_group_playlist_sort;
|
|
63 GtkActionGroup *action_group_equalizer;
|
|
64
|
|
65
|
2328
|
66 void ui_manager_init ( void );
|
|
67 void ui_manager_create_menus ( void );
|
2313
|
68 GtkAccelGroup * ui_manager_get_accel_group ( void );
|
|
69 GtkWidget * ui_manager_get_popup_menu ( GtkUIManager * , const gchar * );
|
|
70 void ui_manager_popup_menu_show( GtkMenu * , gint , gint , guint , guint );
|
|
71 #define popup_menu_show(x1,x2,x3,x4,x5) ui_manager_popup_menu_show(x1,x2,x3,x4,x5)
|
|
72
|
|
73
|
|
74 #endif /* AUD_UIMANAGER_H */
|