X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbuttons.h;h=c34a1ab64589a28c4ae08d9fa793f5e24790c8ba;hb=a4bf969413cdda68ab8bb54a2a1181bdc09cf63a;hp=f6d3341fadda24c517ef6687feab6af044be93fc;hpb=cd56ad175c592ea3047703d57c11d2f3a61f7f37;p=rocksndiamonds.git diff --git a/src/buttons.h b/src/buttons.h index f6d3341f..c34a1ab6 100644 --- a/src/buttons.h +++ b/src/buttons.h @@ -77,6 +77,12 @@ #define VIDEO_TIME_XSIZE 50 #define VIDEO_TIME_YSIZE 16 +/* special */ +#define VIDEO_PBEND_LABEL_XPOS 6 +#define VIDEO_PBEND_LABEL_YPOS 220 +#define VIDEO_PBEND_LABEL_XSIZE 35 +#define VIDEO_PBEND_LABEL_YSIZE 30 + #define ON_VIDEO_BUTTON(x,y) ((x)>=(VX+VIDEO_CONTROL_XPOS) && \ (x)< (VX+VIDEO_CONTROL_XPOS + \ VIDEO_CONTROL_XSIZE) && \ @@ -121,6 +127,9 @@ #define VIDEO_STATE_FFWD_OFF ((1L<<20) | VIDEO_STATE_PAUSE_OFF) #define VIDEO_STATE_FFWD_ON (1L<<21) #define VIDEO_STATE_FFWD (VIDEO_STATE_FFWD_OFF | VIDEO_STATE_FFWD_ON) +#define VIDEO_STATE_PBEND_OFF (1L<<22) +#define VIDEO_STATE_PBEND_ON (1L<<23) +#define VIDEO_STATE_PBEND (VIDEO_STATE_PBEND_OFF | VIDEO_STATE_PBEND_ON) #define BUTTON_VIDEO_EJECT 1 #define BUTTON_VIDEO_STOP 2 @@ -132,6 +141,7 @@ VIDEO_STATE_REC_OFF | \ VIDEO_STATE_PAUSE_OFF | \ VIDEO_STATE_FFWD_OFF | \ + VIDEO_STATE_PBEND_OFF | \ VIDEO_STATE_DATE_OFF | \ VIDEO_STATE_TIME_OFF) #define VIDEO_PRESS_OFF (VIDEO_PRESS_PLAY_OFF | \ @@ -145,6 +155,7 @@ VIDEO_STATE_REC_ON | \ VIDEO_STATE_PAUSE_ON | \ VIDEO_STATE_FFWD_ON | \ + VIDEO_STATE_PBEND_ON | \ VIDEO_STATE_DATE_ON | \ VIDEO_STATE_TIME_ON) #define VIDEO_PRESS_ON (VIDEO_PRESS_PLAY_ON | \