Mercurial > sdl-ios-xcode
comparison src/video/cocoa/SDL_cocoavideo.m @ 4499:c2ebe3e020c6
Added Mac OS X implementation of clipboard support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 08 Jul 2010 00:35:58 -0700 |
parents | 3d91e31fcf71 |
children | 7b1d35d98294 |
comparison
equal
deleted
inserted
replaced
4498:3d91e31fcf71 | 4499:c2ebe3e020c6 |
---|---|
106 | 106 |
107 device->StartTextInput = Cocoa_StartTextInput; | 107 device->StartTextInput = Cocoa_StartTextInput; |
108 device->StopTextInput = Cocoa_StopTextInput; | 108 device->StopTextInput = Cocoa_StopTextInput; |
109 device->SetTextInputRect = Cocoa_SetTextInputRect; | 109 device->SetTextInputRect = Cocoa_SetTextInputRect; |
110 | 110 |
111 device->SetClipboardText = Cocoa_SetClipboardText; | |
112 device->GetClipboardText = Cocoa_GetClipboardText; | |
113 device->HasClipboardText = Cocoa_HasClipboardText; | |
114 | |
111 device->free = Cocoa_DeleteDevice; | 115 device->free = Cocoa_DeleteDevice; |
112 | 116 |
113 return device; | 117 return device; |
114 } | 118 } |
115 | 119 |