F.E.I.S/TimeSelection.h
Stepland 8d44098063 - Tab selection in linear view
- Cut/Copy/Paste selected notes
- LN displayed correctly in the Linear View
- bunch of other small stuff
2019-03-27 20:37:30 +01:00

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