]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/card.h
-1->wxID_ANY, TRUE->true, FALSE->false, wxDefaultPosition replacements
[wxWidgets.git] / demos / forty / card.h
index cc525a741bffb18ecf7fac17bd232c84151e6c8d..7137c1a05bd4db293649009dd6e98796d03c5a4c 100644 (file)
@@ -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);