1 /*****************************************************************************
2 * intf_gnome_thread.h: Gnome thread
3 *****************************************************************************
4 * Copyright (C) 1999, 2000 VideoLAN
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Boston, MA 02111-1307, USA.
21 *****************************************************************************/
23 /*****************************************************************************
24 * intf_sys_t: description and status of Gnome interface
25 *****************************************************************************/
26 typedef struct gnome_thread_s
28 vlc_thread_t thread_id; /* id for thread functions */
29 boolean_t b_die; /* `die' flag */
30 boolean_t b_error; /* `error' flag */
33 vlc_mutex_t change_lock; /* the change lock */
35 boolean_t b_activity_changed; /* vout activity toggled ? */
36 boolean_t b_activity; /* vout activity */
38 boolean_t b_popup_changed; /* display menu ? */
40 boolean_t b_window_changed; /* window display toggled ? */
41 boolean_t b_window; /* display window ? */
43 boolean_t b_playlist_changed; /* playlist display toggled ? */
44 boolean_t b_playlist; /* display playlist ? */
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 */
54 /*****************************************************************************
56 *****************************************************************************/
57 void GnomeThread ( gnome_thread_t *p_gnome );