Functions | |
void | copy_to_clipboard (const std::string &text) |
Copies text to the clipboard. More... | |
std::string | copy_from_clipboard () |
Copies text from the clipboard. More... | |
std::string desktop::clipboard::copy_from_clipboard | ( | ) |
Copies text from the clipboard.
Definition at line 32 of file clipboard.cpp.
Referenced by gui::textbox::handle_key_down(), gui2::text_box_base::paste_selection(), and gui2::password_box::paste_selection().
void desktop::clipboard::copy_to_clipboard | ( | const std::string & | text | ) |
Copies text to the clipboard.
text | The text to copy. |
Definition at line 27 of file clipboard.cpp.
Referenced by gui2::dialogs::chat_log::model::chat_message_list_to_clipboard(), gui2::dialogs::wml_error::copy_report_callback(), gui2::text_box_base::copy_selection(), gui2::dialogs::game_cache_options::copy_to_clipboard_callback(), gui2::dialogs::game_version::copy_to_clipboard_callback(), gui2::dialogs::custom_tod::copy_to_clipboard_callback(), editor::editor_controller::export_selection_coords(), gui2::dialogs::gamestate_inspector::controller::handle_copy_button_clicked(), gui2::dialogs::lua_interpreter::controller::handle_copy_button_clicked(), gui::textbox::handle_key_down(), gui2::dialogs::screenshot_notification::pre_show(), gui2::dialogs::game_version::report_copy_callback(), gui2::multiline_text::signal_handler_left_button_down(), and gui2::label::signal_handler_right_button_click().