mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
parent
f98a175c5c
commit
0c7b8f09be
2
radare2
2
radare2
@ -1 +1 @@
|
||||
Subproject commit 404e4a1b74df7941c3ff7511f5396e1e1736ce37
|
||||
Subproject commit 7e04582718f5463777bbc7e74cd706a81ca4d414
|
@ -265,7 +265,7 @@ void Configuration::setColorTheme(QString theme)
|
||||
QJsonObject colorsObject = colors.object();
|
||||
QJsonObject::iterator it;
|
||||
for (it = colorsObject.begin(); it != colorsObject.end(); it++) {
|
||||
if (!it.key().contains("graph"))
|
||||
if (it.key().contains("gui"))
|
||||
continue;
|
||||
QJsonArray rgb = it.value().toArray();
|
||||
s.setValue("colors." + it.key(), QColor(rgb[0].toInt(), rgb[1].toInt(), rgb[2].toInt()));
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* x64dbg RichTextPainter */
|
||||
#include "RichTextPainter.h"
|
||||
#include "CachedFontMetrics.h"
|
||||
#include "utils/Configuration.h"
|
||||
#include <QPainter>
|
||||
#include <QTextBlock>
|
||||
#include <QTextFragment>
|
||||
@ -21,6 +22,8 @@ void RichTextPainter::paintRichText(QPainter *painter, int x, int y, int w, int
|
||||
break;
|
||||
switch (curRichText.flags) {
|
||||
case FlagNone: //defaults
|
||||
pen.setColor(ConfigColor("btext").name());
|
||||
painter->setPen(pen);
|
||||
break;
|
||||
case FlagColor: //color only
|
||||
pen.setColor(curRichText.textColor);
|
||||
|
Loading…
Reference in New Issue
Block a user