mirror of https://github.com/stella-emu/stella.git
aligned button heights and widths
This commit is contained in:
parent
564e014620
commit
ad1d37304e
|
@ -35,127 +35,127 @@
|
|||
using Common::Base;
|
||||
|
||||
|
||||
const int BUTTON_W = 16, BUTTON_H = 14;
|
||||
const int BUTTON_W = 14, BUTTON_H = 14;
|
||||
|
||||
static uInt32 RECORD[BUTTON_H] =
|
||||
{
|
||||
0b0000001111000000,
|
||||
0b0000111111110000,
|
||||
0b0001111111111000,
|
||||
0b0011111111111100,
|
||||
0b0011111111111100,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0011111111111100,
|
||||
0b0011111111111100,
|
||||
0b0001111111111000,
|
||||
0b0000111111110000,
|
||||
0b0000001111000000
|
||||
0b00000111100000,
|
||||
0b00011111111000,
|
||||
0b00111111111100,
|
||||
0b01111111111110,
|
||||
0b01111111111110,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b01111111111110,
|
||||
0b01111111111110,
|
||||
0b00111111111100,
|
||||
0b00011111111000,
|
||||
0b00000111100000
|
||||
};
|
||||
|
||||
static uInt32 STOP[BUTTON_H] =
|
||||
{
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111
|
||||
};
|
||||
|
||||
static uInt32 PLAY[BUTTON_H] =
|
||||
{
|
||||
0b0110000000000000,
|
||||
0b0111100000000000,
|
||||
0b0111111000000000,
|
||||
0b0111111110000000,
|
||||
0b0111111111100000,
|
||||
0b0111111111111000,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111000,
|
||||
0b0111111111100000,
|
||||
0b0111111110000000,
|
||||
0b0111111000000000,
|
||||
0b0111100000000000,
|
||||
0b0110000000000000
|
||||
0b11000000000000,
|
||||
0b11110000000000,
|
||||
0b11111100000000,
|
||||
0b11111111000000,
|
||||
0b11111111110000,
|
||||
0b11111111111100,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111100,
|
||||
0b11111111110000,
|
||||
0b11111111000000,
|
||||
0b11111100000000,
|
||||
0b11110000000000,
|
||||
0b11000000000000
|
||||
};
|
||||
static uInt32 REWIND_ALL[BUTTON_H] =
|
||||
{
|
||||
0,
|
||||
0b0110000110000110,
|
||||
0b0110001110001110,
|
||||
0b0110011110011110,
|
||||
0b0110111110111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0110111110111110,
|
||||
0b0110011110011110,
|
||||
0b0110001110001110,
|
||||
0b0110000110000110,
|
||||
0b11000011000011,
|
||||
0b11000111000111,
|
||||
0b11001111001111,
|
||||
0b11011111011111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11011111011111,
|
||||
0b11001111001111,
|
||||
0b11000111000111,
|
||||
0b11000011000011,
|
||||
0
|
||||
};
|
||||
static uInt32 REWIND_1[BUTTON_H] =
|
||||
{
|
||||
0,
|
||||
0b0000001100011100,
|
||||
0b0000011100011100,
|
||||
0b0000111100011100,
|
||||
0b0001111100011100,
|
||||
0b0011111100011100,
|
||||
0b0111111100011100,
|
||||
0b0111111100011100,
|
||||
0b0011111100011100,
|
||||
0b0001111100011100,
|
||||
0b0000111100011100,
|
||||
0b0000011100011100,
|
||||
0b0000001100011100,
|
||||
0b00000110001110,
|
||||
0b00001110001110,
|
||||
0b00011110001110,
|
||||
0b00111110001110,
|
||||
0b01111110001110,
|
||||
0b11111110001110,
|
||||
0b11111110001110,
|
||||
0b01111110001110,
|
||||
0b00111110001110,
|
||||
0b00011110001110,
|
||||
0b00001110001110,
|
||||
0b00000110001110,
|
||||
0
|
||||
};
|
||||
static uInt32 UNWIND_1[BUTTON_H] =
|
||||
{
|
||||
0,
|
||||
0b0011100011000000,
|
||||
0b0011100011100000,
|
||||
0b0011100011110000,
|
||||
0b0011100011111000,
|
||||
0b0011100011111100,
|
||||
0b0011100011111110,
|
||||
0b0011100011111110,
|
||||
0b0011100011111100,
|
||||
0b0011100011111000,
|
||||
0b0011100011110000,
|
||||
0b0011100011100000,
|
||||
0b0011100011000000,
|
||||
0b01110001100000,
|
||||
0b01110001110000,
|
||||
0b01110001111000,
|
||||
0b01110001111100,
|
||||
0b01110001111110,
|
||||
0b01110001111111,
|
||||
0b01110001111111,
|
||||
0b01110001111110,
|
||||
0b01110001111100,
|
||||
0b01110001111000,
|
||||
0b01110001110000,
|
||||
0b01110001100000,
|
||||
0
|
||||
};
|
||||
static uInt32 UNWIND_ALL[BUTTON_H] =
|
||||
{
|
||||
0,
|
||||
0b0110000110000110,
|
||||
0b0111000111000110,
|
||||
0b0111100111100110,
|
||||
0b0111110111110110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111111111111110,
|
||||
0b0111110111110110,
|
||||
0b0111100111100110,
|
||||
0b0111000111000110,
|
||||
0b0110000110000110,
|
||||
0b11000011000011,
|
||||
0b11100011100011,
|
||||
0b11110011110011,
|
||||
0b11111011111011,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111111111111,
|
||||
0b11111011111011,
|
||||
0b11110011110011,
|
||||
0b11100011100011,
|
||||
0b11000011000011,
|
||||
0
|
||||
};
|
||||
|
||||
|
@ -167,7 +167,7 @@ TimeMachineDialog::TimeMachineDialog(OSystem& osystem, DialogContainer& parent,
|
|||
{
|
||||
const GUI::Font& font = instance().frameBuffer().font();
|
||||
const int H_BORDER = 6, BUTTON_GAP = 4, V_BORDER = 4;
|
||||
const int buttonWidth = BUTTON_W + 8,
|
||||
const int buttonWidth = BUTTON_W + 10,
|
||||
buttonHeight = BUTTON_H + 10,
|
||||
rowHeight = font.getLineHeight();
|
||||
|
||||
|
|
Loading…
Reference in New Issue