TachyonUI
0.1.0
High-performance UI for building tools.
Toggle main menu visibility
Loading...
Searching...
No Matches
gui_sdl_clipboard.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
gui_core/text/gui_clipboard.h
>
4
5
namespace
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
}
tachyon::IClipboard
The clipboard text editors copy to and paste from; GUIApplication::SetClipboard sets one (default: SD...
Definition
gui_clipboard.h:14
tachyon::SDLClipboard
The system clipboard, through SDL.
Definition
gui_sdl_clipboard.h:12
tachyon::SDLClipboard::Get
std::string Get() const override
The clipboard's text, UTF-8; empty when it holds none.
tachyon::SDLClipboard::Set
void Set(std::string_view text) override
Puts UTF-8 text on the clipboard.
gui_clipboard.h
tachyon
Definition
gui_logging.h:24
gui_core
windows
sdl
gui_sdl_clipboard.h
Generated by
1.18.0