IntervalPixmaps.hpp
1 #pragma once
2 #include <Process/Style/ScenarioStyle.hpp>
3 
4 #include <score/model/Skin.hpp>
5 
6 #include <QPainter>
7 #include <QPixmap>
8 
9 #include <array>
10 namespace Scenario
11 {
12 
14 {
15  void update(const Process::Style& style);
16 
17  QPixmap dashed;
18  QPixmap dashedSelected;
19  QPixmap dashedDropTarget;
20  QPixmap dashedWarning;
21  QPixmap dashedInvalid;
22  QPixmap dashedMuted;
23  std::array<QPixmap, 25> playDashed;
24 
25  int loadIndex{};
26  static void drawDashes(
27  qreal from, qreal to, QPainter& p, const QRectF& visibleRect,
28  const QPixmap& pixmap);
29 };
30 
31 IntervalPixmaps& intervalPixmaps(const Process::Style& style);
32 }
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: ScenarioStyle.hpp:13
Definition: IntervalPixmaps.hpp:14