X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7995487f3032d8415f87619efac7c391c72730..b9b8a2b5d79c50af78720589dc96cd7e16cde26e:/demos/forty/card.h diff --git a/demos/forty/card.h b/demos/forty/card.h index cc525a741b..aab8df9d71 100644 --- a/demos/forty/card.h +++ b/demos/forty/card.h @@ -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);