https://github.com/REDasmOrg/REDasm/commit/779ffd95fc331a1c879bab70b30f5e7bb781f69d --- themes/dark.json.orig +++ themes/dark.json @@ -43,6 +43,11 @@ "instruction_jmp_c": "#e67e22", "graph_bg": "#262626", + "graph_edge": "#3498db", + "graph_edge_true": "#2ecc71", + "graph_edge_false": "#e74c3c", + "graph_edge_loop": "#1abc9c", + "graph_edge_loop_c": "#f47cc3", "address_list_fg": "#ef717a", "segment_name_fg": "#2dcb71", --- themes/light.json.orig +++ themes/light.json @@ -29,6 +29,11 @@ "instruction_jmp_c": "#d95459", "graph_bg": "azure", + "graph_edge": "#297fb9", + "graph_edge_true": "#27ae60", + "graph_edge_false": "#c0392b", + "graph_edge_loop": "#2d5036", + "graph_edge_loop_c": "#8e44ad", "address_list_fg": "darkblue", "segment_name_fg": "darkgreen", --- widgets/disassemblergraphview/disassemblergraphview.cpp.orig +++ widgets/disassemblergraphview/disassemblergraphview.cpp @@ -115,7 +115,7 @@ QString DisassemblerGraphView::getNodeContent(const REDasm::Graphing::Node *n) c QColor DisassemblerGraphView::getEdgeColor(const REDasm::Graphing::Node *from, const REDasm::Graphing::Node *to) const { const REDasm::Graphing::FunctionBlock* fb = static_cast(from); - return QColor(QString::fromStdString(fb->color(static_cast(to)))); + return THEME_VALUE(QString::fromStdString(fb->style(static_cast(to)))); } void DisassemblerGraphView::initializePage()