Lines Matching refs:rfbScreen
46 static void SetXCursor(rfbScreenInfoPtr rfbScreen)
78 rfbSetCursor(rfbScreen, c);
81 static void SetXCursor2(rfbScreenInfoPtr rfbScreen)
134 rfbSetCursor(rfbScreen, c);
139 static void SetRichCursor(rfbScreenInfoPtr rfbScreen)
143 /* rfbCursorPtr c = rfbScreen->cursor; */
191 rfbSetCursor(rfbScreen, c);
195 static void SetRichCursor2(rfbScreenInfoPtr rfbScreen)
198 /* rfbCursorPtr c = rfbScreen->cursor; */
217 /* c=rfbScreen->cursor = rfbMakeXCursor(w,h,bitmap,bitmap); */
230 rfbSetCursor(rfbScreen, c);
325 rfbScreenInfoPtr rfbScreen = rfbGetScreen(&argc,argv,maxx,maxy,8,3,bpp);
326 if(!rfbScreen)
329 rfbScreen->desktopName = "Cursor Test";
330 rfbScreen->frameBuffer = (char*)malloc(maxx*maxy*bpp);
331 rfbScreen->ptrAddEvent = doptr;
333 initBuffer((unsigned char*)rfbScreen->frameBuffer);
336 SetRichCursor(rfbScreen);
339 rfbInitServer(rfbScreen);
346 rfbRunEventLoop(rfbScreen,40000,FALSE);
348 free(rfbScreen->frameBuffer);
349 rfbScreenCleanup(rfbScreen);