// Last modified: 22nd July 1998 - ported to wxWidgets 2.0
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-#pragma implementation
-#pragma interface
-#endif
-
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
m_pack->GetTopCardPos(x, y);
x += 12 * CardWidth - 105;
- int w, h;
+ wxCoord w, h;
{
- long width, height;
+ wxCoord width, height;
dc.GetTextExtent(_T("Average score:m_x"), &width, &height);
w = width;
h = height;
{
delete m_cards[m_topCard];
}
-};
+}
//------------------------------------------------------//
return retval;
}
-Base::~Base()
-{
-// nothing special at the moment
-};
-
//----------------------------------------------------------------//
// The Foundation class: holds the cards built up from the ace... //
return retval;
}
-Foundation::~Foundation()
-{
-// nothing special at the moment
-};
-
//----------------------------------------------------//
// The Discard class: holds cards dealt from the m_pack //
for (int i = m_topCard - 31; i <= m_topCard - 31 + CardWidth / m_dx; i++)
{
- m_cards[i]->Draw(dc, m_x - m_xOffset + i * m_dx, m_y - m_yOffset);
+ m_cards[i]->Draw(dc, m_x - m_xOffset + i * m_dx, m_y - m_yOffset);
}
if (m_topCard > 31)
{
return card;
}
-
-
-Discard::~Discard()
-{
-// nothing special at the moment
-};