MoveSegmentCommandObject.hpp
1 #pragma once
2 namespace score
3 {
4 class CommandStackFacade;
5 } // namespace score
6 // To simplify :
7 // Take the current state of the curve
8 // Compute the state we have to be in
9 // Make a command that sets a new state for the curve.
10 
11 // Will move the segment and potentially the start point of the next segment
12 // and the end point of the previous segment.
13 // Or does the command do this ?
14 // How to find the previous - next segments ? They have to be linked...
15 // How to prevent overlapping segments ?
16 // Can move create new segments ? I'd say no.
17 namespace Curve
18 {
20 {
21 public:
23 
24  void press();
25 
26  void move();
27 
28  void release();
29 
30  void cancel();
31 
32 private:
33  // SingleOngoingCommandDispatcher m_dispatcher;
34 };
35 }
Definition: MoveSegmentCommandObject.hpp:20
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