penguins  1.0.0
PenguinsApp Class Reference
Inheritance diagram for PenguinsApp:
[legend]

Detailed Description

Definition at line 10 of file main.hh.

Public Member Functions

 PenguinsApp ()
 
virtual bool OnInit () override
 
- Public Member Functions inherited from wxApp
virtual void MacNewFile ()
 
virtual void MacOpenFiles (const wxArrayString &fileNames)
 
virtual void MacOpenFile (const wxString &fileName)
 
virtual void MacOpenURL (const wxString &url)
 
virtual void MacPrintFile (const wxString &fileName)
 
virtual void MacReopenApp ()
 
virtual bool OSXIsGUIApplication ()
 
void OSXEnableAutomaticTabbing (bool enable)
 
 wxApp ()
 
virtual ~wxApp ()
 
virtual wxVideoMode GetDisplayMode () const
 
bool GetExitOnFrameDelete () const
 
virtual wxLayoutDirection GetLayoutDirection () const
 
bool GetUseBestVisual () const
 
virtual wxWindowGetTopWindow () const
 
virtual bool IsActive () const
 
virtual bool SafeYield (wxWindow *win, bool onlyIfNeeded)
 
virtual bool SafeYieldFor (wxWindow *win, long eventsToProcess)
 
bool ProcessMessage (WXMSG *msg)
 
virtual bool SetDisplayMode (const wxVideoMode &info)
 
void SetExitOnFrameDelete (bool flag)
 
virtual bool SetNativeTheme (const wxString &theme)
 
void SetTopWindow (wxWindow *window)
 
void SetUseBestVisual (bool flag, bool forceTrueColour=false)
 
virtual void MacNewFile ()
 
virtual void MacOpenFiles (const wxArrayString &fileNames)
 
virtual void MacOpenFile (const wxString &fileName)
 
virtual void MacOpenURL (const wxString &url)
 
virtual void MacPrintFile (const wxString &fileName)
 
virtual void MacReopenApp ()
 
virtual bool OSXIsGUIApplication ()
 
void OSXEnableAutomaticTabbing (bool enable)
 
- Public Member Functions inherited from wxAppConsole
virtual int MainLoop ()
 
virtual void ExitMainLoop ()
 
virtual int FilterEvent (wxEvent &event)
 
wxEventLoopBaseGetMainLoop () const
 
virtual void HandleEvent (wxEvtHandler *handler, wxEventFunction func, wxEvent &event) const
 
virtual bool UsesEventLoop () const
 
virtual void ProcessPendingEvents ()
 
void DeletePendingEvents ()
 
bool HasPendingEvents () const
 
void SuspendProcessingOfPendingEvents ()
 
void ResumeProcessingOfPendingEvents ()
 
void ScheduleForDestruction (wxObject *object)
 
bool IsScheduledForDestruction (wxObject *object) const
 
virtual void OnAssertFailure (const wxChar *file, int line, const wxChar *func, const wxChar *cond, const wxChar *msg)
 
virtual bool OnCmdLineError (wxCmdLineParser &parser)
 
virtual bool OnCmdLineHelp (wxCmdLineParser &parser)
 
virtual bool OnCmdLineParsed (wxCmdLineParser &parser)
 
virtual void OnEventLoopEnter (wxEventLoopBase *loop)
 
virtual void OnEventLoopExit (wxEventLoopBase *loop)
 
virtual int OnExit ()
 
virtual void OnFatalException ()
 
virtual void OnInitCmdLine (wxCmdLineParser &parser)
 
virtual int OnRun ()
 
virtual bool OnExceptionInMainLoop ()
 
virtual void OnUnhandledException ()
 
virtual bool StoreCurrentException ()
 
virtual void RethrowStoredException ()
 
wxString GetAppDisplayName () const
 
wxString GetAppName () const
 
wxString GetClassName () const
 
wxAppTraitsGetTraits ()
 
const wxStringGetVendorDisplayName () const
 
const wxStringGetVendorName () const
 
void SetAppDisplayName (const wxString &name)
 
void SetAppName (const wxString &name)
 
void SetClassName (const wxString &name)
 
void SetVendorDisplayName (const wxString &name)
 
void SetVendorName (const wxString &name)
 
virtual ~wxAppConsole ()
 
bool Yield (bool onlyIfNeeded=false)
 
void SetCLocale ()
 
virtual int MainLoop ()
 
virtual void ExitMainLoop ()
 
virtual int FilterEvent (wxEvent &event)
 
wxEventLoopBaseGetMainLoop () const
 
virtual void HandleEvent (wxEvtHandler *handler, wxEventFunction func, wxEvent &event) const
 
virtual bool UsesEventLoop () const
 
virtual void ProcessPendingEvents ()
 
void DeletePendingEvents ()
 
bool HasPendingEvents () const
 
void SuspendProcessingOfPendingEvents ()
 
void ResumeProcessingOfPendingEvents ()
 
void ScheduleForDestruction (wxObject *object)
 
bool IsScheduledForDestruction (wxObject *object) const
 
virtual void OnAssertFailure (const wxChar *file, int line, const wxChar *func, const wxChar *cond, const wxChar *msg)
 
virtual bool OnCmdLineError (wxCmdLineParser &parser)
 
virtual bool OnCmdLineHelp (wxCmdLineParser &parser)
 
virtual bool OnCmdLineParsed (wxCmdLineParser &parser)
 
virtual void OnEventLoopEnter (wxEventLoopBase *loop)
 
virtual void OnEventLoopExit (wxEventLoopBase *loop)
 
virtual int OnExit ()
 
virtual void OnFatalException ()
 
virtual void OnInitCmdLine (wxCmdLineParser &parser)
 
virtual int OnRun ()
 
virtual bool OnExceptionInMainLoop ()
 
virtual void OnUnhandledException ()
 
virtual bool StoreCurrentException ()
 
virtual void RethrowStoredException ()
 
wxString GetAppDisplayName () const
 
wxString GetAppName () const
 
wxString GetClassName () const
 
wxAppTraitsGetTraits ()
 
const wxStringGetVendorDisplayName () const
 
const wxStringGetVendorName () const
 
void SetAppDisplayName (const wxString &name)
 
void SetAppName (const wxString &name)
 
void SetClassName (const wxString &name)
 
void SetVendorDisplayName (const wxString &name)
 
void SetVendorName (const wxString &name)
 
- Public Member Functions inherited from wxEvtHandler
virtual void QueueEvent (wxEvent *event)
 
virtual void AddPendingEvent (const wxEvent &event)
 
void CallAfter (void(T::*method)(T1,...), T1 x1,...)
 
void CallAfter (const T &functor)
 
virtual bool ProcessEvent (wxEvent &event)
 
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
 
wxClientDataGetClientObject () const
 
void SetClientData (void *data)
 
void SetClientObject (wxClientData *data)
 
bool GetEvtHandlerEnabled () const
 
wxEvtHandlerGetNextHandler () const
 
wxEvtHandlerGetPreviousHandler () const
 
void SetEvtHandlerEnabled (bool enabled)
 
virtual void SetNextHandler (wxEvtHandler *handler)
 
virtual void SetPreviousHandler (wxEvtHandler *handler)
 
void Unlink ()
 
bool IsUnlinked () const
 
 wxEvtHandler ()
 
virtual ~wxEvtHandler ()
 
virtual void QueueEvent (wxEvent *event)
 
virtual void AddPendingEvent (const wxEvent &event)
 
void CallAfter (void(T::*method)(T1,...), T1 x1,...)
 
void CallAfter (const T &functor)
 
virtual bool ProcessEvent (wxEvent &event)
 
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
 
wxClientDataGetClientObject () const
 
void SetClientData (void *data)
 
void SetClientObject (wxClientData *data)
 
bool GetEvtHandlerEnabled () const
 
wxEvtHandlerGetNextHandler () const
 
wxEvtHandlerGetPreviousHandler () const
 
void SetEvtHandlerEnabled (bool enabled)
 
virtual void SetNextHandler (wxEvtHandler *handler)
 
virtual void SetPreviousHandler (wxEvtHandler *handler)
 
void Unlink ()
 
bool IsUnlinked () const
 
- Public Member Functions inherited from wxObject
 wxObject ()
 
 wxObject (const wxObject &other)
 
virtual ~wxObject ()
 
virtual wxClassInfoGetClassInfo () const
 
wxObjectRefDataGetRefData () 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)
 
- Public Member Functions inherited from wxEventFilter
 wxEventFilter ()
 
virtual ~wxEventFilter ()
 

Data Fields

wxIconBundle app_icon
 
TilesetHelper tileset
 
GameFramegame_frame
 
BetterRng rng
 
- Data Fields inherited from wxAppConsole
int argc
 
wxChar ** argv
 
- Data Fields inherited from wxEventFilter
 Event_Skip
 
 Event_Ignore
 
 Event_Processed
 

Additional Inherited Members

- Static Public Member Functions inherited from wxApp
static void GTKSuppressDiagnostics (int flags=-1)
 
static void GTKAllowDiagnosticsControl ()
 
static wxAppConsoleGetGUIInstance ()
 
static wxWindowGetMainTopWindow ()
 
static void GTKSuppressDiagnostics (int flags=-1)
 
static void GTKAllowDiagnosticsControl ()
 
- Static Public Member Functions inherited from wxAppConsole
static void SetInstance (wxAppConsole *app)
 
static wxAppConsoleGetInstance ()
 
static bool IsMainLoopRunning ()
 
- Static Public Member Functions inherited from wxEvtHandler
static void AddFilter (wxEventFilter *filter)
 
static void RemoveFilter (wxEventFilter *filter)
 
static void AddFilter (wxEventFilter *filter)
 
static void RemoveFilter (wxEventFilter *filter)
 
- Protected Member Functions inherited from wxAppConsole
virtual wxAppTraitsCreateTraits ()
 
- Protected Member Functions inherited from wxEvtHandler
virtual bool TryBefore (wxEvent &event)
 
virtual bool TryAfter (wxEvent &event)
 
- Protected Member Functions inherited from wxObject
void AllocExclusive ()
 
virtual wxObjectRefDataCreateRefData () const
 
virtual wxObjectRefDataCloneRefData (const wxObjectRefData *data) const
 
- Protected Attributes inherited from wxObject
wxObjectRefDatam_refData
 

Field Documentation

◆ app_icon

wxIconBundle PenguinsApp::app_icon

Definition at line 16 of file main.hh.

Referenced by OnInit().

◆ tileset

TilesetHelper PenguinsApp::tileset

Definition at line 17 of file main.hh.

Referenced by OnInit().

◆ game_frame

GameFrame* PenguinsApp::game_frame

Definition at line 18 of file main.hh.

Referenced by OnInit().

◆ rng

BetterRng PenguinsApp::rng

Definition at line 19 of file main.hh.

Constructor & Destructor Documentation

◆ PenguinsApp()

PenguinsApp::PenguinsApp ( )
inline

Definition at line 12 of file main.hh.

Member Function Documentation

◆ OnInit()

bool PenguinsApp::OnInit ( )
overridevirtual

Reimplemented from wxAppConsole.

Definition at line 18 of file main.cc.


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