New buttons
This commit is contained in:
parent
c459026993
commit
c6ff1ced86
5 changed files with 3 additions and 3 deletions
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 2.5 KiB |
|
@ -112,7 +112,7 @@ const SDL_Color NORMAL_COLOUR = {0xDD,0xDD,0xDD,0},
|
|||
BLACK_COLOUR = {0x00,0x00,0x00,0},
|
||||
DARK_COLOUR = {0x00,0x00,0x66,0},
|
||||
YELLOW_COLOUR = {0xFF,0xFF,0x00,0},
|
||||
BUTTON_COLOUR = {0xFF,0xFF,0x00,0};
|
||||
BUTTON_COLOUR = {0xBC,0xB0,0x88,0};
|
||||
|
||||
const SDL_Color& get_side_colour(int side)
|
||||
{
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
namespace gui {
|
||||
|
||||
const int font_size = 12;
|
||||
const int horizontal_padding = 10;
|
||||
const int vertical_padding = 10;
|
||||
const int horizontal_padding = 6;
|
||||
const int vertical_padding = 12;
|
||||
|
||||
button::button(display& disp, const std::string& label, button::TYPE type,
|
||||
const std::string& button_image_name) :
|
||||
|
|
Loading…
Add table
Reference in a new issue