1 /** 2 * \file uimachinewindow.h 3 * \brief Native GTK3 main emulator window code 4 * 5 * \author Marcus Sutton <loggedoubt@gmail.com> 6 * 7 * A "machine window" is any window whose primary purpose is to 8 * display an emulated screen. It usually also includes a menu bar and 9 * a status bar. 10 */ 11 12 /* This file is part of VICE, the Versatile Commodore Emulator. 13 * See README for copyright notice. 14 * 15 * This program is free software; you can redistribute it and/or modify 16 * it under the terms of the GNU General Public License as published by 17 * the Free Software Foundation; either version 2 of the License, or 18 * (at your option) any later version. 19 * 20 * This program is distributed in the hope that it will be useful, 21 * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 * GNU General Public License for more details. 24 * 25 * You should have received a copy of the GNU General Public License 26 * along with this program; if not, write to the Free Software 27 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 28 * 02111-1307 USA. 29 * 30 */ 31 32 #ifndef VICE_UIMACHINEWINDOW_H 33 #define VICE_UIMACHINEWINDOW_H 34 35 #include "vice.h" 36 #include <gtk/gtk.h> 37 38 /** \brief Set up any resources needed to create new machine 39 * windows. */ 40 void ui_machine_window_init(void); 41 42 /** \brief tell the ui code to grab mouse pointer events */ 43 void ui_mouse_grab_pointer(void); 44 /** \brief tell the ui code to ungrab mouse pointer events */ 45 void ui_mouse_ungrab_pointer(void); 46 47 void ui_set_ignore_mouse_hide(gboolean state); 48 49 #endif /* VICE_UIMACHINEWINDOW_H */ 50