|
TachyonUI 0.1.0
High-performance UI for building tools.
|
The clipboard text editors copy to and paste from; GUIApplication::SetClipboard sets one (default: SDL's, or LocalClipboard without SDL). More...
#include <gui_core/text/gui_clipboard.h>
Public Member Functions | |
| virtual | ~IClipboard ()=default |
| virtual std::string | Get () const =0 |
| The clipboard's text, UTF-8; empty when it holds none. | |
| virtual void | Set (std::string_view text)=0 |
| Puts UTF-8 text on the clipboard. | |
The clipboard text editors copy to and paste from; GUIApplication::SetClipboard sets one (default: SDL's, or LocalClipboard without SDL).
|
virtualdefault |
|
pure virtual |
The clipboard's text, UTF-8; empty when it holds none.
Implemented in tachyon::LocalClipboard, and tachyon::SDLClipboard.
|
pure virtual |
Puts UTF-8 text on the clipboard.
Implemented in tachyon::LocalClipboard, and tachyon::SDLClipboard.