move the +/- and the color preview in palette dialog

This commit is contained in:
Thomas Bernard 2019-04-27 14:48:29 +02:00
parent b0175a22b2
commit fcb327ce7c
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -1078,20 +1078,20 @@ void Tag_used_colors(byte color, dword color_usage[])
void Button_Palette(int btn) void Button_Palette(int btn)
{ {
static const int BUTTON_PLUS_X = 182; static const int BUTTON_PLUS_X = 180;
static const int BUTTON_PLUS_Y = 163; static const int BUTTON_PLUS_Y = 79;
static const int BUTTON_MINUS_X = 198; static const int BUTTON_MINUS_X = 196;
static const int BUTTON_MINUS_Y = 163; static const int BUTTON_MINUS_Y = 79;
// Coordinates of the block that displays Backcolor // Coordinates of the block that displays Backcolor
static const int BGCOLOR_DISPLAY_X = 176; static const int BGCOLOR_DISPLAY_X = 174;
static const int BGCOLOR_DISPLAY_Y = 65 + 14; static const int BGCOLOR_DISPLAY_Y = 65 + 14 + 14;
static const int BGCOLOR_DISPLAY_W = 40; static const int BGCOLOR_DISPLAY_W = 40;
static const int BGCOLOR_DISPLAY_H = 96 - 14; static const int BGCOLOR_DISPLAY_H = 96 - 14;
// Coordinates of the block that displays Forecolor // Coordinates of the block that displays Forecolor
static const int FGCOLOR_DISPLAY_X = 180; static const int FGCOLOR_DISPLAY_X = 178;
static const int FGCOLOR_DISPLAY_Y = 69 + 14; static const int FGCOLOR_DISPLAY_Y = 69 + 14 + 14;
static const int FGCOLOR_DISPLAY_W = 32; static const int FGCOLOR_DISPLAY_W = 32;
static const int FGCOLOR_DISPLAY_H = 88 - 14; static const int FGCOLOR_DISPLAY_H = 88 - 14;