#include "global.hpp"
#include "desktop/clipboard.hpp"
#include "serialization/unicode.hpp"
#include <algorithm>
#include <SDL_events.h>
#include <SDL_version.h>
#include <SDL_clipboard.h>
Go to the source code of this file.
Namespaces | |
desktop | |
desktop::clipboard | |
Macros | |
#define | CLIPBOARD_FUNCS_DEFINED |
Functions | |
void | desktop::clipboard::copy_to_clipboard (const std::string &text, const bool mouse) |
Copies text to the clipboard. More... | |
std::string | desktop::clipboard::copy_from_clipboard (const bool mouse) |
Copies text from the clipboard. More... | |
void | desktop::clipboard::handle_system_event (const SDL_Event &) |
bool | desktop::clipboard::available () |
Whether wesnoth was compiled with support for a clipboard. More... | |
#define CLIPBOARD_FUNCS_DEFINED |
Definition at line 29 of file clipboard.cpp.