AgreementDialog Class Reference

dialog showing agreement on first start/ register that user needs to accept More...

#include <agreementdialog.h>

Public Member Functions

 AgreementDialog (wxWindow *parent, const wxString &agreement)
void OnYes (wxCommandEvent &event)
void OnNo (wxCommandEvent &event)

Protected Types

enum  { AGREE_YES = wxID_HIGHEST, AGREE_NO }

Protected Attributes

wxTextCtrl * m_text
wxStaticText * m_accept_lbl
wxStaticLine * m_button_sep
wxButton * m_yes_btn
wxButton * m_no_btn

Detailed Description

dialog showing agreement on first start/ register that user needs to accept

Todo:
DOCMEMORE

Definition at line 13 of file agreementdialog.h.


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
AGREE_YES 
AGREE_NO 

Definition at line 28 of file agreementdialog.h.


Constructor & Destructor Documentation

AgreementDialog::AgreementDialog ( wxWindow *  parent,
const wxString agreement 
)

Definition at line 23 of file agreementdialog.cpp.


Member Function Documentation

void AgreementDialog::OnNo ( wxCommandEvent &  event  ) 

Definition at line 64 of file agreementdialog.cpp.

void AgreementDialog::OnYes ( wxCommandEvent &  event  ) 

Definition at line 58 of file agreementdialog.cpp.


Field Documentation

wxStaticText* AgreementDialog::m_accept_lbl [protected]

Definition at line 23 of file agreementdialog.h.

wxStaticLine* AgreementDialog::m_button_sep [protected]

Definition at line 24 of file agreementdialog.h.

wxButton* AgreementDialog::m_no_btn [protected]

Definition at line 26 of file agreementdialog.h.

wxTextCtrl* AgreementDialog::m_text [protected]

Definition at line 22 of file agreementdialog.h.

wxButton* AgreementDialog::m_yes_btn [protected]

Definition at line 25 of file agreementdialog.h.


The documentation for this class was generated from the following files:

Generated on Thu Dec 29 00:11:42 2011 for SpringLobby by doxygen 1.6.3