1
0
Fork 0

GUI: more icons in CPUDisassembly

This commit is contained in:
mrexodia 2016-06-24 23:45:41 +02:00
parent d948db0dcc
commit 7475c393c7
No known key found for this signature in database
GPG Key ID: D72F9A4FAA0073B4
7 changed files with 7 additions and 3 deletions

View File

@ -423,8 +423,8 @@ void CPUDisassembly::setupRightClickContextMenu()
analysisMenu->addAction(makeShortcutAction(QIcon(":/icons/images/remove_analysis_from_selection.png"), tr("Remove analysis from selection"), SLOT(removeAnalysisSelectionSlot()), "ActionRemoveAnalysisFromSelection"));
analysisMenu->addSeparator();
QMenu* encodeTypeMenu = makeMenu(tr("Treat selection &head as"));
QMenu* encodeTypeRangeMenu = makeMenu(tr("Treat from &selection as"));
QMenu* encodeTypeMenu = makeMenu(QIcon(":/icons/images/treat_selection_head_as.png"), tr("Treat selection &head as"));
QMenu* encodeTypeRangeMenu = makeMenu(QIcon(":/icons/images/treat_from_selection_as.png"), tr("Treat from &selection as"));
const char* strTable[] = {"Code", "Byte", "Word", "Dword", "Fword", "Qword", "Tbyte", "Oword", "",
"Float", "Double", "Long Double", "",
@ -439,7 +439,7 @@ void CPUDisassembly::setupRightClickContextMenu()
};
const char* iconTable[] = {"cmd", "byte", "word", "dword", "fword", "qword", "tbyte", "oword", nullptr,
"float", "double", nullptr, nullptr,
"float", "double", "longdouble", nullptr,
"ascii", "unicode", nullptr,
"mmword", "xmm", "ymm"
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -129,5 +129,9 @@
<file>images/xmm.png</file>
<file>images/ymm.png</file>
<file>images/zmm.png</file>
<file>images/treat_selection_as_double.png</file>
<file>images/treat_selection_as_longdouble.png</file>
<file>images/treat_from_selection_as.png</file>
<file>images/treat_selection_head_as.png</file>
</qresource>
</RCC>