X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fbuttons.h;h=5a62e9a48a848036cbf80ef9ae656301b8100116;hp=5dfeb377cc4a73d421e0b5a1666c8f45f85f6075;hb=f70652c4a2f2e45d0f4ed7baf62e2311e66d4b13;hpb=57bbc28786e5cc6c531b53ef5e29512b1e0b73e8 diff --git a/src/buttons.h b/src/buttons.h index 5dfeb377..5a62e9a4 100644 --- a/src/buttons.h +++ b/src/buttons.h @@ -151,6 +151,9 @@ #define ED_BUTTON_EDOWN_Y2POS 165 #define ED_BUTTON_ELEM_Y2POS 190 +#define ED_SCROLLBUTTON_XSIZE 30 +#define ED_SCROLLBUTTON_YSIZE 20 + #define ED_BUTTON_CTRL_XPOS 5 #define ED_BUTTON_CTRL_YPOS 5 #define ED_BUTTON_CTRL_XSIZE 90 @@ -161,20 +164,20 @@ #define ED_BUTTON_FILL_YSIZE 20 #define ED_BUTTON_LEFT_XPOS 5 #define ED_BUTTON_LEFT_YPOS 65 -#define ED_BUTTON_LEFT_XSIZE 30 -#define ED_BUTTON_LEFT_YSIZE 20 +#define ED_BUTTON_LEFT_XSIZE ED_SCROLLBUTTON_XSIZE +#define ED_BUTTON_LEFT_YSIZE ED_SCROLLBUTTON_YSIZE #define ED_BUTTON_UP_XPOS 35 #define ED_BUTTON_UP_YPOS 55 -#define ED_BUTTON_UP_XSIZE 30 -#define ED_BUTTON_UP_YSIZE 20 +#define ED_BUTTON_UP_XSIZE ED_SCROLLBUTTON_XSIZE +#define ED_BUTTON_UP_YSIZE ED_SCROLLBUTTON_YSIZE #define ED_BUTTON_DOWN_XPOS 35 #define ED_BUTTON_DOWN_YPOS 75 -#define ED_BUTTON_DOWN_XSIZE 30 -#define ED_BUTTON_DOWN_YSIZE 20 +#define ED_BUTTON_DOWN_XSIZE ED_SCROLLBUTTON_XSIZE +#define ED_BUTTON_DOWN_YSIZE ED_SCROLLBUTTON_YSIZE #define ED_BUTTON_RIGHT_XPOS 65 #define ED_BUTTON_RIGHT_YPOS 65 -#define ED_BUTTON_RIGHT_XSIZE 30 -#define ED_BUTTON_RIGHT_YSIZE 20 +#define ED_BUTTON_RIGHT_XSIZE ED_SCROLLBUTTON_XSIZE +#define ED_BUTTON_RIGHT_YSIZE ED_SCROLLBUTTON_YSIZE #define ED_BUTTON_EDIT_XPOS 5 #define ED_BUTTON_EDIT_YPOS 5