TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_sdl_clipboard.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace tachyon
6{
9
11 class SDLClipboard : public IClipboard
12 {
13 public:
14 std::string Get() const override;
15 void Set(std::string_view text) override;
16 };
17
18}
The clipboard text editors copy to and paste from; GUIApplication::SetClipboard sets one (default: SD...
Definition gui_clipboard.h:14
The system clipboard, through SDL.
Definition gui_sdl_clipboard.h:12
std::string Get() const override
The clipboard's text, UTF-8; empty when it holds none.
void Set(std::string_view text) override
Puts UTF-8 text on the clipboard.
Definition gui_logging.h:24