* Create selection zones to remember the last card the cursor was on.
This commit is contained in:
jean.chalard
2009-09-12 12:57:50 +00:00
parent 23fb17e58e
commit 34d973c60d
10 changed files with 73 additions and 26 deletions

View File

@@ -160,9 +160,9 @@ int GuiGraveyard::receiveEventPlus(WEvent* e)
{
CardView* t;
if (event->card->view)
t = NEW CardView(event->card, *(event->card->view));
t = NEW CardView(CardSelector::nullZone, event->card, *(event->card->view));
else
t = NEW CardView(event->card, x, y);
t = NEW CardView(CardSelector::nullZone, event->card, x, y);
t->x = x + Width / 2; t->y = y + Height / 2; t->zoom = 0.6; t->alpha = 0;
cards.push_back(t);
return 1;