1
0
Fork 0

GUI: delete some unused color settings

This commit is contained in:
Duncan Ogilvie 2020-06-06 17:09:26 +02:00
parent ca6166d100
commit 9f342fe31c
4 changed files with 0 additions and 28 deletions

View File

@ -98,14 +98,6 @@ void Disassembly::updateColors()
mModifiedBytesBackgroundColor = ConfigColor("DisassemblyModifiedBytesBackgroundColor");
mRestoredBytesColor = ConfigColor("DisassemblyRestoredBytesColor");
mRestoredBytesBackgroundColor = ConfigColor("DisassemblyRestoredBytesBackgroundColor");
mByte00Color = ConfigColor("DisassemblyByte00Color");
mByte00BackgroundColor = ConfigColor("DisassemblyByte00BackgroundColor");
mByte7FColor = ConfigColor("DisassemblyByte7FColor");
mByte7FBackgroundColor = ConfigColor("DisassemblyByte7FBackgroundColor");
mByteFFColor = ConfigColor("DisassemblyByteFFColor");
mByteFFBackgroundColor = ConfigColor("DisassemblyByteFFBackgroundColor");
mByteIsPrintColor = ConfigColor("DisassemblyByteIsPrintColor");
mByteIsPrintBackgroundColor = ConfigColor("DisassemblyByteIsPrintBackgroundColor");
mAutoCommentColor = ConfigColor("DisassemblyAutoCommentColor");
mAutoCommentBackgroundColor = ConfigColor("DisassemblyAutoCommentBackgroundColor");
mMnemonicBriefColor = ConfigColor("DisassemblyMnemonicBriefColor");

View File

@ -204,14 +204,6 @@ protected:
QColor mModifiedBytesBackgroundColor;
QColor mRestoredBytesColor;
QColor mRestoredBytesBackgroundColor;
QColor mByte00Color;
QColor mByte00BackgroundColor;
QColor mByte7FColor;
QColor mByte7FBackgroundColor;
QColor mByteFFColor;
QColor mByteFFBackgroundColor;
QColor mByteIsPrintColor;
QColor mByteIsPrintBackgroundColor;
QColor mAutoCommentColor;
QColor mAutoCommentBackgroundColor;

View File

@ -407,10 +407,6 @@ void AppearanceDialog::colorInfoListInit()
colorInfoListAppend(tr("Bytes"), "DisassemblyBytesColor", "DisassemblyBytesBackgroundColor");
colorInfoListAppend(tr("Modified Bytes"), "DisassemblyModifiedBytesColor", "DisassemblyModifiedBytesBackgroundColor");
colorInfoListAppend(tr("Restored Bytes"), "DisassemblyRestoredBytesColor", "DisassemblyRestoredBytesBackgroundColor");
colorInfoListAppend(tr("0x00 Bytes"), "DisassemblyByte00Color", "DisassemblyByte00BackgroundColor");
colorInfoListAppend(tr("0x7F Bytes"), "DisassemblyByte7FColor", "DisassemblyByte7FBackgroundColor");
colorInfoListAppend(tr("0xFF Bytes"), "DisassemblyByteFFColor", "DisassemblyByteFFBackgroundColor");
colorInfoListAppend(tr("IsPrint Bytes"), "DisassemblyByteIsPrintColor", "DisassemblyByteIsPrintBackgroundColor");
colorInfoListAppend(tr("Relocation underline"), "DisassemblyRelocationUnderlineColor", "");
colorInfoListAppend(ArchValue(tr("EIP"), tr("RIP")), "DisassemblyCipColor", "DisassemblyCipBackgroundColor");
colorInfoListAppend(tr("Breakpoints"), "DisassemblyBreakpointColor", "DisassemblyBreakpointBackgroundColor");

View File

@ -59,14 +59,6 @@ Configuration::Configuration() : QObject(), noMoreMsgbox(false)
defaultColors.insert("DisassemblyModifiedBytesBackgroundColor", Qt::transparent);
defaultColors.insert("DisassemblyRestoredBytesColor", QColor("#808080"));
defaultColors.insert("DisassemblyRestoredBytesBackgroundColor", Qt::transparent);
defaultColors.insert("DisassemblyByte00Color", QColor("#008000"));
defaultColors.insert("DisassemblyByte00BackgroundColor", Qt::transparent);
defaultColors.insert("DisassemblyByte7FColor", QColor("#808000"));
defaultColors.insert("DisassemblyByte7FBackgroundColor", Qt::transparent);
defaultColors.insert("DisassemblyByteFFColor", QColor("#800000"));
defaultColors.insert("DisassemblyByteFFBackgroundColor", Qt::transparent);
defaultColors.insert("DisassemblyByteIsPrintColor", QColor("#800080"));
defaultColors.insert("DisassemblyByteIsPrintBackgroundColor", Qt::transparent);
defaultColors.insert("DisassemblyRelocationUnderlineColor", QColor("#000000"));
defaultColors.insert("DisassemblyCommentColor", QColor("#000000"));
defaultColors.insert("DisassemblyCommentBackgroundColor", Qt::transparent);