Added Copy and Paste functions to GHOST.
authorRicki Myers <antihc3@gmail.com>
Tue, 4 Mar 2008 00:41:30 +0000 (00:41 +0000)
committerRicki Myers <antihc3@gmail.com>
Tue, 4 Mar 2008 00:41:30 +0000 (00:41 +0000)
commitffcbff62dd569b880c39084889fe68be76f67f51
tree61e5ba1ed5395117a41b90323c25a54e3ab7c234
parentc7d0a2a92a0029573130896ae93171cfb055c50f
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.
14 files changed:
intern/ghost/GHOST_C-api.h
intern/ghost/GHOST_ISystem.h
intern/ghost/intern/GHOST_C-api.cpp
intern/ghost/intern/GHOST_System.h
intern/ghost/intern/GHOST_SystemCarbon.cpp
intern/ghost/intern/GHOST_SystemCarbon.h
intern/ghost/intern/GHOST_SystemWin32.cpp
intern/ghost/intern/GHOST_SystemWin32.h
intern/ghost/intern/GHOST_SystemX11.cpp
intern/ghost/intern/GHOST_SystemX11.h
intern/ghost/intern/GHOST_WindowX11.cpp
source/blender/blenkernel/BKE_text.h
source/blender/src/drawtext.c
source/blender/src/header_text.c