1
0
Fork 0

GUI: more minor style fixes (thanks to JustMagic)

This commit is contained in:
Duncan Ogilvie 2020-07-27 23:38:00 +02:00
parent 99174a3733
commit bcf4182cbe
2 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ GraphCurrentShadowColor=#B3F575
GraphDisabledBreakpointColor=#C54441
GraphIndirectcallShadowColor=#89A2F6
GraphJmpColor=#88B857
GraphNodeBackgroundColor=#FF0000
GraphNodeBackgroundColor=#XXXXXX
GraphNodeColor=#909090
GraphRetShadowColor=#913230
HexDumpAddressBackgroundColor=#XXXXXX
@ -123,7 +123,7 @@ InstructionFpuRegisterBackgroundColor=#XXXXXX
InstructionFpuRegisterColor=#B794F6
InstructionGeneralRegisterBackgroundColor=#XXXXXX
InstructionGeneralRegisterColor=#B794F6
InstructionHighlightBackgroundColor=#969600
InstructionHighlightBackgroundColor=#e6e976
InstructionHighlightColor=#000000
InstructionInt3BackgroundColor=#XXXXXX
InstructionInt3Color=#5F5F5F
@ -161,7 +161,7 @@ InstructionUncategorizedBackgroundColor=#XXXXXX
InstructionUncategorizedColor=#E0E0E0
InstructionUnconditionalJumpBackgroundColor=#XXXXXX
InstructionUnconditionalJumpColor=#F55F86
InstructionUnusualBackgroundColor=#FF0000
InstructionUnusualBackgroundColor=#ef5350
InstructionUnusualColor=#000000
InstructionValueBackgroundColor=#XXXXXX
InstructionValueColor=#F88478

View File

@ -341,7 +341,7 @@ void DisassemblerGraphView::paintNormal(QPainter & p, QRect & viewportRect, int
//Render node background
p.setPen(graphNodeColor);
p.setBrush(disassemblyBackgroundColor);
p.setBrush(graphNodeBackgroundColor);
p.drawRect(block.x + this->charWidth, block.y + this->charWidth,
block.width - (4 + 2 * this->charWidth), block.height - (4 + 2 * this->charWidth));