mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2024-11-15 11:33:24 +01:00
8d44098063
- Cut/Copy/Paste selected notes - LN displayed correctly in the Linear View - bunch of other small stuff
23 lines
433 B
C++
23 lines
433 B
C++
//
|
|
// Created by Syméon on 27/03/2019.
|
|
//
|
|
|
|
#ifndef FEIS_TIMESELECTION_H
|
|
#define FEIS_TIMESELECTION_H
|
|
|
|
#include <variant>
|
|
|
|
struct TimeSelection {
|
|
|
|
explicit TimeSelection(unsigned int start = 0, unsigned int duration = 0) : start(start), duration(duration) {};
|
|
|
|
unsigned int start;
|
|
unsigned int duration;
|
|
|
|
};
|
|
|
|
typedef std::variant<std::monostate,unsigned int,TimeSelection> SelectionState;
|
|
|
|
|
|
#endif //FEIS_TIMESELECTION_H
|