Mercurial > audlegacy
annotate audacious/ui_manager.h @ 2257:af716dc0cdb9 trunk
[svn] - do not create GtkAccelGroup anymore; use ui_manager_get_accel_group to get accelerator groups from ui_manager
author | giacomo |
---|---|
date | Thu, 04 Jan 2007 03:58:58 -0800 |
parents | 6fb65026a8c7 |
children | 8960824f6706 |
rev | line source |
---|---|
2232
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
1 /* Audacious - Cross-platform multimedia player |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
2 * Copyright (C) 2005-2007 Audacious development team. |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
3 * |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
4 * This program is free software; you can redistribute it and/or modify |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
5 * it under the terms of the GNU General Public License as published by |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
6 * the Free Software Foundation; under version 2 of the License. |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
7 * |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
8 * This program is distributed in the hope that it will be useful, |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
11 * GNU General Public License for more details. |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
12 * |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
13 * You should have received a copy of the GNU General Public License |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
14 * along with this program; if not, write to the Free Software |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
16 */ |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
17 |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
18 #ifndef AUD_UIMANAGER_H |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
19 #define AUD_UIMANAGER_H |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
20 |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
21 |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
22 #include <glib.h> |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
23 #include <glib/gi18n.h> |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
24 #include <gtk/gtk.h> |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
25 |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
26 |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
27 GtkWidget *mainwin_songname_menu; |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
28 GtkWidget *mainwin_general_menu; |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
29 GtkWidget *mainwin_visualization_menu; |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
30 GtkWidget *mainwin_playback_menu; |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
31 GtkWidget *mainwin_playlist_menu; |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
32 GtkWidget *mainwin_view_menu; |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
33 |
2245
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
34 GtkActionGroup *toggleaction_group_others; |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
35 GtkActionGroup *radioaction_group_anamode; /* Analyzer mode */ |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
36 GtkActionGroup *radioaction_group_anatype; /* Analyzer type */ |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
37 GtkActionGroup *radioaction_group_scomode; /* Scope mode */ |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
38 GtkActionGroup *radioaction_group_vprmode; /* Voiceprint mode */ |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
39 GtkActionGroup *radioaction_group_wshmode; /* WindowShade VU mode */ |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
40 GtkActionGroup *radioaction_group_refrate; /* Refresh rate */ |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
41 GtkActionGroup *radioaction_group_anafoff; /* Analyzer Falloff */ |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
42 GtkActionGroup *radioaction_group_peafoff; /* Peak Falloff */ |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
43 GtkActionGroup *radioaction_group_vismode; /* Visualization mode */ |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
44 GtkActionGroup *radioaction_group_viewtime; /* View time (remaining/elapsed) */ |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
45 GtkActionGroup *action_group_playback; |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
46 GtkActionGroup *action_group_playlist; |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
47 GtkActionGroup *action_group_visualization; |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
48 GtkActionGroup *action_group_view; |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
49 GtkActionGroup *action_group_others; |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
50 GtkActionGroup *action_group_add; |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
51 GtkActionGroup *action_group_select; |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
52 GtkActionGroup *action_group_delete; |
6fb65026a8c7
[svn] - port playlist uimanager code to giacomo's ui_manager framework
nenolod
parents:
2232
diff
changeset
|
53 GtkActionGroup *action_group_sort; |
2232
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
54 |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
55 |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
56 void uimanager_init ( void ); |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
57 void uimanager_create_menus ( void ); |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
58 GtkAccelGroup * ui_manager_get_accel_group ( void ); |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
59 GtkWidget * ui_manager_get_popup_menu ( GtkUIManager * , const gchar * ); |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
60 void ui_manager_popup_menu_show( GtkMenu * , gint , gint , guint , guint ); |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
61 #define popup_menu_show(x1,x2,x3,x4,x5) ui_manager_popup_menu_show(x1,x2,x3,x4,x5) |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
62 |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
63 |
ac2ea05e60a0
[svn] - migration from gtkitemfactory to actions and uimanager; main menu has been ported, still much work and test to do
giacomo
parents:
diff
changeset
|
64 #endif /* AUD_UIMANAGER_H */ |