[bugui] update
This commit is contained in:
parent
e0ad7c817b
commit
2d1d8ab1b0
2 changed files with 6 additions and 1 deletions
2
Hardware/3rdparty/bugui
vendored
2
Hardware/3rdparty/bugui
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit f97533d59cd0db29221dda683d845120617ae8a3
|
Subproject commit bb211f5b66f1775a1c2abd12b650fbaf486b8c86
|
|
@ -1,6 +1,7 @@
|
||||||
#include <score/application/ApplicationContext.hpp>
|
#include <score/application/ApplicationContext.hpp>
|
||||||
#include <score/actions/ActionManager.hpp>
|
#include <score/actions/ActionManager.hpp>
|
||||||
#include <Scenario/Application/ScenarioActions.hpp>
|
#include <Scenario/Application/ScenarioActions.hpp>
|
||||||
|
#include <Process/Style/ScenarioStyle.hpp>
|
||||||
|
|
||||||
#include "Controller.hpp"
|
#include "Controller.hpp"
|
||||||
|
|
||||||
|
@ -117,6 +118,10 @@ void Controller::draw_intervals()
|
||||||
{
|
{
|
||||||
if (!ctl || !scenar) return;
|
if (!ctl || !scenar) return;
|
||||||
|
|
||||||
|
// Copied from MiniscenarioView
|
||||||
|
auto& skin = Process::Style::instance();
|
||||||
|
// set_stroke_color();
|
||||||
|
|
||||||
for(const Scenario::IntervalModel& c : scenar->intervals)
|
for(const Scenario::IntervalModel& c : scenar->intervals)
|
||||||
{
|
{
|
||||||
auto def = c.duration.defaultDuration().sec() * h_zoom;
|
auto def = c.duration.defaultDuration().sec() * h_zoom;
|
||||||
|
|
Loading…
Add table
Reference in a new issue