1 /*****************************************************************************
2 * gnome_sys.h: private Gnome interface description
3 *****************************************************************************
4 * Copyright (C) 1999, 2000 VideoLAN
5 * $Id: gnome_sys.h,v 1.1 2001/02/11 01:15:10 sam Exp $
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
22 *****************************************************************************/
24 /*****************************************************************************
25 * intf_sys_t: description and status of Gnome interface
26 *****************************************************************************/
27 typedef struct intf_sys_s
30 vlc_mutex_t change_lock; /* the change lock */
32 boolean_t b_activity_changed; /* vout activity toggled ? */
33 boolean_t b_activity; /* vout activity */
35 boolean_t b_popup_changed; /* display menu ? */
37 boolean_t b_window_changed; /* window display toggled ? */
38 boolean_t b_window; /* display window ? */
40 boolean_t b_playlist_changed; /* playlist display toggled ? */
41 boolean_t b_playlist; /* display playlist ? */
43 /* intf_Manage callback timeout */
46 /* windows and widgets */
47 GtkWidget * p_window; /* main window */
48 GtkWidget * p_popup; /* popup menu */
49 GtkWidget * p_playlist; /* playlist */
50 GtkWidget * p_about; /* about window */
52 /* XXX: ugly kludge */
53 void ( *pf_gtk_callback ) ( void );
54 void ( *pf_gdk_callback ) ( void );