FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
IDraggable.h
Go to the documentation of this file.
1#ifndef BUSINESS_LOGIC_ELEMENTS_INTERACTIONS_IDRAGGABLE_H
2#define BUSINESS_LOGIC_ELEMENTS_INTERACTIONS_IDRAGGABLE_H
3
8
12 class
13 IDraggable { // NOLINT(cppcoreguidelines-special-member-functions,hicpp-special-member-functions)
14 public:
15 virtual ~IDraggable() = default;
16
20 virtual void onDragStart() = 0;
21
27 virtual void onDragProgress(int x, int y) = 0;
28
32 virtual void onDragEnd() = 0;
33 };
34
35} // namespace business_logic::elements::interactions
36
37#endif // BUSINESS_LOGIC_ELEMENTS_INTERACTIONS_IDRAGGABLE_H
Interface for elements that can be dragged.
Definition IDraggable.h:13
virtual void onDragEnd()=0
Called when dragging ends.
virtual void onDragProgress(int x, int y)=0
Called during dragging.
virtual void onDragStart()=0
Called when dragging starts.
Interaction primitives for elements.