80 |
w : int; |
w : int; |
81 |
h : int; |
h : int; |
82 |
pfmt : int; |
pfmt : int; |
83 |
out surfacep : mach_port_make_send_t); |
out surfacep : surface_t = MACH_MSG_TYPE_MAKE_SEND); |
84 |
|
|
85 |
routine surface_map |
routine surface_map |
86 |
(surface : surface_t); |
(surface : surface_t); |
87 |
|
|
88 |
|
routine surface_unmap |
89 |
|
(surface : surface_t); |
90 |
|
|
91 |
|
routine surface_update |
92 |
|
(surface : surface_t; |
93 |
|
x : int; |
94 |
|
y : int; |
95 |
|
width : int; |
96 |
|
height : int); |
97 |
|
|
98 |
routine surface_set_opaque |
routine surface_set_opaque |
99 |
(surface : surface_t; |
(surface : surface_t; |
100 |
opaque : double); |
opaque : double); |
109 |
port : mach_port_make_send_t; |
port : mach_port_make_send_t; |
110 |
mask : int); |
mask : int); |
111 |
|
|
112 |
|
/* Grab cursor for SURFACE. All cursor events are sent directly to |
113 |
|
SURFACE instead of the focused surface. */ |
114 |
|
routine surface_cursor_grab |
115 |
|
(surface : surface_t); |
116 |
|
|
117 |
|
/* Reverese a previously cursor grab on surface. Start send cursor |
118 |
|
events to focused surface. */ |
119 |
|
routine surface_cursor_ungrab |
120 |
|
(surface : surface_t); |
121 |
|
|
122 |
|
|
123 |
routine server_screenshot |
routine server_screenshot |
124 |
(server : mach_port_t); |
(server : mach_port_t); |
125 |
|
|