X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7995487f3032d8415f87619efac7c391c72730..3ac8bd7b5347c31a0f4ff53aa0a3fcaa54ecb5ca:/demos/forty/card.h diff --git a/demos/forty/card.h b/demos/forty/card.h index cc525a741b..7137c1a05b 100644 --- a/demos/forty/card.h +++ b/demos/forty/card.h @@ -8,7 +8,7 @@ // Copyright: (c) 1993-1998 Chris Breeze // Licence: wxWindows licence //--------------------------------------------------------------------------- -// Last modified: 22nd July 1998 - ported to wxWindows 2.0 +// Last modified: 22nd July 1998 - ported to wxWidgets 2.0 ///////////////////////////////////////////////////////////////////////////// //+-------------------------------------------------------------+ //| Description: | @@ -33,13 +33,14 @@ enum Suit { clubs = 0, diamonds = 1, hearts = 2, spades = 3 }; enum SuitColour { red = 0, black = 1 }; enum WayUp { faceup, facedown }; - //--------------------------------// // A class defining a single card // //--------------------------------// class Card { - static double m_scale; - static int m_width,m_height; + friend class FortyApp; + + static double m_scale; + static int m_width,m_height; public: Card(int value, WayUp way_up = facedown);