Lines Matching refs:maxx
38 static int maxx=800, maxy=600; variable
47 for(i=0;i<maxx;++i) { in initBuffer()
48 buffer[(j*maxx+i)*bpp+0]=(i+j)*128/(maxx+maxy); /* red */ in initBuffer()
49 buffer[(j*maxx+i)*bpp+1]=i*128/maxx; /* green */ in initBuffer()
50 buffer[(j*maxx+i)*bpp+2]=j*256/maxy; /* blue */ in initBuffer()
52 buffer[j*maxx*bpp+0]=0xff; in initBuffer()
53 buffer[j*maxx*bpp+1]=0xff; in initBuffer()
54 buffer[j*maxx*bpp+2]=0xff; in initBuffer()
55 buffer[j*maxx*bpp+3]=0xff; in initBuffer()
85 maxx = width; 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()
142 x2=x+buttonMask; if(x2>maxx) x2=maxx; in doptr()
182 rfbMarkRectAsModified(cl->screen,0,0,maxx,maxy); in dokey()
184 if (maxx < 1024) { in dokey()
185 if (maxx < 800) { in dokey()
192 if (maxx > 640) { in dokey()
193 if (maxx > 800) { 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()