1
0
mirror of https://github.com/lxsang/Diya-API.git synced 2024-12-27 03:48:21 +01:00
Diya-API/Diya/SDL_Window.extension.st
2021-12-19 12:32:23 +01:00

14 lines
250 B
Smalltalk

Extension { #name : #'SDL_Window' }
{ #category : #'*Diya' }
SDL_Window >> destroy [
self primDestroy.
handle beNull
]
{ #category : #'*Diya' }
SDL_Window >> warpMouseX:x Y:y [
^self ffiCall: #(void SDL_WarpMouseInWindow(self,int x, int y))
]