Skip to content

Commit 5aa9574

Browse files
committed
HostWindowPlugin as per VMMaker.oscog-eem.2834
Implement the position/size part of the plugin on Mac. And allow the cursor warp primitive to be accessible in Squeak (on Windows and Mac).
1 parent 222999f commit 5aa9574

File tree

5 files changed

+195
-102
lines changed

5 files changed

+195
-102
lines changed

platforms/Cross/plugins/HostWindowPlugin/HostWindowPlugin.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* windowHandles etc are expected to be SmallInteger valid values
55
* windowHandle 1 is the traditional main window */
66

7+
#define packedXY(x,y) (((x) << 16) | ((y)&0xFFFF))
8+
79
/* closeWindow: arg is sqIntptr_t windowIndex. Fail (return 0) if anything
810
* goes wrong - typically the windowIndex invalid or similar */
911
extern sqInt closeWindow(sqIntptr_t index);

0 commit comments

Comments
 (0)