mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
Start using "gui.navbar.seek" color instead of "gui.navbar.err" to show seek cursor (#1244)
* fix navbar to use seek * honor navbar.seek * honor navbar.seek in Sections widget * fix typo
This commit is contained in:
parent
003d0d3c26
commit
d46ff14a21
@ -199,8 +199,7 @@ void Configuration::loadBaseThemeNative()
|
||||
// Custom
|
||||
setColor("gui.imports", QColor(50, 140, 255));
|
||||
setColor("gui.main", QColor(0, 128, 0));
|
||||
setColor("gui.navbar.err", QColor(255, 0, 0));
|
||||
setColor("gui.navbar.seek", QColor(233, 86, 86));
|
||||
setColor("gui.navbar.seek", QColor(255, 0, 0));
|
||||
setColor("gui.navbar.pc", QColor(66, 238, 244));
|
||||
setColor("gui.navbar.code", QColor(104, 229, 69));
|
||||
setColor("gui.navbar.str", QColor(69, 104, 229));
|
||||
@ -268,7 +267,6 @@ void Configuration::loadBaseThemeDark()
|
||||
setColor("gui.main", QColor(0, 128, 0));
|
||||
|
||||
// GUI: navbar
|
||||
setColor("gui.navbar.err", QColor(233, 86, 86));
|
||||
setColor("gui.navbar.seek", QColor(233, 86, 86));
|
||||
setColor("gui.navbar.pc", QColor(66, 238, 244));
|
||||
setColor("gui.navbar.code", QColor(130, 200, 111));
|
||||
|
@ -333,7 +333,7 @@ AbstractAddrDock::AbstractAddrDock(SectionsModel *model, QWidget *parent) :
|
||||
heightDivisor = 1000;
|
||||
rectOffset = 100;
|
||||
rectWidth = 400;
|
||||
indicatorColor = ConfigColor("gui.navbar.err");
|
||||
indicatorColor = ConfigColor("gui.navbar.seek");
|
||||
textColor = ConfigColor("gui.dataoffset");
|
||||
}
|
||||
|
||||
|
@ -221,7 +221,7 @@ void VisualNavbar::drawPCCursor()
|
||||
|
||||
void VisualNavbar::drawSeekCursor()
|
||||
{
|
||||
drawCursor(Core()->getOffset(), Config()->getColor("gui.navbar.err"), seekGraphicsItem);
|
||||
drawCursor(Core()->getOffset(), Config()->getColor("gui.navbar.seek"), seekGraphicsItem);
|
||||
}
|
||||
|
||||
void VisualNavbar::on_seekChanged(RVA addr)
|
||||
|
Loading…
Reference in New Issue
Block a user