[controller] set_color as integers + bugui update
This commit is contained in:
parent
e8a804d0be
commit
01f6edc127
3 changed files with 5 additions and 5 deletions
2
Hardware/3rdparty/bugui
vendored
2
Hardware/3rdparty/bugui
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit da8232c87e993f97e7cfc9efb23f87d0d32e0e8c
|
Subproject commit c71a9c1e02e3364a16edf3664ca6ef40898b9635
|
|
@ -121,7 +121,7 @@ void Controller::paint(bugui::painter &painter)
|
||||||
// Copied from MiniscenarioView
|
// Copied from MiniscenarioView
|
||||||
auto& skin = Process::Style::instance();
|
auto& skin = Process::Style::instance();
|
||||||
const auto col = skin.IntervalBase().color();
|
const auto col = skin.IntervalBase().color();
|
||||||
painter.set_color(col.redF(), col.greenF(), col.blackF(), col.alphaF());
|
painter.set_color(col.red(), col.green(), col.black(), col.alpha());
|
||||||
|
|
||||||
for(const Scenario::IntervalModel& c : scenar->intervals)
|
for(const Scenario::IntervalModel& c : scenar->intervals)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue