X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70d26c3f4ffb24d50457d405c9595fd23f9e5b7c..85ac8ca017a0409e9762ed305ccc1d32a7c28fa7:/demos/forty/canvas.h diff --git a/demos/forty/canvas.h b/demos/forty/canvas.h index 60abf5f2d3..b7ea7d5459 100644 --- a/demos/forty/canvas.h +++ b/demos/forty/canvas.h @@ -21,7 +21,7 @@ class PlayerSelectionDialog; class FortyCanvas: public wxScrolledWindow { public: - FortyCanvas(wxWindow* parent, int x, int y, int w, int h); + FortyCanvas(wxWindow* parent, const wxPoint& pos, const wxSize& size); virtual ~FortyCanvas(); virtual void OnDraw(wxDC& dc); @@ -37,6 +37,8 @@ public: void UpdateScores(); void EnableHelpingHand(bool enable) { m_helpingHand = enable; } void EnableRightButtonUndo(bool enable) { m_rightBtnUndo = enable; } + void LayoutGame(); + void ShowPlayerDialog(); DECLARE_EVENT_TABLE()