X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fbuttons.c;h=d3eb443adb263bd85aeab0bf176ed36c3c31c6d2;hb=a4bf969413cdda68ab8bb54a2a1181bdc09cf63a;hp=d80dd860590c531d021170b4398ff4f9711d95f1;hpb=1f731429c2299ea62b8335e096add76c1da53e1d;p=rocksndiamonds.git diff --git a/src/buttons.c b/src/buttons.c index d80dd860..d3eb443a 100644 --- a/src/buttons.c +++ b/src/buttons.c @@ -84,6 +84,19 @@ void DrawVideoDisplay(unsigned long state, unsigned long value) 0,0 }} }; + if (state & VIDEO_STATE_PBEND_OFF) + { + int cx = DOOR_GFX_PAGEX3, cy = DOOR_GFX_PAGEY2; + + XCopyArea(display,pix[PIX_DOOR],drawto,gc, + cx + VIDEO_REC_LABEL_XPOS, + cy + VIDEO_REC_LABEL_YPOS, + VIDEO_PBEND_LABEL_XSIZE, + VIDEO_PBEND_LABEL_YSIZE, + VX + VIDEO_REC_LABEL_XPOS, + VY + VIDEO_REC_LABEL_YPOS); + } + for(i=0;i<20;i++) { if (state & (1<