Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorRicki Myers <antihc3@gmail.com>2008-03-08 07:22:52 +0300
committerRicki Myers <antihc3@gmail.com>2008-03-08 07:22:52 +0300
commitb5cdd1f2d6e834dde4a0cdbec1a1bf2874e8a88d (patch)
tree88ef35606aac89a298df89673984c7967bfe9212 /intern
parentb1fcb254c48d14fed31f315ca84830a2d5f78788 (diff)
Changed getClipbaord and putClipboard functions to be more ghost like
Changed getClipboard to GHOST_getClipboard and putClipboard to GHOST_putClipboard Removed ghost calls from blender and added the calls to winlay.h and ghostwinlay.c This cleand up casts in drawtext.c
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/GHOST_C-api.h4
-rw-r--r--intern/ghost/intern/GHOST_C-api.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h
index a819713df88..c4a2da5e7de 100644
--- a/intern/ghost/GHOST_C-api.h
+++ b/intern/ghost/GHOST_C-api.h
@@ -763,12 +763,12 @@ extern GHOST_TSuccess GHOST_ClipRectangle(GHOST_RectangleHandle rectanglehandle,
* Return the data from the clipboad
* @return clipboard data
*/
-extern GHOST_TUns8* getClipboard(int flag);
+extern GHOST_TUns8* GHOST_getClipboard(int flag);
/**
* Put data to the Clipboard
*/
-extern void putClipboard(GHOST_TInt8 *buffer, int flag);
+extern void GHOST_putClipboard(GHOST_TInt8 *buffer, int flag);
#ifdef __cplusplus
}
diff --git a/intern/ghost/intern/GHOST_C-api.cpp b/intern/ghost/intern/GHOST_C-api.cpp
index 6943e85f12f..60634eeff8c 100644
--- a/intern/ghost/intern/GHOST_C-api.cpp
+++ b/intern/ghost/intern/GHOST_C-api.cpp
@@ -803,13 +803,13 @@ GHOST_TSuccess GHOST_ClipRectangle(GHOST_RectangleHandle rectanglehandle,
return result;
}
-GHOST_TUns8* getClipboard(int flag)
+GHOST_TUns8* GHOST_getClipboard(int flag)
{
GHOST_ISystem* system = GHOST_ISystem::getSystem();
return system->getClipboard(flag);
}
-void putClipboard(GHOST_TInt8 *buffer, int flag)
+void GHOST_putClipboard(GHOST_TInt8 *buffer, int flag)
{
GHOST_ISystem* system = GHOST_ISystem::getSystem();
system->putClipboard(buffer, flag);