5 * Copyright (C) 2002-2005 Monty
7 * Postfish is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
12 * Postfish is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Postfish; see the file COPYING. If not, write to the
19 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
25 GtkWidget
*mainpanel_windowbutton
;
26 GtkWidget
**mainpanel_activebutton
;
27 GtkWidget
*subpanel_windowbutton
;
28 GtkWidget
**subpanel_activebutton
;
29 GtkWidget
*subpanel_toplevel
;
30 GtkWidget
*subpanel_topframe
;
31 GtkWidget
*subpanel_box
;
32 sig_atomic_t *activevar
;
35 int active_button_count
; /* silliness around the rotating non-alt-shortcut */
36 int active_button_start
; /* silliness around the rotating non-alt-shortcut */
37 int rotation
[10]; /* silliness around the rotating non-alt-shortcut */
39 sig_atomic_t *mappedvar
;
41 postfish_mainpanel
*mainpanel
;
42 void (*callback
)(gpointer in
,int);
43 gpointer callback_pointer
;
46 extern subpanel_generic
*subpanel_create(postfish_mainpanel
*mp
,
47 GtkWidget
*windowbutton
,
48 GtkWidget
**activebutton
,
49 sig_atomic_t *activevar
,
50 sig_atomic_t *mappedvar
,
51 char *prompt
,char **shortcut
,
54 extern void subpanel_show_all_but_toplevel(subpanel_generic
*s
);
56 extern void subpanel_set_active_callback(subpanel_generic
*s
,gpointer in
,void (*callback
)(gpointer in
,int));