Mercurial > audlegacy
annotate src/audacious/ui_manager.h @ 3957:fed07be6b708
every other menu shows on button press..
| author | Tomasz Mon <desowin@gmail.com> |
|---|---|
| date | Fri, 16 Nov 2007 15:20:07 +0100 |
| parents | f1c756f39e6c |
| children | 5a0f5ef1de61 |
| rev | line source |
|---|---|
|
2894
062324422c40
Backed out changeset 7dad846ec69940e4e905c357ae8dff81240b579b
William Pitcock <nenolod@atheme.org>
parents:
2862
diff
changeset
|
1 /* Audacious - Cross-platform multimedia player |
|
062324422c40
Backed out changeset 7dad846ec69940e4e905c357ae8dff81240b579b
William Pitcock <nenolod@atheme.org>
parents:
2862
diff
changeset
|
2 * Copyright (C) 2005-2007 Audacious development team. |
| 2313 | 3 * |
|
2894
062324422c40
Backed out changeset 7dad846ec69940e4e905c357ae8dff81240b579b
William Pitcock <nenolod@atheme.org>
parents:
2862
diff
changeset
|
4 * This program is free software; you can redistribute it and/or modify |
|
062324422c40
Backed out changeset 7dad846ec69940e4e905c357ae8dff81240b579b
William Pitcock <nenolod@atheme.org>
parents:
2862
diff
changeset
|
5 * it under the terms of the GNU General Public License as published by |
|
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2894
diff
changeset
|
6 * the Free Software Foundation; under version 3 of the License. |
| 2313 | 7 * |
|
2894
062324422c40
Backed out changeset 7dad846ec69940e4e905c357ae8dff81240b579b
William Pitcock <nenolod@atheme.org>
parents:
2862
diff
changeset
|
8 * This program is distributed in the hope that it will be useful, |
|
062324422c40
Backed out changeset 7dad846ec69940e4e905c357ae8dff81240b579b
William Pitcock <nenolod@atheme.org>
parents:
2862
diff
changeset
|
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
062324422c40
Backed out changeset 7dad846ec69940e4e905c357ae8dff81240b579b
William Pitcock <nenolod@atheme.org>
parents:
2862
diff
changeset
|
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
062324422c40
Backed out changeset 7dad846ec69940e4e905c357ae8dff81240b579b
William Pitcock <nenolod@atheme.org>
parents:
2862
diff
changeset
|
11 * GNU General Public License for more details. |
| 2313 | 12 * |
|
2894
062324422c40
Backed out changeset 7dad846ec69940e4e905c357ae8dff81240b579b
William Pitcock <nenolod@atheme.org>
parents:
2862
diff
changeset
|
13 * You should have received a copy of the GNU General Public License |
|
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
2894
diff
changeset
|
14 * along with this program. If not, see <http://www.gnu.org/licenses>. |
|
3123
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
15 * |
|
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
16 * The Audacious team does not consider modular code linking to |
|
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
17 * Audacious or using our public API to be a derived work. |
| 2313 | 18 */ |
| 19 | |
| 20 #ifndef AUD_UIMANAGER_H | |
| 21 #define AUD_UIMANAGER_H | |
| 22 | |
| 23 | |
| 24 #include <glib.h> | |
| 25 #include <glib/gi18n.h> | |
| 26 #include <gtk/gtk.h> | |
| 27 | |
| 28 | |
| 29 GtkWidget *mainwin_songname_menu; | |
| 30 GtkWidget *mainwin_general_menu; | |
| 31 GtkWidget *mainwin_visualization_menu; | |
| 32 GtkWidget *mainwin_playback_menu; | |
| 33 GtkWidget *mainwin_playlist_menu; | |
| 34 GtkWidget *mainwin_view_menu; | |
| 35 | |
| 36 GtkWidget *playlistwin_pladd_menu; | |
| 37 GtkWidget *playlistwin_pldel_menu; | |
| 38 GtkWidget *playlistwin_plsel_menu; | |
| 39 GtkWidget *playlistwin_plsort_menu; | |
| 40 GtkWidget *playlistwin_pllist_menu; | |
| 41 GtkWidget *playlistwin_popup_menu; | |
| 42 | |
| 43 GtkWidget *equalizerwin_presets_menu; | |
| 44 | |
| 45 GtkActionGroup *toggleaction_group_others; | |
| 46 GtkActionGroup *radioaction_group_anamode; /* Analyzer mode */ | |
| 47 GtkActionGroup *radioaction_group_anatype; /* Analyzer type */ | |
| 48 GtkActionGroup *radioaction_group_scomode; /* Scope mode */ | |
| 49 GtkActionGroup *radioaction_group_vprmode; /* Voiceprint mode */ | |
| 50 GtkActionGroup *radioaction_group_wshmode; /* WindowShade VU mode */ | |
| 51 GtkActionGroup *radioaction_group_refrate; /* Refresh rate */ | |
| 52 GtkActionGroup *radioaction_group_anafoff; /* Analyzer Falloff */ | |
| 53 GtkActionGroup *radioaction_group_peafoff; /* Peak Falloff */ | |
| 54 GtkActionGroup *radioaction_group_vismode; /* Visualization mode */ | |
| 55 GtkActionGroup *radioaction_group_viewtime; /* View time (remaining/elapsed) */ | |
| 56 GtkActionGroup *action_group_playback; | |
| 57 GtkActionGroup *action_group_visualization; | |
| 58 GtkActionGroup *action_group_view; | |
| 59 GtkActionGroup *action_group_others; | |
| 60 GtkActionGroup *action_group_playlist; | |
| 61 GtkActionGroup *action_group_playlist_add; | |
| 62 GtkActionGroup *action_group_playlist_select; | |
| 63 GtkActionGroup *action_group_playlist_delete; | |
| 64 GtkActionGroup *action_group_playlist_sort; | |
| 65 GtkActionGroup *action_group_equalizer; | |
| 66 | |
| 67 | |
| 2328 | 68 void ui_manager_init ( void ); |
| 69 void ui_manager_create_menus ( void ); | |
| 2313 | 70 GtkAccelGroup * ui_manager_get_accel_group ( void ); |
| 71 GtkWidget * ui_manager_get_popup_menu ( GtkUIManager * , const gchar * ); | |
| 72 void ui_manager_popup_menu_show( GtkMenu * , gint , gint , guint , guint ); | |
| 73 #define popup_menu_show(x1,x2,x3,x4,x5) ui_manager_popup_menu_show(x1,x2,x3,x4,x5) | |
| 74 | |
| 75 | |
| 76 #endif /* AUD_UIMANAGER_H */ |
