X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fbuttons.c;h=d3eb443adb263bd85aeab0bf176ed36c3c31c6d2;hb=a4bf969413cdda68ab8bb54a2a1181bdc09cf63a;hp=de63c630fe8f7cc15bc48cf848763487a0dbc7af;hpb=e5c5bf5c4a76a04f9bf64e92227bf2ef969fd25c;p=rocksndiamonds.git diff --git a/src/buttons.c b/src/buttons.c index de63c630..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<