Loading...
Searching...
No Matches
CreatePointCommandObject.hpp
1#pragma once
2#include <Curve/Palette/CommandObjects/CurveCommandObjectBase.hpp>
3
4#include <vector>
5
6namespace score
7{
8class CommandStackFacade;
9}
10
11namespace Curve
12{
13struct SegmentData;
14class Presenter;
15
16class SCORE_PLUGIN_CURVE_EXPORT CreatePointCommandObject final : public CommandObjectBase
17{
18public:
20 const Model& model, Presenter* presenter, const score::CommandStackFacade& stack);
22
23 void on_press() override;
24
25 void move();
26
27 void release();
28
29 void cancel();
30
31private:
32 void createPoint(std::vector<SegmentData>& segments);
33};
34}
Definition CurveCommandObjectBase.hpp:56
Definition CreatePointCommandObject.hpp:17
Definition CurveModel.hpp:25
Definition CurvePresenter.hpp:32
A small abstraction layer over the score::CommandStack.
Definition CommandStackFacade.hpp:20
Utilities and base classes for 1D curves.
Definition FocusDispatcher.hpp:12
Base toolkit upon which the software is built.
Definition Application.cpp:90