Lines Matching refs:as
13 * is provided "as is" without express or implied warranty.
29 * Implemented as a simple layer over the core cursor code; it
87 #define Wrap(as,s,elt,func) (((as)->elt = (s)->elt), (s)->elt = func)
88 #define Unwrap(as,s,elt) ((s)->elt = (as)->elt)
94 AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
97 Unwrap(as, pScreen, CloseScreen);
99 Unwrap(as, pScreen, CursorLimits);
100 Unwrap(as, pScreen, DisplayCursor);
101 Unwrap(as, pScreen, SetCursorPosition);
102 Unwrap(as, pScreen, RealizeCursor);
103 Unwrap(as, pScreen, UnrealizeCursor);
104 Unwrap(as, pScreen, RecolorCursor);
107 free(as);
118 AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
120 Unwrap (as, pScreen, CursorLimits);
133 Wrap (as, pScreen, CursorLimits, AnimCurCursorLimits);
149 AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
171 * Not a simple Unwrap/Wrap as this
176 pScreen->DisplayCursor = as->DisplayCursor;
180 as->DisplayCursor = pScreen->DisplayCursor;
195 Unwrap (as, pScreen, BlockHandler);
198 Wrap (as, pScreen, BlockHandler, AnimCurScreenBlockHandler);
200 as->BlockHandler = NULL;
208 AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
211 Unwrap (as, pScreen, DisplayCursor);
227 if (!as->BlockHandler)
228 Wrap(as, pScreen, BlockHandler, AnimCurScreenBlockHandler);
240 Wrap (as, pScreen, DisplayCursor, AnimCurDisplayCursor);
251 AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
254 Unwrap (as, pScreen, SetCursorPosition);
258 if (!as->BlockHandler)
259 Wrap(as, pScreen, BlockHandler, AnimCurScreenBlockHandler);
262 Wrap (as, pScreen, SetCursorPosition, AnimCurSetCursorPosition);
271 AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
274 Unwrap (as, pScreen, RealizeCursor);
279 Wrap (as, pScreen, RealizeCursor, AnimCurRealizeCursor);
288 AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
291 Unwrap (as, pScreen, UnrealizeCursor);
304 Wrap (as, pScreen, UnrealizeCursor, AnimCurUnrealizeCursor);
314 AnimCurScreenPtr as = GetAnimCurScreen(pScreen);
316 Unwrap (as, pScreen, RecolorCursor);
329 Wrap (as, pScreen, RecolorCursor, AnimCurRecolorCursor);
335 AnimCurScreenPtr as;
340 as = (AnimCurScreenPtr) malloc(sizeof (AnimCurScreenRec));
341 if (!as)
343 Wrap(as, pScreen, CloseScreen, AnimCurCloseScreen);
345 as->BlockHandler = NULL;
347 Wrap(as, pScreen, CursorLimits, AnimCurCursorLimits);
348 Wrap(as, pScreen, DisplayCursor, AnimCurDisplayCursor);
349 Wrap(as, pScreen, SetCursorPosition, AnimCurSetCursorPosition);
350 Wrap(as, pScreen, RealizeCursor, AnimCurRealizeCursor);
351 Wrap(as, pScreen, UnrealizeCursor, AnimCurUnrealizeCursor);
352 Wrap(as, pScreen, RecolorCursor, AnimCurRecolorCursor);
353 SetAnimCurScreen(pScreen,as);