Files
oak-editor/app/common/timelinecommon.h
T
itsmattkc ef91f81e0f implemented cursors in the timeline
Note: this does not use the cursor SVGs in app/ui/cursors since I was never
really satisfied with them. They're kept for posterity for the time being.
2020-01-03 17:58:07 +11:00

17 lines
274 B
C++

#ifndef TIMELINECOMMON_H
#define TIMELINECOMMON_H
class Timeline {
public:
enum MovementMode {
kNone,
kMove,
kTrimIn,
kTrimOut
};
static bool IsATrimMode(MovementMode mode) {return mode == kTrimIn || mode == kTrimOut;}
};
#endif // TIMELINECOMMON_H