diff options
author | Ricki Myers <antihc3@gmail.com> | 2008-03-04 03:41:30 +0300 |
---|---|---|
committer | Ricki Myers <antihc3@gmail.com> | 2008-03-04 03:41:30 +0300 |
commit | ffcbff62dd569b880c39084889fe68be76f67f51 (patch) | |
tree | 61e5ba1ed5395117a41b90323c25a54e3ab7c234 /source/blender/blenkernel/BKE_text.h | |
parent | c7d0a2a92a0029573130896ae93171cfb055c50f (diff) |
Added Copy and Paste functions to GHOST.
- Moved WIN32 code to ghost and added code for other systems.
- Added functions getClipboard(flag), and putClipboard(buffer, flag)
-Flag is used on X11 to request selection buffer or clipboard.
-If any other system uses flag = 1 the function returns doing nothing.
- Changed ctrl +c/v and shift+ctrl + c/v to do the same thing (use the clipboard).
- Changed the menu items (copy, paste) to use the clipboard.
Diffstat (limited to 'source/blender/blenkernel/BKE_text.h')
-rw-r--r-- | source/blender/blenkernel/BKE_text.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_text.h b/source/blender/blenkernel/BKE_text.h index 35f0ee841be..c4a2ffe369b 100644 --- a/source/blender/blenkernel/BKE_text.h +++ b/source/blender/blenkernel/BKE_text.h @@ -95,7 +95,8 @@ void indent (struct Text *text); void uncomment (struct Text *text); int setcurr_tab (struct Text *text); void convert_tabs (struct SpaceText *st, int tab); - +void txt_copy_clipboard (struct Text *text); +void txt_paste_clipboard (struct Text *text); /* Undo opcodes */ /* Simple main cursor movement */ |