mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 01:13:38 +00:00
[SPIDER]
CORE-8409 #resolve #comment Solution in the middle makes Spider look nice in ROS and not like a stamp AND it fits on 800x600. 640x480 won't be fixed, because having overlapped cards is NO fix, it's plain ugly. svn path=/trunk/; revision=63817
This commit is contained in:
parent
c0824cc55a
commit
3cfcb20668
|
@ -15,8 +15,8 @@
|
||||||
#define CARDBACK_OPTIONS_WIDTH 72
|
#define CARDBACK_OPTIONS_WIDTH 72
|
||||||
#define CARDBACK_OPTIONS_HEIGHT 112
|
#define CARDBACK_OPTIONS_HEIGHT 112
|
||||||
|
|
||||||
#define X_BORDER 4
|
#define X_BORDER 5
|
||||||
#define Y_BORDER 4
|
#define Y_BORDER 5
|
||||||
|
|
||||||
#define NUM_STACKS 10
|
#define NUM_STACKS 10
|
||||||
|
|
||||||
|
|
|
@ -298,7 +298,7 @@ void CreateSpider()
|
||||||
pStack[i]->SetFaceDirection(CS_FACE_DOWN, 0);
|
pStack[i]->SetFaceDirection(CS_FACE_DOWN, 0);
|
||||||
pos = i - NUM_STACKS/2;
|
pos = i - NUM_STACKS/2;
|
||||||
pStack[i]->SetPlacement(CS_XJUST_CENTER, 0,
|
pStack[i]->SetPlacement(CS_XJUST_CENTER, 0,
|
||||||
pos * (__cardwidth + X_BORDER) + 6 * (X_BORDER + 2) + 2, 0);
|
pos * (__cardwidth + X_BORDER) + 6 * (X_BORDER + 1) + 3, 0);
|
||||||
pStack[i]->SetEmptyImage(CS_EI_SUNK);
|
pStack[i]->SetEmptyImage(CS_EI_SUNK);
|
||||||
pStack[i]->SetDragRule(CS_DRAG_CALLBACK, StackDragProc);
|
pStack[i]->SetDragRule(CS_DRAG_CALLBACK, StackDragProc);
|
||||||
pStack[i]->SetDropRule(CS_DROP_CALLBACK, StackDropProc);
|
pStack[i]->SetDropRule(CS_DROP_CALLBACK, StackDropProc);
|
||||||
|
|
Loading…
Reference in a new issue