mirror of
https://github.com/lxsang/Diya-API.git
synced 2025-03-12 10:32:48 +01:00
remove dependecy on OSSDL2Driver
This commit is contained in:
parent
7a7665430d
commit
4a95c7d6df
@ -6,6 +6,17 @@ SDL_Window >> destroy [
|
|||||||
handle beNull
|
handle beNull
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #'*Diya' }
|
||||||
|
SDL_Window class >> finalizeResourceData: aTuple [
|
||||||
|
| handle |
|
||||||
|
|
||||||
|
handle := aTuple first.
|
||||||
|
handle isNull ifTrue: [ ^ self ].
|
||||||
|
|
||||||
|
self destroyWindow: handle.
|
||||||
|
handle beNull
|
||||||
|
]
|
||||||
|
|
||||||
{ #category : #'*Diya' }
|
{ #category : #'*Diya' }
|
||||||
SDL_Window >> warpMouseX:x Y:y [
|
SDL_Window >> warpMouseX:x Y:y [
|
||||||
^self ffiCall: #(void SDL_WarpMouseInWindow(self,int x, int y))
|
^self ffiCall: #(void SDL_WarpMouseInWindow(self,int x, int y))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user