|
|
@ -179,15 +179,14 @@ rfbKeySym SDL_keysym2rfbKeySym(int keysym) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#define main main1
|
|
|
|
|
|
|
|
#include "ppmtest.c"
|
|
|
|
|
|
|
|
#undef main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void update(rfbClient* cl,int x,int y,int w,int h) {
|
|
|
|
void update(rfbClient* cl,int x,int y,int w,int h) {
|
|
|
|
SDL_UpdateRect(cl->clientData, x, y, w, h);
|
|
|
|
SDL_UpdateRect(cl->clientData, x, y, w, h);
|
|
|
|
SaveFramebufferAsPPM(cl,x,y,w,h);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef mac
|
|
|
|
|
|
|
|
#define main SDLmain
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
int main(int argc,char** argv) {
|
|
|
|
int main(int argc,char** argv) {
|
|
|
|
rfbClient* cl;
|
|
|
|
rfbClient* cl;
|
|
|
|
int i,buttonMask=0;
|
|
|
|
int i,buttonMask=0;
|
|
|
|