|
Horizon
|
The ClipBoardManager handles the copy part of copy/paste. More...
#include <clipboard.hpp>
Public Member Functions | |
| ClipboardManager (Core *co) | |
| void | copy (std::set< SelectableRef > selection, const Coordi &cursor_pos) |
| Copys the objects specified by selection to the buffer. More... | |
The ClipBoardManager handles the copy part of copy/paste.
Contrary to other EDA packages, horizon uses the operating system's clipboard for copy/paste.
When data is requested, the buffer gets serialized to json.
| void horizon::ClipboardManager::copy | ( | std::set< SelectableRef > | selection, |
| const Coordi & | cursor_pos | ||
| ) |
Copys the objects specified by selection to the buffer.
| selection | Which objects to copy |
| cursor_pos | Upon paste, objects will appear relativ to this point |
1.8.17