MapSelectDialog Class Reference

#include <mapselectdialog.h>

Inherits WindowAttributesPickle, and UnitsyncReloadedSink< MapSelectDialog >.

Collaboration diagram for MapSelectDialog:
Collaboration graph
[legend]

Public Member Functions

 MapSelectDialog (wxWindow *parent=0)
virtual ~MapSelectDialog ()
UnitSyncMapGetSelectedMap () const
void OnUnitsyncReloaded (GlobalEvents::GlobalEventData data)

Protected Types

typedef UnitsyncReloadedSink
< MapSelectDialog,
GlobalEvents::GlobalEventData
BaseType
typedef EventReceiverFunc
< UnitsyncReloadedSink,
GlobalEvents::GlobalEventData,&UnitsyncReloadedSink::OnUnitsyncReloaded > 
EventReceiverFunction

Protected Member Functions

void OnInit (wxInitDialogEvent &event)
void OnSortKeySelect (wxCommandEvent &event)
void OnMapGridLeftDClick (wxMouseEvent &event)
void OnFilterAllSelect (wxCommandEvent &event)
void OnFilterPopularSelect (wxCommandEvent &event)
void OnFilterRecentSelect (wxCommandEvent &event)
void OnFilterTextChanged (wxCommandEvent &event)
void OnMapSelected (wxCommandEvent &event)
void OnMapLoadingCompleted (wxCommandEvent &event)
void OnVerticalDirectionClicked (wxCommandEvent &event)
void OnHorizontalDirectionClicked (wxCommandEvent &event)
void AppendSortKeys (wxChoice *choice)
void UpdateSortAndFilter ()
void LoadAll ()
void LoadPopular ()
void LoadRecent ()
void SaveAttributes ()
void LoadAttributes ()
MapSelectDialogasImp ()
const MapSelectDialogasImp () const

Protected Attributes

wxRadioButton * m_filter_recent
wxStaticText * m_map_name
wxRadioButton * m_filter_all
MapGridCtrlm_mapgrid
wxChoice * m_vertical_choice
wxChoice * m_horizontal_choice
wxTextCtrl * m_filter_text
wxListCtrl * m_map_opts_list
wxRadioButton * m_filter_popular
wxStaticBoxSizer * m_map_details
wxButton * m_vertical_direction_button
wxButton * m_horizontal_direction_button
bool m_horizontal_direction
bool m_vertical_direction
wxArrayString m_maps
wxArrayString m_replays
EventReceiverFunction OnUsync_reload

Static Protected Attributes

static const long ID_STATICTEXT2 = wxNewId()
static const long ID_VERTICAL_CHOICE = wxNewId()
static const long ID_STATICTEXT1 = wxNewId()
static const long ID_HORIZONTAL_CHOICE = wxNewId()
static const long ID_FILTER_ALL = wxNewId()
static const long ID_FILTER_POPULAR = wxNewId()
static const long ID_FILTER_RECENT = wxNewId()
static const long ID_FILTER_TEXT = wxNewId()
static const long ID_MAP_NAME = wxNewId()
static const long ID_MAP_OPTS_LIST = wxNewId()
static const long ID_MAPGRID = wxNewId()
static const long ID_VERTICAL_DIRECTION = wxNewId()
static const long ID_HORIZONTAL_DIRECTION = wxNewId()
static const wxString m_dialog_name = _T("MapSelector")
static const unsigned int m_filter_all_sett = 0
static const unsigned int m_filter_recent_sett = 1
static const unsigned int m_filter_popular_sett = 2

Detailed Description

Definition at line 27 of file mapselectdialog.h.


Member Typedef Documentation

Definition at line 9 of file isink.h.

Definition at line 17 of file isink.h.


Constructor & Destructor Documentation

MapSelectDialog::MapSelectDialog ( wxWindow *  parent = 0  ) 

Definition at line 52 of file mapselectdialog.cpp.

MapSelectDialog::~MapSelectDialog (  )  [virtual]

Definition at line 168 of file mapselectdialog.cpp.


Member Function Documentation

void MapSelectDialog::AppendSortKeys ( wxChoice *  choice  )  [protected]

Definition at line 253 of file mapselectdialog.cpp.

const MapSelectDialog & CRTPbase< MapSelectDialog >::asImp (  )  const [inline, protected, inherited]

Definition at line 10 of file crtpbase.h.

MapSelectDialog & CRTPbase< MapSelectDialog >::asImp (  )  [inline, protected, inherited]

Definition at line 9 of file crtpbase.h.

UnitSyncMap * MapSelectDialog::GetSelectedMap (  )  const

Definition at line 297 of file mapselectdialog.cpp.

void MapSelectDialog::LoadAll (  )  [protected]

Definition at line 357 of file mapselectdialog.cpp.

void WindowAttributesPickle::LoadAttributes (  )  [protected, inherited]

Definition at line 13 of file windowattributespickle.cpp.

void MapSelectDialog::LoadPopular (  )  [protected]

Definition at line 371 of file mapselectdialog.cpp.

void MapSelectDialog::LoadRecent (  )  [protected]

Definition at line 389 of file mapselectdialog.cpp.

void MapSelectDialog::OnFilterAllSelect ( wxCommandEvent &  event  )  [protected]

Definition at line 413 of file mapselectdialog.cpp.

void MapSelectDialog::OnFilterPopularSelect ( wxCommandEvent &  event  )  [protected]

Definition at line 419 of file mapselectdialog.cpp.

void MapSelectDialog::OnFilterRecentSelect ( wxCommandEvent &  event  )  [protected]

Definition at line 425 of file mapselectdialog.cpp.

void MapSelectDialog::OnFilterTextChanged ( wxCommandEvent &  event  )  [protected]

Definition at line 431 of file mapselectdialog.cpp.

void MapSelectDialog::OnHorizontalDirectionClicked ( wxCommandEvent &  event  )  [protected]

Definition at line 340 of file mapselectdialog.cpp.

void MapSelectDialog::OnInit ( wxInitDialogEvent &  event  )  [protected]

Definition at line 187 of file mapselectdialog.cpp.

void MapSelectDialog::OnMapGridLeftDClick ( wxMouseEvent &  event  )  [protected]

Definition at line 348 of file mapselectdialog.cpp.

void MapSelectDialog::OnMapLoadingCompleted ( wxCommandEvent &  event  )  [protected]

Definition at line 325 of file mapselectdialog.cpp.

void MapSelectDialog::OnMapSelected ( wxCommandEvent &  event  )  [protected]

Definition at line 303 of file mapselectdialog.cpp.

void MapSelectDialog::OnSortKeySelect ( wxCommandEvent &  event  )  [protected]

Definition at line 246 of file mapselectdialog.cpp.

void MapSelectDialog::OnUnitsyncReloaded ( GlobalEvents::GlobalEventData  data  ) 

Reimplemented from UnitsyncReloadedSink< MapSelectDialog >.

Definition at line 452 of file mapselectdialog.cpp.

void MapSelectDialog::OnVerticalDirectionClicked ( wxCommandEvent &  event  )  [protected]

Definition at line 332 of file mapselectdialog.cpp.

void WindowAttributesPickle::SaveAttributes (  )  [protected, inherited]

Definition at line 28 of file windowattributespickle.cpp.

void MapSelectDialog::UpdateSortAndFilter (  )  [protected]

Definition at line 288 of file mapselectdialog.cpp.


Field Documentation

const long MapSelectDialog::ID_FILTER_ALL = wxNewId() [static, protected]

Definition at line 60 of file mapselectdialog.h.

const long MapSelectDialog::ID_FILTER_POPULAR = wxNewId() [static, protected]

Definition at line 61 of file mapselectdialog.h.

const long MapSelectDialog::ID_FILTER_RECENT = wxNewId() [static, protected]

Definition at line 62 of file mapselectdialog.h.

const long MapSelectDialog::ID_FILTER_TEXT = wxNewId() [static, protected]

Definition at line 63 of file mapselectdialog.h.

const long MapSelectDialog::ID_HORIZONTAL_CHOICE = wxNewId() [static, protected]

Definition at line 59 of file mapselectdialog.h.

const long MapSelectDialog::ID_HORIZONTAL_DIRECTION = wxNewId() [static, protected]

Definition at line 69 of file mapselectdialog.h.

const long MapSelectDialog::ID_MAP_NAME = wxNewId() [static, protected]

Definition at line 64 of file mapselectdialog.h.

const long MapSelectDialog::ID_MAP_OPTS_LIST = wxNewId() [static, protected]

Definition at line 65 of file mapselectdialog.h.

const long MapSelectDialog::ID_MAPGRID = wxNewId() [static, protected]

Definition at line 66 of file mapselectdialog.h.

const long MapSelectDialog::ID_STATICTEXT1 = wxNewId() [static, protected]

Definition at line 58 of file mapselectdialog.h.

const long MapSelectDialog::ID_STATICTEXT2 = wxNewId() [static, protected]

Definition at line 56 of file mapselectdialog.h.

const long MapSelectDialog::ID_VERTICAL_CHOICE = wxNewId() [static, protected]

Definition at line 57 of file mapselectdialog.h.

const long MapSelectDialog::ID_VERTICAL_DIRECTION = wxNewId() [static, protected]

Definition at line 68 of file mapselectdialog.h.

const wxString MapSelectDialog::m_dialog_name = _T("MapSelector") [static, protected]

Definition at line 98 of file mapselectdialog.h.

wxRadioButton* MapSelectDialog::m_filter_all [protected]

Definition at line 43 of file mapselectdialog.h.

const unsigned int MapSelectDialog::m_filter_all_sett = 0 [static, protected]

Definition at line 99 of file mapselectdialog.h.

wxRadioButton* MapSelectDialog::m_filter_popular [protected]

Definition at line 49 of file mapselectdialog.h.

const unsigned int MapSelectDialog::m_filter_popular_sett = 2 [static, protected]

Definition at line 101 of file mapselectdialog.h.

wxRadioButton* MapSelectDialog::m_filter_recent [protected]

Definition at line 41 of file mapselectdialog.h.

const unsigned int MapSelectDialog::m_filter_recent_sett = 1 [static, protected]

Definition at line 100 of file mapselectdialog.h.

wxTextCtrl* MapSelectDialog::m_filter_text [protected]

Definition at line 47 of file mapselectdialog.h.

wxChoice* MapSelectDialog::m_horizontal_choice [protected]

Definition at line 46 of file mapselectdialog.h.

Definition at line 93 of file mapselectdialog.h.

Definition at line 53 of file mapselectdialog.h.

wxStaticBoxSizer* MapSelectDialog::m_map_details [protected]

Definition at line 50 of file mapselectdialog.h.

wxStaticText* MapSelectDialog::m_map_name [protected]

Definition at line 42 of file mapselectdialog.h.

wxListCtrl* MapSelectDialog::m_map_opts_list [protected]

Definition at line 48 of file mapselectdialog.h.

Definition at line 44 of file mapselectdialog.h.

wxArrayString MapSelectDialog::m_maps [protected]

Definition at line 95 of file mapselectdialog.h.

wxArrayString MapSelectDialog::m_replays [protected]

Definition at line 96 of file mapselectdialog.h.

wxChoice* MapSelectDialog::m_vertical_choice [protected]

Definition at line 45 of file mapselectdialog.h.

Definition at line 94 of file mapselectdialog.h.

Definition at line 52 of file mapselectdialog.h.

Definition at line 18 of file isink.h.


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

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