Bochs/bochs/gui
Bryce Denney 87f1f3a2e0 Apply patch.safe-fullscreen. Comments from the patch follow:
This fixes bug #614724: SDL can get stuck in full-screen mode, and provides
a framework for fixing the problem on other full-screen display libraries
such as term, svga, etc.

- add virtual method bx_gui::set_display_mode(mode) which can be overridden
  by each display library class, if appropriate.  This method is primarily
  used when you run Bochs full screen, to tell the gui to switch from full
  screen back to a mode where you can use the text console.
- There are two display modes: config and simulation.  The mode is changed to
  config mode during logfunctions::ask, during the runtime configuration menu,
  and before displaying a debugger prompt.  It is changed back to simulation
  mode whenever instructions are running.
- Instead of being called directly through the global bx_gui pointer, the
  bx_gui_c::set_display_mode() method is almost always accessed through
  siminterface, like this:
    SIM->set_display_mode (DISP_MODE_CONFIG);
    SIM->set_display_mode (DISP_MODE_SIM);
  Of course siminterface just passes the call on to bx_gui::set_display_mode().
  I added it to siminterface so that the config interfaces could call it.
  (They don't #include bochs.h so they can't access bx_gui.)

Modified Files:
  logio.cc main.cc debug/dbg_main.cc gui/gui.h gui/sdl.cc
  gui/siminterface.cc gui/siminterface.h
2002-12-06 19:34:32 +00:00
..
bitmaps
keymaps
amigagui.h
amigaos.cc
beos.cc
carbon.cc
gui.cc
gui.h Apply patch.safe-fullscreen. Comments from the patch follow: 2002-12-06 19:34:32 +00:00
icon_bochs.h
keymap.cc
keymap.h
macintosh.cc
Makefile.in - regenerate makefile dependencies 2002-11-25 15:05:51 +00:00
nogui.cc
rfb.cc
rfb.h
rfbproto.h
sdl.cc Apply patch.safe-fullscreen. Comments from the patch follow: 2002-12-06 19:34:32 +00:00
sdl.h
sdlkeys.h
siminterface.cc Apply patch.safe-fullscreen. Comments from the patch follow: 2002-12-06 19:34:32 +00:00
siminterface.h Apply patch.safe-fullscreen. Comments from the patch follow: 2002-12-06 19:34:32 +00:00
svga.cc
term.cc
textconfig.cc - implement feature request [ 629068 ] make a way to log debug output to file 2002-12-02 21:26:05 +00:00
textconfig.h
win32.cc
wx.cc
wxdialog.cc
wxdialog.h
wxmain.cc - fixed a warning in function HandleAskParam() 2002-12-01 16:11:12 +00:00
wxmain.h
x.cc - add explanation to a panic that can happen if you turn on private 2002-12-05 19:19:34 +00:00