22 #ifndef HODJNPODJ_POKER_DIALOGS_H 23 #define HODJNPODJ_POKER_DIALOGS_H 25 #include "bagel/hodjnpodj/hnplibs/cbofdlg.h" 26 #include "bagel/hodjnpodj/poker/poker.h" 40 bool m_bSoundOn =
false;
41 bool m_bDisableSets =
false;
46 void SetInitialOptions(
bool =
false,
bool =
true);
47 void ClearDialogImage();
50 virtual bool OnCommand(WPARAM, LPARAM)
override;
51 virtual bool OnInitDialog()
override;
52 afx_msg
void OnPaint();
53 afx_msg
bool OnEraseBkgnd(
CDC *pDC);
54 afx_msg
void OnDestroy();
63 int m_nCurrentAmount = 0;
64 char m_cAmount[6] = {};
65 CRect rectDisplayAmount;
69 void SetInitialOptions(
long = 0);
70 void ClearDialogImage();
71 bool OnInitDialog()
override;
75 virtual bool OnCommand(WPARAM, LPARAM)
override;
76 afx_msg
void OnHScroll(
unsigned int nSBCode,
unsigned int nPos,
CScrollBar* pScrollBar);
77 afx_msg
void OnPaint();
78 afx_msg
bool OnEraseBkgnd(
CDC *pDC);
79 afx_msg
void OnDestroy();
89 char m_cPairJacksPlus[6] = {};
90 char m_cTwoPair[6] = {};
91 char m_cThreeOAK[6] = {};
92 char m_cStriaght[6] = {};
93 char m_cFlush[6] = {};
94 char m_cFullHouse[6] = {};
95 char m_cFourOAK[6] = {};
96 char m_cStraightFlush[6] = {};
97 char m_cRoyalFlush[6] = {};
99 bool m_bJustDisplay =
false;
101 CRect rectPair, rectPairJacks;
102 CRect rectTwoPair, rectThree;
103 CRect rectStraight, rectFlush;
104 CRect rectFullHouse, rectFour;
105 CRect rectStraightFlush;
106 CRect rectRoyalFlush;
109 CSetPayoffsDlg(
CWnd* pParent =
nullptr,
CPalette *pPalette =
nullptr,
unsigned int = IDD_WINRATIO,
int = IDC_POPO,
bool =
false);
110 void ClearDialogImage();
111 void OnKlingon(
bool =
true);
112 void OnKuwaiti(
bool =
true);
113 void OnMartian(
bool =
true);
114 void OnPopo(
bool =
true);
115 void OnVegas(
bool =
true);
119 virtual bool OnInitDialog()
override;
120 afx_msg
void OnSetpayoffs();
121 virtual bool OnCommand(WPARAM, LPARAM)
override;
122 afx_msg
void OnCancel()
override;
123 afx_msg
void OnPaint();
124 afx_msg
void OnDestroy();
125 afx_msg
bool OnEraseBkgnd(
CDC *pDC);
126 DECLARE_MESSAGE_MAP()
134 int m_nWinPhrase = 0;
138 void SetInitialOptions(
int = 0);
139 void ClearDialogImage();
140 bool OnInitDialog()
override;
143 virtual void OnOK()
override;
144 virtual bool OnCommand(WPARAM, LPARAM)
override;
145 afx_msg
void OnPaint();
146 afx_msg
void OnDestroy();
147 DECLARE_MESSAGE_MAP()
Definition: afxwin.h:1141
Definition: minwindef.h:292
Definition: atltypes.h:131
Definition: dialogs.h:132