mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
[qwaq] Make the corner window controls 2x2
This makes them a little easier to grab but exposes a bug in Group handleEvent when views partially overlap.
This commit is contained in:
parent
1479880954
commit
ba3efca8e5
1 changed files with 7 additions and 7 deletions
|
@ -33,17 +33,17 @@
|
|||
topDrag = [[Button alloc] initWithRect: {{1, 0},
|
||||
{xlen - 2, 1}}];
|
||||
topLeftDrag = [[Button alloc] initWithRect: {{0, 0},
|
||||
{1, 1}}];
|
||||
topRightDrag = [[Button alloc] initWithRect: {{xlen - 1, 0},
|
||||
{1, 1}}];
|
||||
{2, 2}}];
|
||||
topRightDrag = [[Button alloc] initWithRect: {{xlen - 2, 0},
|
||||
{2, 2}}];
|
||||
leftDrag = [[Button alloc] initWithRect: {{0, 1},
|
||||
{1, ylen - 2}}];
|
||||
rightDrag = [[Button alloc] initWithRect: {{xlen - 1, 1},
|
||||
{1, ylen - 2}}];
|
||||
bottomLeftDrag = [[Button alloc] initWithRect: {{0, ylen - 1},
|
||||
{1, 1}}];
|
||||
bottomRightDrag = [[Button alloc] initWithRect: {{xlen - 1, ylen - 1},
|
||||
{1, 1}}];
|
||||
bottomLeftDrag = [[Button alloc] initWithRect: {{0, ylen - 2},
|
||||
{2, 2}}];
|
||||
bottomRightDrag = [[Button alloc] initWithRect: {{xlen - 2, ylen - 2},
|
||||
{2, 2}}];
|
||||
bottomDrag = [[Button alloc] initWithRect: {{1, ylen - 1},
|
||||
{xlen - 2, 1}}];
|
||||
[self addView: [topDrag setGrowMode: gfGrowHiX]];
|
||||
|
|
Loading…
Reference in a new issue