1 /**
2  * \file    uistatusbar.h
3  * \brief   Gtk3 status bar - header
4  *
5  * This header file only provides functionality that is exposed by the
6  * GTK3 statusbar API and that is not declared as part of some other,
7  * more general interface. Since the statusbar implementation is very
8  * self-contained that means this header file is extremely sparse.
9  *
10  * \author  Michael C. Martin <mcmartin@gmail.com>
11  */
12 
13 /*
14  * This file is part of VICE, the Versatile Commodore Emulator.
15  * See README for copyright notice.
16  *
17  *  This program is free software; you can redistribute it and/or modify
18  *  it under the terms of the GNU General Public License as published by
19  *  the Free Software Foundation; either version 2 of the License, or
20  *  (at your option) any later version.
21  *
22  *  This program is distributed in the hope that it will be useful,
23  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
24  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25  *  GNU General Public License for more details.
26  *
27  *  You should have received a copy of the GNU General Public License
28  *  along with this program; if not, write to the Free Software
29  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
30  *  02111-1307  USA.
31  *
32  */
33 
34 #ifndef VICE_UISTATUSBAR_H
35 #define VICE_UISTATUSBAR_H
36 
37 #include "vice.h"
38 #include <gtk/gtk.h>
39 
40 void ui_statusbar_init(void);
41 void ui_statusbar_shutdown(void);
42 
43 GtkWidget *ui_statusbar_create(void);
44 
45 void ui_display_speed(float percent, float framerate, int warp_flag);
46 void ui_display_statustext(const char *text, int fadeout);
47 
48 gboolean ui_statusbar_crt_controls_enabled(GtkWidget *window);
49 gboolean ui_statusbar_mixer_controls_enabled(GtkWidget *window);
50 
51 
52 #endif
53