Logo Search packages:      
Sourcecode: vdr-plugin-spider version File versions

void SpiderGame::paintFinal ( unsigned int  f  )  [private]

Paint a final heap

Definition at line 324 of file game.c.

References Tableau::finals, paintCard(), paintFrame(), and Tableau::piles.

Referenced by paint().

{
  int offset = tableau->piles.size() - tableau->finals.size();
  int finalX = xPos + 1 + (f + offset) * (cardWidth + xDist);
  int finalY = yPos + 1;
  if (tableau->finals[f]->empty())
    paintFrame(finalX, finalY);
  else
    paintCard(finalX, finalY, tableau->finals[f]->top());
}


Generated by  Doxygen 1.6.0   Back to index