mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-02-24 05:53:23 +01:00
- Cut/Copy/Paste selected notes - LN displayed correctly in the Linear View - bunch of other small stuff
25 lines
441 B
C++
25 lines
441 B
C++
//
|
|
// Created by Syméon on 27/03/2019.
|
|
//
|
|
|
|
#ifndef FEIS_NOTESCLIPBOARD_H
|
|
#define FEIS_NOTESCLIPBOARD_H
|
|
|
|
#include <set>
|
|
#include "Note.h"
|
|
|
|
class NotesClipboard {
|
|
public:
|
|
explicit NotesClipboard(const std::set<Note> ¬es = {});
|
|
|
|
void copy(const std::set<Note> ¬es);
|
|
std::set<Note> paste(int tick_offset);
|
|
|
|
bool empty() {return contents.empty();};
|
|
private:
|
|
std::set<Note> contents;
|
|
};
|
|
|
|
|
|
#endif //FEIS_NOTESCLIPBOARD_H
|