Mercurial > audlegacy
annotate src/audacious/ui_manager.h @ 2893:fb30d861b1f5 trunk
branch merge
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 24 Jun 2007 05:33:57 -0500 |
parents | 7dad846ec699 |
children | 062324422c40 |
rev | line source |
---|---|
2862
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
1 /* |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
2 * audacious: Cross-platform multimedia player. |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
3 * ui_manager.h: Code for working with GtkUIManager objects. |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
4 * |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
5 * Copyright (c) 2005-2007 Audacious development team. |
2313 | 6 * |
2862
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
7 * Redistribution and use in source and binary forms, with or without |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
8 * modification, are permitted provided that the following conditions are |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
9 * met: |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
10 * |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
11 * 1. Redistributions of source code must retain the above copyright notice, |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
12 * this list of conditions and the following disclaimer. |
2313 | 13 * |
2862
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
14 * 2. Redistributions in binary form must reproduce the above copyright |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
15 * notice, this list of conditions and the following disclaimer in the |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
16 * documentation and/or other materials provided with the distribution. |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
17 * |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
18 * 3. The name of the author may not be used to endorse or promote products |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
19 * derived from this software without specific prior written permission. |
2313 | 20 * |
2862
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
22 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
23 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
24 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
25 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
30 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
7dad846ec699
BSD relicensing (pass 3).
William Pitcock <nenolod@atheme.org>
parents:
2328
diff
changeset
|
31 * POSSIBILITY OF SUCH DAMAGE. |
2313 | 32 */ |
33 | |
34 #ifndef AUD_UIMANAGER_H | |
35 #define AUD_UIMANAGER_H | |
36 | |
37 | |
38 #include <glib.h> | |
39 #include <glib/gi18n.h> | |
40 #include <gtk/gtk.h> | |
41 | |
42 | |
43 GtkWidget *mainwin_songname_menu; | |
44 GtkWidget *mainwin_general_menu; | |
45 GtkWidget *mainwin_visualization_menu; | |
46 GtkWidget *mainwin_playback_menu; | |
47 GtkWidget *mainwin_playlist_menu; | |
48 GtkWidget *mainwin_view_menu; | |
49 | |
50 GtkWidget *playlistwin_pladd_menu; | |
51 GtkWidget *playlistwin_pldel_menu; | |
52 GtkWidget *playlistwin_plsel_menu; | |
53 GtkWidget *playlistwin_plsort_menu; | |
54 GtkWidget *playlistwin_pllist_menu; | |
55 GtkWidget *playlistwin_popup_menu; | |
56 | |
57 GtkWidget *equalizerwin_presets_menu; | |
58 | |
59 GtkActionGroup *toggleaction_group_others; | |
60 GtkActionGroup *radioaction_group_anamode; /* Analyzer mode */ | |
61 GtkActionGroup *radioaction_group_anatype; /* Analyzer type */ | |
62 GtkActionGroup *radioaction_group_scomode; /* Scope mode */ | |
63 GtkActionGroup *radioaction_group_vprmode; /* Voiceprint mode */ | |
64 GtkActionGroup *radioaction_group_wshmode; /* WindowShade VU mode */ | |
65 GtkActionGroup *radioaction_group_refrate; /* Refresh rate */ | |
66 GtkActionGroup *radioaction_group_anafoff; /* Analyzer Falloff */ | |
67 GtkActionGroup *radioaction_group_peafoff; /* Peak Falloff */ | |
68 GtkActionGroup *radioaction_group_vismode; /* Visualization mode */ | |
69 GtkActionGroup *radioaction_group_viewtime; /* View time (remaining/elapsed) */ | |
70 GtkActionGroup *action_group_playback; | |
71 GtkActionGroup *action_group_visualization; | |
72 GtkActionGroup *action_group_view; | |
73 GtkActionGroup *action_group_others; | |
74 GtkActionGroup *action_group_playlist; | |
75 GtkActionGroup *action_group_playlist_add; | |
76 GtkActionGroup *action_group_playlist_select; | |
77 GtkActionGroup *action_group_playlist_delete; | |
78 GtkActionGroup *action_group_playlist_sort; | |
79 GtkActionGroup *action_group_equalizer; | |
80 | |
81 | |
2328 | 82 void ui_manager_init ( void ); |
83 void ui_manager_create_menus ( void ); | |
2313 | 84 GtkAccelGroup * ui_manager_get_accel_group ( void ); |
85 GtkWidget * ui_manager_get_popup_menu ( GtkUIManager * , const gchar * ); | |
86 void ui_manager_popup_menu_show( GtkMenu * , gint , gint , guint , guint ); | |
87 #define popup_menu_show(x1,x2,x3,x4,x5) ui_manager_popup_menu_show(x1,x2,x3,x4,x5) | |
88 | |
89 | |
90 #endif /* AUD_UIMANAGER_H */ |