Added Load/Save function for the Watch window.

Made the floating windows toolbars dockable.
Scaled down the breakpoint toolbar icons to 16x16.
This commit is contained in:
skidau
2014-10-24 22:24:17 +11:00
parent b34e220086
commit b73130af77
4 changed files with 96 additions and 12 deletions

View File

@ -234,7 +234,7 @@ Watches::TWatchesStr Watches::GetStrings() const
for (const TWatch& bp : m_Watches)
{
std::stringstream ss;
ss << std::hex << bp.iAddress << " " << (bp.bOn ? "n" : "");
ss << std::hex << bp.iAddress << " " << bp.name;
bps.push_back(ss.str());
}
@ -249,7 +249,7 @@ void Watches::AddFromStrings(const TWatchesStr& bpstrs)
std::stringstream ss;
ss << std::hex << bpstr;
ss >> bp.iAddress;
bp.bOn = bpstr.find("n") != bpstr.npos;
ss >> bp.name;
Add(bp);
}
}