galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::input Namespace Reference

Functions

void clipboard_set (const std::string &contents) noexcept
 Set clipboard contents.
std::string clipboard_get () noexcept
 Get clipboard contents.
bool clipboard_clear () noexcept
 Clear the clipboard contents.

Function Documentation

◆ clipboard_set()

void galaxy::input::clipboard_set ( const std::string & contents)
noexcept

Set clipboard contents.

Parameters
contentsUTF-8 string.

Definition at line 16 of file Clipboard.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clipboard_get()

std::string galaxy::input::clipboard_get ( )
nodiscardnoexcept

Get clipboard contents.

Returns
UTF-8 string.

Definition at line 21 of file Clipboard.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clipboard_clear()

bool galaxy::input::clipboard_clear ( )
noexcept

Clear the clipboard contents.

Returns
True if successful.

Definition at line 34 of file Clipboard.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: