Added 'fixed debugger colors' command to right-click menu of TIA output

in the debugger, and updated the debugger documentation.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2377 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2012-01-29 22:54:23 +00:00
parent 4b14711a8f
commit 47c5f4681e
5 changed files with 8 additions and 0 deletions

View File

@ -781,6 +781,9 @@ as illustrated:</p>
zoom area (further described in part (G). The zoom area will
contain the area centered at the position where the mouse was
clicked.</li>
<li><b>Toggle fixed debug colors</b>: Toggles fixed debug color mode.
Note that after this is toggled, the framebuffer must be updated in some way
(step/trace/frame advance) before the new colors are shown.</li>
</ul>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

View File

@ -50,6 +50,7 @@ TiaOutputWidget::TiaOutputWidget(GuiObject* boss, const GUI::Font& font,
l.push_back("Fill to scanline", "scanline");
l.push_back("Set breakpoint", "bp");
l.push_back("Set zoom position", "zoom");
l.push_back("Toggle fixed debug colors", "fixed");
myMenu = new ContextMenu(this, font, l);
}
@ -114,6 +115,10 @@ void TiaOutputWidget::handleCommand(CommandSender* sender, int cmd, int data, in
if(myZoom)
myZoom->setPos(myClickX, myClickY);
}
else if(rmb == "fixed")
{
instance().console().tia().toggleFixedColors();
}
break;
}
}