[SDL] Cut and Paste in SDL
Daniel Bünzli
daniel.buenzli at epfl.ch
Wed Jan 10 07:32:26 PST 2007
Le 10 janv. 07 à 00:01, E. Wing a écrit :
> I submitted some of the changes back to Sam. (I think there was one
> more change I didn't give to Sam yet which was probably a minor
> Windows fix.) He did ask if he could use it for SDL 1.3, which I
> agreed to so I hope to see it in the core.
This would be a nice addition indeed. However having a quick look at
SDL_scrap, I would suggest to use something more flexible than an
integer for pasteboard content types, I think MIME content types [1]
would be more usefull to describe data.
Also if this :
> get_scrap(T('T','E','X','T'), &scraplen, &scrap);
is supposed to be only ASCII-encoded text, then the whole thing is
unusefull (yes there is an umlaut in my name).
Content negotiation (the client can get/provide the same data under
different formats) would also be nice but I wonder if all platform
specific api support it (osx does).
Best,
Daniel
[1] <http://www.ietf.org/rfc/rfc2046.txt>
More information about the SDL
mailing list