diff options
author | Filippos Karapetis | 2009-10-30 14:39:26 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-30 14:39:26 +0000 |
commit | 57266a7cbaf46d83632be6eef32078c070cae12f (patch) | |
tree | 880bcc2513ea761d312349ecf1bdb0e78ef53a88 /engines/sci/console.cpp | |
parent | 3ec76350ec48f41850c9e65815427f5e334e0f66 (diff) | |
download | scummvm-rg350-57266a7cbaf46d83632be6eef32078c070cae12f.tar.gz scummvm-rg350-57266a7cbaf46d83632be6eef32078c070cae12f.tar.bz2 scummvm-rg350-57266a7cbaf46d83632be6eef32078c070cae12f.zip |
- Removed status_bar_foreground and status_bar_background variables from the engine state
- Implemented clearMenuBar() in the new graphics code
- Removed the "status_bar" command, which was used to set custom colors for the status bar
svn-id: r45538
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r-- | engines/sci/console.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index d782ddb22d..e81b1a4120 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -124,7 +124,6 @@ Console::Console(SciEngine *vm) : GUI::Debugger() { DCmd_Register("flush_visual", WRAP_METHOD(Console, cmdFlushPorts)); DCmd_Register("dynamic_views", WRAP_METHOD(Console, cmdDynamicViews)); DCmd_Register("dropped_views", WRAP_METHOD(Console, cmdDroppedViews)); - DCmd_Register("status_bar", WRAP_METHOD(Console, cmdStatusBarColors)); #ifdef GFXW_DEBUG_WIDGETS DCmd_Register("print_widget", WRAP_METHOD(Console, cmdPrintWidget)); #endif @@ -329,7 +328,6 @@ bool Console::cmdHelp(int argc, const char **argv) { DebugPrintf(" flush_visual - Flushes dynamically allocated ports (for memory profiling)\n"); DebugPrintf(" dynamic_views - Lists active dynamic views\n"); DebugPrintf(" dropped_views - Lists dropped dynamic views\n"); - DebugPrintf(" status_bar - Sets the colors of the status bar\n"); #ifdef GFXW_DEBUG_WIDGETS DebugPrintf(" print_widget - Shows active widgets (no params) or information on the specified widget indices\n"); #endif @@ -1335,28 +1333,6 @@ bool Console::cmdPriorityBands(int argc, const char **argv) { return true; } -bool Console::cmdStatusBarColors(int argc, const char **argv) { - if (argc != 3) { - DebugPrintf("Sets the colors of the status bar\n"); - DebugPrintf("Usage: %s <foreground color> <background color>\n", argv[0]); - return true; - } - -#ifdef INCLUDE_OLDGFX - _vm->_gamestate->titlebar_port->_color = _vm->_gamestate->ega_colors[atoi(argv[1])]; - _vm->_gamestate->titlebar_port->_bgcolor = _vm->_gamestate->ega_colors[atoi(argv[2])]; - - _vm->_gamestate->status_bar_foreground = atoi(argv[1]); - _vm->_gamestate->status_bar_background = atoi(argv[2]); - - sciw_set_status_bar(_vm->_gamestate, _vm->_gamestate->titlebar_port, _vm->_gamestate->_statusBarText, - _vm->_gamestate->status_bar_foreground, _vm->_gamestate->status_bar_background); - gfxop_update(_vm->_gamestate->gfx_state); -#endif - - return false; -} - bool Console::cmdPrintSegmentTable(int argc, const char **argv) { DebugPrintf("Segment table:\n"); |