#include <string>#include "SDL.h"

Go to the source code of this file.
Functions | |
| void | copy_to_clipboard (const std::string &text, const bool mouse) |
| Copies text to the clipboard. | |
| std::string | copy_from_clipboard (const bool mouse) |
| Copies text from the clipboard. | |
Definition in file clipboard.hpp.
| std::string copy_from_clipboard | ( | const bool | mouse | ) |
Copies text from the clipboard.
| mouse | Is the pasting done by the mouse? |
Definition at line 571 of file clipboard.cpp.
Referenced by gui::textbox::handle_event(), and gui2::ttext_::paste_selection().

| void copy_to_clipboard | ( | const std::string & | text, | |
| const bool | mouse | |||
| ) |
Copies text to the clipboard.
| text | The text to copy. | |
| mouse | Is the selection done by the mouse? On UNIX systems there are multiple clipboards and the mouse selection uses a different clipboard. Ignored on other systems. |
Definition at line 567 of file clipboard.cpp.
Referenced by gui2::ttext_::copy_selection(), editor::editor_controller::export_selection_coords(), and gui::textbox::handle_event().

| Generated by doxygen 1.7.1 on Thu May 24 2012 01:03:41 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |