penguins
1.0.0
|
Definition at line 19 of file new_game_dialog.hh.
Data Structures | |
class | Persistence |
struct | PlayerRowWidgets |
Public Member Functions | |
NewGameDialog (wxWindow *parent, wxWindowID id) | |
virtual | ~NewGameDialog () |
int | get_board_width () const |
int | get_board_height () const |
BoardGenType | get_board_gen_type () const |
int | get_penguins_per_player () const |
size_t | get_number_of_players () const |
wxString | get_player_name (size_t index) const |
PlayerType | get_player_type (size_t index) const |
![]() | |
wxDialog () | |
wxDialog (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=wxDialogNameStr) | |
virtual | ~wxDialog () |
void | AddMainButtonId (wxWindowID id) |
virtual bool | CanDoLayoutAdaptation () |
void | Centre (int direction=wxBOTH) |
bool | Create (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=wxDialogNameStr) |
wxSizer * | CreateButtonSizer (long flags) |
wxSizer * | CreateSeparatedButtonSizer (long flags) |
wxSizer * | CreateSeparatedSizer (wxSizer *sizer) |
wxStdDialogButtonSizer * | CreateStdDialogButtonSizer (long flags) |
wxSizer * | CreateTextSizer (const wxString &message, int widthMax=-1) |
virtual bool | DoLayoutAdaptation () |
virtual void | EndModal (int retCode) |
int | GetAffirmativeId () const |
virtual wxWindow * | GetContentWindow () const |
int | GetEscapeId () const |
bool | GetLayoutAdaptationDone () const |
int | GetLayoutAdaptationLevel () const |
wxDialogLayoutAdaptationMode | GetLayoutAdaptationMode () const |
wxArrayInt & | GetMainButtonIds () |
int | GetReturnCode () const |
wxToolBar * | GetToolBar () const |
virtual void | Iconize (bool iconize=true) |
virtual bool | IsIconized () const |
bool | IsMainButtonId (wxWindowID id) const |
virtual bool | IsModal () const |
void | SetAffirmativeId (int id) |
void | SetEscapeId (int id) |
void | SetIcon (const wxIcon &icon) |
void | SetIcons (const wxIconBundle &icons) |
void | SetLayoutAdaptationDone (bool done) |
void | SetLayoutAdaptationLevel (int level) |
void | SetLayoutAdaptationMode (wxDialogLayoutAdaptationMode mode) |
void | SetReturnCode (int retCode) |
virtual bool | Show (bool show=true) |
virtual int | ShowModal () |
void | ShowWindowModal () |
void | ShowWindowModalThenDo (const Functor &onEndModal) |
![]() | |
wxTopLevelWindow () | |
wxTopLevelWindow (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr) | |
virtual | ~wxTopLevelWindow () |
bool | Create (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr) |
virtual bool | CanSetTransparent () |
void | CenterOnScreen (int direction=wxBOTH) |
void | CentreOnScreen (int direction=wxBOTH) |
virtual bool | EnableCloseButton (bool enable=true) |
virtual bool | EnableMaximizeButton (bool enable=true) |
virtual bool | EnableMinimizeButton (bool enable=true) |
wxWindow * | GetDefaultItem () const |
wxIcon | GetIcon () const |
const wxIconBundle & | GetIcons () const |
virtual wxString | GetTitle () const |
virtual bool | IsActive () |
virtual bool | IsAlwaysMaximized () const |
virtual bool | IsFullScreen () const |
virtual bool | IsMaximized () const |
bool | IsUsingNativeDecorations () const |
virtual bool | Layout () |
virtual void | Maximize (bool maximize=true) |
wxMenu * | MSWGetSystemMenu () const |
virtual void | RequestUserAttention (int flags=wxUSER_ATTENTION_INFO) |
void | Restore () |
bool | RestoreToGeometry (GeometrySerializer &ser) |
bool | SaveGeometry (const GeometrySerializer &ser) const |
wxWindow * | SetDefaultItem (wxWindow *win) |
wxWindow * | SetTmpDefaultItem (wxWindow *win) |
wxWindow * | GetTmpDefaultItem () const |
void | SetIcon (const wxIcon &icon) |
virtual void | SetMaxSize (const wxSize &size) |
virtual void | SetMinSize (const wxSize &size) |
virtual void | SetSizeHints (int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, int incH=-1) |
void | SetSizeHints (const wxSize &minSize, const wxSize &maxSize=wxDefaultSize, const wxSize &incSize=wxDefaultSize) |
virtual void | SetTitle (const wxString &title) |
virtual bool | SetTransparent (wxByte alpha) |
virtual bool | ShouldPreventAppExit () const |
virtual void | OSXSetModified (bool modified) |
virtual bool | OSXIsModified () const |
virtual void | SetRepresentedFilename (const wxString &filename) |
virtual void | ShowWithoutActivating () |
virtual bool | EnableFullScreenView (bool enable=true, long style=wxFULLSCREEN_ALL) |
virtual bool | ShowFullScreen (bool show, long style=wxFULLSCREEN_ALL) |
virtual wxContentProtection | GetContentProtection () const |
virtual bool | SetContentProtection (wxContentProtection contentProtection) |
void | UseNativeDecorations (bool native=true) |
void | UseNativeDecorationsByDefault (bool native=true) |
![]() | |
bool | SetShape (const wxRegion ®ion) |
bool | SetShape (const wxGraphicsPath &path) |
![]() | |
virtual bool | AcceptsFocus () const |
virtual bool | AcceptsFocusFromKeyboard () const |
virtual bool | AcceptsFocusRecursively () const |
void | DisableFocusFromKeyboard () |
bool | IsFocusable () const |
bool | CanAcceptFocus () const |
bool | CanAcceptFocusFromKeyboard () const |
virtual bool | HasFocus () const |
virtual void | SetCanFocus (bool canFocus) |
virtual void | EnableVisibleFocus (bool enable) |
virtual void | SetFocus () |
virtual void | SetFocusFromKbd () |
virtual void | AddChild (wxWindow *child) |
bool | DestroyChildren () |
wxWindow * | FindWindow (long id) const |
wxWindow * | FindWindow (const wxString &name) const |
wxWindowList & | GetChildren () |
const wxWindowList & | GetChildren () const |
virtual void | RemoveChild (wxWindow *child) |
wxWindow * | GetGrandParent () const |
wxWindow * | GetNextSibling () const |
wxWindow * | GetParent () const |
wxWindow * | GetPrevSibling () const |
bool | IsDescendant (wxWindow *win) const |
virtual bool | Reparent (wxWindow *newParent) |
virtual void | AlwaysShowScrollbars (bool hflag=true, bool vflag=true) |
virtual int | GetScrollPos (int orientation) const |
virtual int | GetScrollRange (int orientation) const |
virtual int | GetScrollThumb (int orientation) const |
bool | CanScroll (int orient) const |
bool | HasScrollbar (int orient) const |
virtual bool | IsScrollbarAlwaysShown (int orient) const |
virtual bool | ScrollLines (int lines) |
virtual bool | ScrollPages (int pages) |
virtual void | ScrollWindow (int dx, int dy, const wxRect *rect=NULL) |
bool | LineUp () |
bool | LineDown () |
bool | PageUp () |
bool | PageDown () |
virtual void | SetScrollPos (int orientation, int pos, bool refresh=true) |
virtual void | SetScrollbar (int orientation, int position, int thumbSize, int range, bool refresh=true) |
bool | BeginRepositioningChildren () |
void | EndRepositioningChildren () |
void | CacheBestSize (const wxSize &size) const |
virtual wxSize | ClientToWindowSize (const wxSize &size) const |
virtual wxSize | WindowToClientSize (const wxSize &size) const |
virtual void | Fit () |
virtual void | FitInside () |
wxSize | FromDIP (const wxSize &sz) const |
wxPoint | FromDIP (const wxPoint &pt) const |
int | FromDIP (int d) const |
wxSize | ToDIP (const wxSize &sz) const |
wxPoint | ToDIP (const wxPoint &pt) const |
int | ToDIP (int d) const |
wxSize | FromPhys (const wxSize &sz) const |
wxPoint | FromPhys (const wxPoint &pt) const |
int | FromPhys (int d) const |
wxSize | ToPhys (const wxSize &sz) const |
wxPoint | ToPhys (const wxPoint &pt) const |
int | ToPhys (int d) const |
wxSize | GetBestSize () const |
int | GetBestHeight (int width) const |
int | GetBestWidth (int height) const |
void | GetClientSize (int *width, int *height) const |
wxSize | GetClientSize () const |
virtual wxSize | GetEffectiveMinSize () const |
virtual wxSize | GetMaxClientSize () const |
virtual wxSize | GetMaxSize () const |
virtual wxSize | GetMinClientSize () const |
virtual wxSize | GetMinSize () const |
int | GetMinWidth () const |
int | GetMinHeight () const |
int | GetMaxWidth () const |
int | GetMaxHeight () const |
void | GetSize (int *width, int *height) const |
wxSize | GetSize () const |
wxSize | GetVirtualSize () const |
void | GetVirtualSize (int *width, int *height) const |
virtual wxSize | GetBestVirtualSize () const |
double | GetContentScaleFactor () const |
double | GetDPIScaleFactor () const |
virtual wxSize | GetWindowBorderSize () const |
virtual bool | InformFirstDirection (int direction, int size, int availableOtherDir) |
void | InvalidateBestSize () |
void | PostSizeEvent () |
void | PostSizeEventToParent () |
virtual void | SendSizeEvent (int flags=0) |
void | SendSizeEventToParent (int flags=0) |
void | SetClientSize (int width, int height) |
void | SetClientSize (const wxSize &size) |
void | SetClientSize (const wxRect &rect) |
void | SetContainingSizer (wxSizer *sizer) |
void | SetInitialSize (const wxSize &size=wxDefaultSize) |
virtual void | SetMaxClientSize (const wxSize &size) |
virtual void | SetMinClientSize (const wxSize &size) |
void | SetSize (int x, int y, int width, int height, int sizeFlags=wxSIZE_AUTO) |
void | SetSize (const wxRect &rect) |
void | SetSize (const wxSize &size) |
void | SetSize (int width, int height) |
void | SetVirtualSize (int width, int height) |
void | SetVirtualSize (const wxSize &size) |
void | Center (int dir=wxBOTH) |
void | CenterOnParent (int dir=wxBOTH) |
void | Centre (int direction=wxBOTH) |
void | CentreOnParent (int direction=wxBOTH) |
void | GetPosition (int *x, int *y) const |
wxPoint | GetPosition () const |
wxRect | GetRect () const |
void | GetScreenPosition (int *x, int *y) const |
wxPoint | GetScreenPosition () const |
wxRect | GetScreenRect () const |
virtual wxPoint | GetClientAreaOrigin () const |
wxRect | GetClientRect () const |
void | Move (int x, int y, int flags=wxSIZE_USE_EXISTING) |
void | Move (const wxPoint &pt, int flags=wxSIZE_USE_EXISTING) |
void | SetPosition (const wxPoint &pt) |
void | ClientToScreen (int *x, int *y) const |
wxPoint | ClientToScreen (const wxPoint &pt) const |
wxPoint | ConvertDialogToPixels (const wxPoint &pt) const |
wxSize | ConvertDialogToPixels (const wxSize &sz) const |
wxPoint | ConvertPixelsToDialog (const wxPoint &pt) const |
wxSize | ConvertPixelsToDialog (const wxSize &sz) const |
void | ScreenToClient (int *x, int *y) const |
wxPoint | ScreenToClient (const wxPoint &pt) const |
virtual void | ClearBackground () |
void | Freeze () |
void | Thaw () |
bool | IsFrozen () const |
wxColour | GetBackgroundColour () const |
virtual wxBackgroundStyle | GetBackgroundStyle () const |
virtual int | GetCharHeight () const |
virtual int | GetCharWidth () const |
virtual wxVisualAttributes | GetDefaultAttributes () const |
virtual wxSize | GetDPI () const |
wxFont | GetFont () const |
wxColour | GetForegroundColour () const |
void | GetTextExtent (const wxString &string, int *w, int *h, int *descent=NULL, int *externalLeading=NULL, const wxFont *font=NULL) const |
wxSize | GetTextExtent (const wxString &string) const |
const wxRegion & | GetUpdateRegion () const |
wxRect | GetUpdateClientRect () const |
virtual bool | HasTransparentBackground () |
virtual void | Refresh (bool eraseBackground=true, const wxRect *rect=NULL) |
void | RefreshRect (const wxRect &rect, bool eraseBackground=true) |
virtual void | Update () |
virtual bool | SetBackgroundColour (const wxColour &colour) |
virtual bool | SetBackgroundStyle (wxBackgroundStyle style) |
virtual bool | IsTransparentBackgroundSupported (wxString *reason=NULL) const |
virtual bool | SetFont (const wxFont &font) |
virtual bool | SetForegroundColour (const wxColour &colour) |
void | SetOwnBackgroundColour (const wxColour &colour) |
bool | InheritsBackgroundColour () const |
bool | UseBgCol () const |
bool | UseBackgroundColour () const |
void | SetOwnFont (const wxFont &font) |
void | SetOwnForegroundColour (const wxColour &colour) |
bool | UseForegroundColour () const |
bool | InheritsForegroundColour () const |
void | SetPalette (const wxPalette &pal) |
virtual bool | ShouldInheritColours () const |
virtual void | SetThemeEnabled (bool enable) |
virtual bool | GetThemeEnabled () const |
wxEvtHandler * | GetEventHandler () const |
bool | HandleAsNavigationKey (const wxKeyEvent &event) |
bool | HandleWindowEvent (wxEvent &event) const |
bool | ProcessWindowEvent (wxEvent &event) |
bool | ProcessWindowEventLocally (wxEvent &event) |
wxEvtHandler * | PopEventHandler (bool deleteHandler=false) |
void | PushEventHandler (wxEvtHandler *handler) |
bool | RemoveEventHandler (wxEvtHandler *handler) |
void | SetEventHandler (wxEvtHandler *handler) |
virtual void | SetNextHandler (wxEvtHandler *handler) |
virtual void | SetPreviousHandler (wxEvtHandler *handler) |
long | GetExtraStyle () const |
virtual long | GetWindowStyleFlag () const |
long | GetWindowStyle () const |
bool | HasExtraStyle (int exFlag) const |
bool | HasFlag (int flag) const |
virtual void | SetExtraStyle (long exStyle) |
virtual void | SetWindowStyleFlag (long style) |
void | SetWindowStyle (long style) |
bool | ToggleWindowStyle (int flag) |
void | MoveAfterInTabOrder (wxWindow *win) |
void | MoveBeforeInTabOrder (wxWindow *win) |
bool | Navigate (int flags=wxNavigationKeyEvent::IsForward) |
bool | NavigateIn (int flags=wxNavigationKeyEvent::IsForward) |
virtual void | Lower () |
virtual void | Raise () |
bool | Hide () |
virtual bool | HideWithEffect (wxShowEffect effect, unsigned int timeout=0) |
bool | IsEnabled () const |
bool | IsExposed (int x, int y) const |
bool | IsExposed (wxPoint &pt) const |
bool | IsExposed (int x, int y, int w, int h) const |
bool | IsExposed (wxRect &rect) const |
virtual bool | IsShown () const |
virtual bool | IsShownOnScreen () const |
bool | Disable () |
virtual bool | Enable (bool enable=true) |
virtual bool | ShowWithEffect (wxShowEffect effect, unsigned int timeout=0) |
wxString | GetHelpText () const |
void | SetHelpText (const wxString &helpText) |
virtual wxString | GetHelpTextAtPoint (const wxPoint &point, wxHelpEvent::Origin origin) const |
wxToolTip * | GetToolTip () const |
wxString | GetToolTipText () const |
void | SetToolTip (const wxString &tipString) |
void | SetToolTip (wxToolTip *tip) |
void | UnsetToolTip () |
int | GetPopupMenuSelectionFromUser (wxMenu &menu, const wxPoint &pos=wxDefaultPosition) |
int | GetPopupMenuSelectionFromUser (wxMenu &menu, int x, int y) |
bool | PopupMenu (wxMenu *menu, const wxPoint &pos=wxDefaultPosition) |
bool | PopupMenu (wxMenu *menu, int x, int y) |
virtual wxValidator * | GetValidator () |
virtual void | SetValidator (const wxValidator &validator) |
virtual bool | TransferDataFromWindow () |
virtual bool | TransferDataToWindow () |
virtual bool | Validate () |
wxWindowID | GetId () const |
virtual wxString | GetLabel () const |
virtual wxLayoutDirection | GetLayoutDirection () const |
virtual wxCoord | AdjustForLayoutDirection (wxCoord x, wxCoord width, wxCoord widthTotal) const |
virtual wxString | GetName () const |
wxWindowVariant | GetWindowVariant () const |
void | SetId (wxWindowID winid) |
virtual void | SetLabel (const wxString &label) |
virtual void | SetLayoutDirection (wxLayoutDirection dir) |
virtual void | SetName (const wxString &name) |
void | SetWindowVariant (wxWindowVariant variant) |
wxAcceleratorTable * | GetAcceleratorTable () |
wxAccessible * | GetAccessible () |
virtual void | SetAcceleratorTable (const wxAcceleratorTable &accel) |
void | SetAccessible (wxAccessible *accessible) |
bool | Close (bool force=false) |
virtual bool | Destroy () |
bool | IsBeingDeleted () const |
virtual wxDropTarget * | GetDropTarget () const |
virtual void | SetDropTarget (wxDropTarget *target) |
virtual void | DragAcceptFiles (bool accept) |
wxSizer * | GetContainingSizer () const |
wxSizer * | GetSizer () const |
void | SetSizer (wxSizer *sizer, bool deleteOld=true) |
void | SetSizerAndFit (wxSizer *sizer, bool deleteOld=true) |
wxLayoutConstraints * | GetConstraints () const |
void | SetConstraints (wxLayoutConstraints *constraints) |
void | SetAutoLayout (bool autoLayout) |
bool | GetAutoLayout () const |
void | CaptureMouse () |
wxCaret * | GetCaret () const |
const wxCursor & | GetCursor () const |
virtual bool | HasCapture () const |
void | ReleaseMouse () |
void | SetCaret (wxCaret *caret) |
virtual bool | SetCursor (const wxCursor &cursor) |
virtual void | WarpPointer (int x, int y) |
virtual bool | EnableTouchEvents (int eventsMask) |
wxHitTest | HitTest (wxCoord x, wxCoord y) const |
wxHitTest | HitTest (const wxPoint &pt) const |
wxBorder | GetBorder (long flags) const |
wxBorder | GetBorder () const |
virtual void | DoUpdateWindowUI (wxUpdateUIEvent &event) |
virtual WXWidget | GetHandle () const |
virtual bool | HasMultiplePages () const |
virtual void | InheritAttributes () |
virtual void | InitDialog () |
virtual bool | IsDoubleBuffered () const |
void | SetDoubleBuffered (bool on) |
virtual bool | IsRetained () const |
bool | IsThisEnabled () const |
virtual bool | IsTopLevel () const |
virtual void | OnInternalIdle () |
virtual bool | SendIdleEvents (wxIdleEvent &event) |
virtual bool | RegisterHotKey (int hotkeyId, int modifiers, int virtualKeyCode) |
virtual bool | UnregisterHotKey (int hotkeyId) |
virtual void | UpdateWindowUI (long flags=wxUPDATE_UI_NONE) |
wxWindow () | |
wxWindow (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr) | |
virtual | ~wxWindow () |
bool | Create (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr) |
virtual bool | AcceptsFocus () const |
virtual bool | AcceptsFocusFromKeyboard () const |
virtual bool | AcceptsFocusRecursively () const |
void | DisableFocusFromKeyboard () |
bool | IsFocusable () const |
bool | CanAcceptFocus () const |
bool | CanAcceptFocusFromKeyboard () const |
virtual bool | HasFocus () const |
virtual void | SetCanFocus (bool canFocus) |
virtual void | EnableVisibleFocus (bool enable) |
virtual void | SetFocus () |
virtual void | SetFocusFromKbd () |
virtual void | AddChild (wxWindow *child) |
bool | DestroyChildren () |
wxWindow * | FindWindow (long id) const |
wxWindow * | FindWindow (const wxString &name) const |
wxWindowList & | GetChildren () |
const wxWindowList & | GetChildren () const |
virtual void | RemoveChild (wxWindow *child) |
wxWindow * | GetGrandParent () const |
wxWindow * | GetNextSibling () const |
wxWindow * | GetParent () const |
wxWindow * | GetPrevSibling () const |
bool | IsDescendant (wxWindow *win) const |
virtual bool | Reparent (wxWindow *newParent) |
virtual void | AlwaysShowScrollbars (bool hflag=true, bool vflag=true) |
virtual int | GetScrollPos (int orientation) const |
virtual int | GetScrollRange (int orientation) const |
virtual int | GetScrollThumb (int orientation) const |
bool | CanScroll (int orient) const |
bool | HasScrollbar (int orient) const |
virtual bool | IsScrollbarAlwaysShown (int orient) const |
virtual bool | ScrollLines (int lines) |
virtual bool | ScrollPages (int pages) |
virtual void | ScrollWindow (int dx, int dy, const wxRect *rect=NULL) |
bool | LineUp () |
bool | LineDown () |
bool | PageUp () |
bool | PageDown () |
virtual void | SetScrollPos (int orientation, int pos, bool refresh=true) |
virtual void | SetScrollbar (int orientation, int position, int thumbSize, int range, bool refresh=true) |
void | Center (int dir=wxBOTH) |
void | CenterOnParent (int dir=wxBOTH) |
void | Centre (int direction=wxBOTH) |
void | CentreOnParent (int direction=wxBOTH) |
void | GetPosition (int *x, int *y) const |
wxPoint | GetPosition () const |
wxRect | GetRect () const |
void | GetScreenPosition (int *x, int *y) const |
wxPoint | GetScreenPosition () const |
wxRect | GetScreenRect () const |
virtual wxPoint | GetClientAreaOrigin () const |
wxRect | GetClientRect () const |
void | Move (int x, int y, int flags=wxSIZE_USE_EXISTING) |
void | Move (const wxPoint &pt, int flags=wxSIZE_USE_EXISTING) |
void | SetPosition (const wxPoint &pt) |
void | ClientToScreen (int *x, int *y) const |
wxPoint | ClientToScreen (const wxPoint &pt) const |
wxPoint | ConvertDialogToPixels (const wxPoint &pt) const |
wxSize | ConvertDialogToPixels (const wxSize &sz) const |
wxPoint | ConvertPixelsToDialog (const wxPoint &pt) const |
wxSize | ConvertPixelsToDialog (const wxSize &sz) const |
void | ScreenToClient (int *x, int *y) const |
wxPoint | ScreenToClient (const wxPoint &pt) const |
virtual void | ClearBackground () |
void | Freeze () |
void | Thaw () |
bool | IsFrozen () const |
wxColour | GetBackgroundColour () const |
virtual wxBackgroundStyle | GetBackgroundStyle () const |
virtual int | GetCharHeight () const |
virtual int | GetCharWidth () const |
virtual wxVisualAttributes | GetDefaultAttributes () const |
virtual wxSize | GetDPI () const |
wxFont | GetFont () const |
wxColour | GetForegroundColour () const |
void | GetTextExtent (const wxString &string, int *w, int *h, int *descent=NULL, int *externalLeading=NULL, const wxFont *font=NULL) const |
wxSize | GetTextExtent (const wxString &string) const |
const wxRegion & | GetUpdateRegion () const |
wxRect | GetUpdateClientRect () const |
virtual bool | HasTransparentBackground () |
virtual void | Refresh (bool eraseBackground=true, const wxRect *rect=NULL) |
void | RefreshRect (const wxRect &rect, bool eraseBackground=true) |
virtual void | Update () |
virtual bool | SetBackgroundColour (const wxColour &colour) |
virtual bool | SetBackgroundStyle (wxBackgroundStyle style) |
virtual bool | IsTransparentBackgroundSupported (wxString *reason=NULL) const |
virtual bool | SetFont (const wxFont &font) |
virtual bool | SetForegroundColour (const wxColour &colour) |
void | SetOwnBackgroundColour (const wxColour &colour) |
bool | InheritsBackgroundColour () const |
bool | UseBgCol () const |
bool | UseBackgroundColour () const |
void | SetOwnFont (const wxFont &font) |
void | SetOwnForegroundColour (const wxColour &colour) |
bool | UseForegroundColour () const |
bool | InheritsForegroundColour () const |
void | SetPalette (const wxPalette &pal) |
virtual bool | ShouldInheritColours () const |
virtual void | SetThemeEnabled (bool enable) |
virtual bool | GetThemeEnabled () const |
wxEvtHandler * | GetEventHandler () const |
bool | HandleAsNavigationKey (const wxKeyEvent &event) |
bool | HandleWindowEvent (wxEvent &event) const |
bool | ProcessWindowEvent (wxEvent &event) |
bool | ProcessWindowEventLocally (wxEvent &event) |
wxEvtHandler * | PopEventHandler (bool deleteHandler=false) |
void | PushEventHandler (wxEvtHandler *handler) |
bool | RemoveEventHandler (wxEvtHandler *handler) |
void | SetEventHandler (wxEvtHandler *handler) |
virtual void | SetNextHandler (wxEvtHandler *handler) |
virtual void | SetPreviousHandler (wxEvtHandler *handler) |
long | GetExtraStyle () const |
virtual long | GetWindowStyleFlag () const |
long | GetWindowStyle () const |
bool | HasExtraStyle (int exFlag) const |
bool | HasFlag (int flag) const |
virtual void | SetExtraStyle (long exStyle) |
virtual void | SetWindowStyleFlag (long style) |
void | SetWindowStyle (long style) |
bool | ToggleWindowStyle (int flag) |
void | MoveAfterInTabOrder (wxWindow *win) |
void | MoveBeforeInTabOrder (wxWindow *win) |
bool | Navigate (int flags=wxNavigationKeyEvent::IsForward) |
bool | NavigateIn (int flags=wxNavigationKeyEvent::IsForward) |
virtual void | Lower () |
virtual void | Raise () |
bool | Hide () |
virtual bool | HideWithEffect (wxShowEffect effect, unsigned int timeout=0) |
bool | IsEnabled () const |
bool | IsExposed (int x, int y) const |
bool | IsExposed (wxPoint &pt) const |
bool | IsExposed (int x, int y, int w, int h) const |
bool | IsExposed (wxRect &rect) const |
virtual bool | IsShown () const |
virtual bool | IsShownOnScreen () const |
bool | Disable () |
virtual bool | Enable (bool enable=true) |
virtual bool | ShowWithEffect (wxShowEffect effect, unsigned int timeout=0) |
wxString | GetHelpText () const |
void | SetHelpText (const wxString &helpText) |
virtual wxString | GetHelpTextAtPoint (const wxPoint &point, wxHelpEvent::Origin origin) const |
wxToolTip * | GetToolTip () const |
wxString | GetToolTipText () const |
void | SetToolTip (const wxString &tipString) |
void | SetToolTip (wxToolTip *tip) |
void | UnsetToolTip () |
int | GetPopupMenuSelectionFromUser (wxMenu &menu, const wxPoint &pos=wxDefaultPosition) |
int | GetPopupMenuSelectionFromUser (wxMenu &menu, int x, int y) |
bool | PopupMenu (wxMenu *menu, const wxPoint &pos=wxDefaultPosition) |
bool | PopupMenu (wxMenu *menu, int x, int y) |
virtual wxValidator * | GetValidator () |
virtual void | SetValidator (const wxValidator &validator) |
virtual bool | TransferDataFromWindow () |
virtual bool | TransferDataToWindow () |
virtual bool | Validate () |
wxWindowID | GetId () const |
virtual wxString | GetLabel () const |
virtual wxLayoutDirection | GetLayoutDirection () const |
virtual wxCoord | AdjustForLayoutDirection (wxCoord x, wxCoord width, wxCoord widthTotal) const |
virtual wxString | GetName () const |
wxWindowVariant | GetWindowVariant () const |
void | SetId (wxWindowID winid) |
virtual void | SetLabel (const wxString &label) |
virtual void | SetLayoutDirection (wxLayoutDirection dir) |
virtual void | SetName (const wxString &name) |
void | SetWindowVariant (wxWindowVariant variant) |
wxAcceleratorTable * | GetAcceleratorTable () |
wxAccessible * | GetAccessible () |
virtual void | SetAcceleratorTable (const wxAcceleratorTable &accel) |
void | SetAccessible (wxAccessible *accessible) |
bool | Close (bool force=false) |
virtual bool | Destroy () |
bool | IsBeingDeleted () const |
virtual wxDropTarget * | GetDropTarget () const |
virtual void | SetDropTarget (wxDropTarget *target) |
virtual void | DragAcceptFiles (bool accept) |
wxSizer * | GetContainingSizer () const |
wxSizer * | GetSizer () const |
void | SetSizer (wxSizer *sizer, bool deleteOld=true) |
void | SetSizerAndFit (wxSizer *sizer, bool deleteOld=true) |
wxLayoutConstraints * | GetConstraints () const |
void | SetConstraints (wxLayoutConstraints *constraints) |
void | SetAutoLayout (bool autoLayout) |
bool | GetAutoLayout () const |
void | CaptureMouse () |
wxCaret * | GetCaret () const |
const wxCursor & | GetCursor () const |
virtual bool | HasCapture () const |
void | ReleaseMouse () |
void | SetCaret (wxCaret *caret) |
virtual bool | SetCursor (const wxCursor &cursor) |
virtual void | WarpPointer (int x, int y) |
virtual bool | EnableTouchEvents (int eventsMask) |
wxHitTest | HitTest (wxCoord x, wxCoord y) const |
wxHitTest | HitTest (const wxPoint &pt) const |
wxBorder | GetBorder (long flags) const |
wxBorder | GetBorder () const |
virtual void | DoUpdateWindowUI (wxUpdateUIEvent &event) |
virtual WXWidget | GetHandle () const |
virtual bool | HasMultiplePages () const |
virtual void | InheritAttributes () |
virtual void | InitDialog () |
virtual bool | IsDoubleBuffered () const |
void | SetDoubleBuffered (bool on) |
virtual bool | IsRetained () const |
bool | IsThisEnabled () const |
virtual bool | IsTopLevel () const |
virtual void | OnInternalIdle () |
virtual bool | SendIdleEvents (wxIdleEvent &event) |
virtual bool | RegisterHotKey (int hotkeyId, int modifiers, int virtualKeyCode) |
virtual bool | UnregisterHotKey (int hotkeyId) |
virtual void | UpdateWindowUI (long flags=wxUPDATE_UI_NONE) |
![]() | |
void | CallAfter (void(T::*method)(T1,...), T1 x1,...) |
void | CallAfter (const T &functor) |
bool | ProcessEventLocally (wxEvent &event) |
bool | SafelyProcessEvent (wxEvent &event) |
void | ProcessPendingEvents () |
void | DeletePendingEvents () |
void | Connect (int id, int lastId, wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
void | Connect (int id, wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
void | Connect (wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
bool | Disconnect (wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
bool | Disconnect (int id=wxID_ANY, wxEventType eventType=wxEVT_NULL, wxObjectEventFunction function=NULL, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
bool | Disconnect (int id, int lastId, wxEventType eventType, wxObjectEventFunction function=NULL, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
void | Bind (const EventTag &eventType, Functor functor, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL) |
void | Bind (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL) |
bool | Unbind (const EventTag &eventType, Functor functor, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL) |
bool | Unbind (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL) |
void * | GetClientData () const |
wxClientData * | GetClientObject () const |
void | SetClientData (void *data) |
void | SetClientObject (wxClientData *data) |
bool | GetEvtHandlerEnabled () const |
wxEvtHandler * | GetNextHandler () const |
wxEvtHandler * | GetPreviousHandler () const |
void | SetEvtHandlerEnabled (bool enabled) |
void | Unlink () |
bool | IsUnlinked () const |
wxEvtHandler () | |
virtual | ~wxEvtHandler () |
void | CallAfter (void(T::*method)(T1,...), T1 x1,...) |
void | CallAfter (const T &functor) |
bool | ProcessEventLocally (wxEvent &event) |
bool | SafelyProcessEvent (wxEvent &event) |
void | ProcessPendingEvents () |
void | DeletePendingEvents () |
void | Connect (int id, int lastId, wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
void | Connect (int id, wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
void | Connect (wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
bool | Disconnect (wxEventType eventType, wxObjectEventFunction function, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
bool | Disconnect (int id=wxID_ANY, wxEventType eventType=wxEVT_NULL, wxObjectEventFunction function=NULL, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
bool | Disconnect (int id, int lastId, wxEventType eventType, wxObjectEventFunction function=NULL, wxObject *userData=NULL, wxEvtHandler *eventSink=NULL) |
void | Bind (const EventTag &eventType, Functor functor, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL) |
void | Bind (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL) |
bool | Unbind (const EventTag &eventType, Functor functor, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL) |
bool | Unbind (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=wxID_ANY, int lastId=wxID_ANY, wxObject *userData=NULL) |
void * | GetClientData () const |
wxClientData * | GetClientObject () const |
void | SetClientData (void *data) |
void | SetClientObject (wxClientData *data) |
bool | GetEvtHandlerEnabled () const |
wxEvtHandler * | GetNextHandler () const |
wxEvtHandler * | GetPreviousHandler () const |
void | SetEvtHandlerEnabled (bool enabled) |
void | Unlink () |
bool | IsUnlinked () const |
![]() | |
wxObject () | |
wxObject (const wxObject &other) | |
virtual | ~wxObject () |
virtual wxClassInfo * | GetClassInfo () const |
wxObjectRefData * | GetRefData () const |
bool | IsKindOf (const wxClassInfo *info) const |
bool | IsSameAs (const wxObject &obj) const |
void | Ref (const wxObject &clone) |
void | SetRefData (wxObjectRefData *data) |
void | UnRef () |
void | UnShare () |
void | operator delete (void *buf) |
void * | operator new (size_t size, const wxString &filename=NULL, int lineNum=0) |
Static Public Attributes | |
static const int | DEFAULT_BOARD_WIDTH = 16 |
static const int | DEFAULT_BOARD_HEIGHT = 16 |
static const int | DEFAULT_PENGUINS_PER_PLAYER = 2 |
static const int | DEFAULT_NUMBER_OF_PLAYERS = 2 |
Protected Member Functions | |
wxWindow * | add_option (const wxString &label, wxWindow *input) |
wxSpinCtrl * | create_number_option (const wxString &label, wxWindowID id, int min, int max, int initial) |
wxChoice * | create_choice_option (const wxString &label, wxWindowID id, int n, const wxString choices[]) |
void | update_layout () |
void | set_player_rows_count (size_t count) |
void | update_new_player_row () |
void | add_new_player_row (bool initial=false) |
void | realize_player_row (size_t index) |
void | delete_player_row (size_t index) |
void | on_ok (wxCommandEvent &event) |
void | on_close (wxCommandEvent &event) |
void | on_player_name_input (wxCommandEvent &event) |
void | on_player_name_enter_pressed (wxCommandEvent &event) |
void | on_board_width_input (wxSpinEvent &event) |
void | on_board_height_input (wxSpinEvent &event) |
void | on_player_delete_clicked (wxCommandEvent &event) |
void | on_players_number_input (wxSpinEvent &event) |
![]() | |
bool | SafelyProcessEvent (wxEvent &event) |
virtual void | QueueEvent (wxEvent *event) |
virtual void | AddPendingEvent (const wxEvent &event) |
void | ProcessPendingEvents () |
bool | ProcessThreadEvent (const wxEvent &event) |
virtual void | DoCentre (int direction) |
virtual wxSize | DoGetBestSize () const |
virtual wxSize | DoGetBestClientSize () const |
virtual int | DoGetBestClientHeight (int width) const |
virtual int | DoGetBestClientWidth (int height) const |
virtual void | SetInitialBestSize (const wxSize &size) |
void | SendDestroyEvent () |
virtual bool | ProcessEvent (wxEvent &event) |
bool | SafelyProcessEvent (wxEvent &event) |
virtual void | QueueEvent (wxEvent *event) |
virtual void | AddPendingEvent (const wxEvent &event) |
void | ProcessPendingEvents () |
bool | ProcessThreadEvent (const wxEvent &event) |
![]() | |
virtual bool | TryBefore (wxEvent &event) |
virtual bool | TryAfter (wxEvent &event) |
![]() | |
void | AllocExclusive () |
virtual wxObjectRefData * | CreateRefData () const |
virtual wxObjectRefData * | CloneRefData (const wxObjectRefData *data) const |
Protected Attributes | |
wxFlexGridSizer * | options_grid |
wxSpinCtrl * | width_input |
bool | width_was_changed = false |
wxSpinCtrl * | height_input |
wxChoice * | board_gen_input |
bool | height_was_changed = false |
wxSpinCtrl * | penguins_input |
wxSpinCtrl * | players_number_input |
wxFlexGridSizer * | players_grid |
wxVector< PlayerRowWidgets > | player_rows |
PlayerRowWidgets | new_player_row |
wxStdDialogButtonSizer * | buttons_sizer |
![]() | |
wxObjectRefData * | m_refData |
Additional Inherited Members | |
![]() | |
static void | EnableLayoutAdaptation (bool enable) |
static wxDialogLayoutAdapter * | GetLayoutAdapter () |
static bool | IsLayoutAdaptationEnabled () |
static wxDialogLayoutAdapter * | SetLayoutAdapter (wxDialogLayoutAdapter *adapter) |
![]() | |
static wxSize | GetDefaultSize () |
![]() | |
static wxSize | FromDIP (const wxSize &sz, const wxWindow *w) |
static wxPoint | FromDIP (const wxPoint &pt, const wxWindow *w) |
static int | FromDIP (int d, const wxWindow *w) |
static wxSize | ToDIP (const wxSize &sz, const wxWindow *w) |
static wxPoint | ToDIP (const wxPoint &pt, const wxWindow *w) |
static int | ToDIP (int d, const wxWindow *w) |
static wxSize | FromPhys (const wxSize &sz, const wxWindow *w) |
static wxPoint | FromPhys (const wxPoint &pt, const wxWindow *w) |
static int | FromPhys (int d, const wxWindow *w) |
static wxSize | ToPhys (const wxSize &sz, const wxWindow *w) |
static wxPoint | ToPhys (const wxPoint &pt, const wxWindow *w) |
static int | ToPhys (int d, const wxWindow *w) |
static wxVisualAttributes | GetClassDefaultAttributes (wxWindowVariant variant=wxWINDOW_VARIANT_NORMAL) |
static wxWindow * | FindFocus () |
static wxWindow * | FindWindowById (long id, const wxWindow *parent=0) |
static wxWindow * | FindWindowByLabel (const wxString &label, const wxWindow *parent=0) |
static wxWindow * | FindWindowByName (const wxString &name, const wxWindow *parent=0) |
static wxWindow * | GetCapture () |
static wxWindowID | NewControlId (int count=1) |
static void | UnreserveControlId (wxWindowID id, int count=1) |
static wxVisualAttributes | GetClassDefaultAttributes (wxWindowVariant variant=wxWINDOW_VARIANT_NORMAL) |
static wxWindow * | FindFocus () |
static wxWindow * | FindWindowById (long id, const wxWindow *parent=0) |
static wxWindow * | FindWindowByLabel (const wxString &label, const wxWindow *parent=0) |
static wxWindow * | FindWindowByName (const wxString &name, const wxWindow *parent=0) |
static wxWindow * | GetCapture () |
static wxWindowID | NewControlId (int count=1) |
static void | UnreserveControlId (wxWindowID id, int count=1) |
![]() | |
static void | AddFilter (wxEventFilter *filter) |
static void | RemoveFilter (wxEventFilter *filter) |
static void | AddFilter (wxEventFilter *filter) |
static void | RemoveFilter (wxEventFilter *filter) |
|
static |
Definition at line 24 of file new_game_dialog.hh.
Referenced by NewGameDialog().
|
static |
Definition at line 25 of file new_game_dialog.hh.
Referenced by NewGameDialog().
|
static |
Definition at line 26 of file new_game_dialog.hh.
Referenced by NewGameDialog().
|
static |
Definition at line 27 of file new_game_dialog.hh.
Referenced by NewGameDialog().
|
protected |
Definition at line 38 of file new_game_dialog.hh.
Referenced by add_option(), and NewGameDialog().
|
protected |
Definition at line 39 of file new_game_dialog.hh.
Referenced by get_board_width(), NewGameDialog(), on_board_height_input(), on_board_width_input(), NewGameDialog::Persistence::Restore(), and NewGameDialog::Persistence::Save().
|
protected |
Definition at line 40 of file new_game_dialog.hh.
Referenced by on_board_height_input(), and on_board_width_input().
|
protected |
Definition at line 41 of file new_game_dialog.hh.
Referenced by get_board_height(), NewGameDialog(), on_board_height_input(), on_board_width_input(), NewGameDialog::Persistence::Restore(), and NewGameDialog::Persistence::Save().
|
protected |
Definition at line 42 of file new_game_dialog.hh.
Referenced by get_board_gen_type(), NewGameDialog(), NewGameDialog::Persistence::Restore(), and NewGameDialog::Persistence::Save().
|
protected |
Definition at line 43 of file new_game_dialog.hh.
Referenced by on_board_height_input(), and on_board_width_input().
|
protected |
Definition at line 44 of file new_game_dialog.hh.
Referenced by get_penguins_per_player(), NewGameDialog(), NewGameDialog::Persistence::Restore(), and NewGameDialog::Persistence::Save().
|
protected |
Definition at line 45 of file new_game_dialog.hh.
Referenced by NewGameDialog(), on_player_delete_clicked(), on_player_name_input(), on_players_number_input(), NewGameDialog::Persistence::Restore(), NewGameDialog::Persistence::Save(), and update_new_player_row().
|
protected |
Definition at line 46 of file new_game_dialog.hh.
Referenced by add_new_player_row(), NewGameDialog(), and update_new_player_row().
|
protected |
Definition at line 52 of file new_game_dialog.hh.
Referenced by add_new_player_row(), delete_player_row(), get_number_of_players(), get_player_name(), get_player_type(), on_ok(), on_player_delete_clicked(), on_player_name_enter_pressed(), on_player_name_input(), realize_player_row(), NewGameDialog::Persistence::Restore(), NewGameDialog::Persistence::Save(), set_player_rows_count(), and update_new_player_row().
|
protected |
Definition at line 53 of file new_game_dialog.hh.
Referenced by add_new_player_row(), on_player_name_enter_pressed(), and update_new_player_row().
|
protected |
Definition at line 54 of file new_game_dialog.hh.
Referenced by NewGameDialog().
NewGameDialog::NewGameDialog | ( | wxWindow * | parent, |
wxWindowID | id | ||
) |
Definition at line 24 of file new_game_dialog.cc.
|
virtual |
Definition at line 98 of file new_game_dialog.cc.
int NewGameDialog::get_board_width | ( | ) | const |
Definition at line 133 of file new_game_dialog.cc.
Referenced by GamePanel::GamePanel().
int NewGameDialog::get_board_height | ( | ) | const |
Definition at line 137 of file new_game_dialog.cc.
Referenced by GamePanel::GamePanel().
BoardGenType NewGameDialog::get_board_gen_type | ( | ) | const |
Definition at line 141 of file new_game_dialog.cc.
Referenced by GamePanel::GamePanel().
int NewGameDialog::get_penguins_per_player | ( | ) | const |
Definition at line 145 of file new_game_dialog.cc.
Referenced by GamePanel::GamePanel().
size_t NewGameDialog::get_number_of_players | ( | ) | const |
Definition at line 149 of file new_game_dialog.cc.
Referenced by GamePanel::GamePanel().
wxString NewGameDialog::get_player_name | ( | size_t | index | ) | const |
Definition at line 153 of file new_game_dialog.cc.
Referenced by GamePanel::GamePanel().
PlayerType NewGameDialog::get_player_type | ( | size_t | index | ) | const |
Definition at line 157 of file new_game_dialog.cc.
Referenced by GamePanel::GamePanel().
Definition at line 103 of file new_game_dialog.cc.
Referenced by create_choice_option(), and create_number_option().
|
protected |
Definition at line 110 of file new_game_dialog.cc.
Referenced by NewGameDialog().
|
protected |
Definition at line 120 of file new_game_dialog.cc.
Referenced by NewGameDialog().
|
protected |
Definition at line 128 of file new_game_dialog.cc.
Referenced by on_player_delete_clicked(), on_player_name_input(), on_players_number_input(), and NewGameDialog::Persistence::Restore().
|
protected |
Definition at line 161 of file new_game_dialog.cc.
Referenced by on_player_name_input(), on_players_number_input(), and NewGameDialog::Persistence::Restore().
|
protected |
Definition at line 175 of file new_game_dialog.cc.
Referenced by add_new_player_row(), on_player_delete_clicked(), and set_player_rows_count().
|
protected |
Definition at line 186 of file new_game_dialog.cc.
Referenced by NewGameDialog(), and set_player_rows_count().
|
protected |
Definition at line 227 of file new_game_dialog.cc.
Referenced by add_new_player_row(), and on_player_delete_clicked().
|
protected |
Definition at line 233 of file new_game_dialog.cc.
Referenced by on_player_delete_clicked(), and set_player_rows_count().
|
protected |
Definition at line 241 of file new_game_dialog.cc.
Referenced by NewGameDialog().
|
protected |
Definition at line 254 of file new_game_dialog.cc.
Referenced by NewGameDialog().
|
protected |
Definition at line 258 of file new_game_dialog.cc.
Referenced by add_new_player_row().
|
protected |
Definition at line 267 of file new_game_dialog.cc.
Referenced by add_new_player_row().
|
protected |
Definition at line 284 of file new_game_dialog.cc.
Referenced by NewGameDialog().
|
protected |
Definition at line 291 of file new_game_dialog.cc.
Referenced by NewGameDialog().
|
protected |
Definition at line 298 of file new_game_dialog.cc.
Referenced by add_new_player_row().
|
protected |
Definition at line 316 of file new_game_dialog.cc.
Referenced by NewGameDialog().