Loading...
Searching...
No Matches
CurvePaletteBaseStates.hpp
1#pragma once
2#include "CurvePoint.hpp"
3
4#include <score/model/Identifier.hpp>
5
6#include <QState>
7class QGraphicsItem;
8
9namespace Curve
10{
11class SegmentModel;
12
13struct PointId
14{
15 OptionalId<SegmentModel> previous;
16 OptionalId<SegmentModel> following;
17};
18
19class StateBase : public QState
20{
21public:
22 using QState::QState;
23 Id<SegmentModel> clickedSegmentId;
24 PointId clickedPointId;
25
26 Id<SegmentModel> hoveredSegmentId;
27 PointId hoveredPointId;
28
29 Curve::Point currentPoint;
30};
31}
Definition CurvePaletteBaseStates.hpp:20
The id_base_t class.
Definition Identifier.hpp:57
Utilities and base classes for 1D curves.
Definition FocusDispatcher.hpp:12
Definition CurvePaletteBaseStates.hpp:14