Lines Matching refs:maxy
38 static int maxx=800, maxy=600; variable
46 for(j=0;j<maxy;++j) { in initBuffer()
48 buffer[(j*maxx+i)*bpp+0]=(i+j)*128/(maxx+maxy); /* red */ in initBuffer()
50 buffer[(j*maxx+i)*bpp+2]=j*256/maxy; /* blue */ in initBuffer()
86 maxy = height; in newframebuffer()
88 newfb = (unsigned char*)malloc(maxx * maxy * bpp); in newframebuffer()
90 rfbNewFramebuffer(screen, (char*)newfb, maxx, maxy, 8, 3, bpp); in newframebuffer()
128 if(x>=0 && y>=0 && x<maxx && y<maxy) { in doptr()
144 y2=y+buttonMask; if(y2>maxy) y2=maxy; in doptr()
182 rfbMarkRectAsModified(cl->screen,0,0,maxx,maxy); in dokey()
283 rfbScreenInfoPtr rfbScreen = rfbGetScreen(&argc,argv,maxx,maxy,8,3,bpp); in main()
287 rfbScreen->frameBuffer = (char*)malloc(maxx*maxy*bpp); in main()