Lines Matching refs:rfbScreen
227 static void MakeRichCursor(rfbScreenInfoPtr rfbScreen)
230 rfbCursorPtr c = rfbScreen->cursor;
264 c=rfbScreen->cursor = rfbMakeXCursor(w,h,bitmap,bitmap);
283 rfbScreenInfoPtr rfbScreen = rfbGetScreen(&argc,argv,maxx,maxy,8,3,bpp);
284 if(!rfbScreen)
286 rfbScreen->desktopName = "LibVNCServer Example";
287 rfbScreen->frameBuffer = (char*)malloc(maxx*maxy*bpp);
288 rfbScreen->alwaysShared = TRUE;
289 rfbScreen->ptrAddEvent = doptr;
290 rfbScreen->kbdAddEvent = dokey;
291 rfbScreen->newClientHook = newclient;
292 rfbScreen->httpDir = "../webclients";
293 rfbScreen->httpEnableProxyConnect = TRUE;
295 initBuffer((unsigned char*)rfbScreen->frameBuffer);
296 rfbDrawString(rfbScreen,&radonFont,20,100,"Hello, World!",0xffffff);
299 /* rfbScreen->defaultCursor =
303 MakeRichCursor(rfbScreen);
306 rfbInitServer(rfbScreen);
312 for(i=0;rfbIsActive(rfbScreen);i++) {
314 rfbProcessEvents(rfbScreen,100000);
320 rfbRunEventLoop(rfbScreen,40000,FALSE);
328 rfbRunEventLoop(rfbScreen,-1,TRUE);
334 free(rfbScreen->frameBuffer);
335 rfbScreenCleanup(rfbScreen);