mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-07 15:32:13 +00:00
dos2unix DisassemblerGraphView.cpp
This commit is contained in:
parent
3542f0fd57
commit
781ceedf9c
@ -1582,7 +1582,16 @@ void DisassemblerGraphView::loadCurrentGraph()
|
|||||||
Instr i;
|
Instr i;
|
||||||
i.addr = op["offset"].toInt();
|
i.addr = op["offset"].toInt();
|
||||||
// TODO
|
// TODO
|
||||||
i.text = Text(op["opcode"].toString(), Qt::black, QColor(255, 255, 255, 0));
|
RichTextPainter::List richText;
|
||||||
|
|
||||||
|
RichTextPainter::CustomRichText_t assembly;
|
||||||
|
assembly.highlight = false;
|
||||||
|
assembly.flags = RichTextPainter::FlagNone;
|
||||||
|
assembly.text = op["opcode"].toString();
|
||||||
|
|
||||||
|
richText.insert(richText.begin(), assembly);
|
||||||
|
|
||||||
|
i.text = Text(richText);
|
||||||
b.instrs.push_back(i);
|
b.instrs.push_back(i);
|
||||||
}
|
}
|
||||||
f.blocks.push_back(b);
|
f.blocks.push_back(b);
|
||||||
|
Loading…
Reference in New Issue
Block a user