|
|
#include <MathGUI.h>
This is a singleton class: access it using the Get() function:
mcMathGUI::Get()->DoWhatIWant();
Definition at line 79 of file MathGUI.h.
Static Public Member Functions | |
| static void | OnError (const wxString &) |
| Handles the MathCore syntax errors sending a mgEVT_SYNTAX_ERROR error to the application object given to Setup(). | |
| static mgMathGUI * | Get () |
| Returns the global instance of mgMathGUI. | |
| static void | Set (mgMathGUI *) |
| Sets the global instance of mgMathGUI. | |
| static void | Setup (wxApp *) |
| Sets up the global instance of mgMathGUI. | |
| static void | Cleanup () |
| Cleans up the global instance of mgMathGUI. | |
Protected Attributes | |
| wxString | m_strBaseConfigPath |
| The base configuration string used by the library to store the customizable settings into the wxConfig object given to mgMathGUI::Setup. | |
| mcMathCore * | m_pCore |
| The pointer to the mcMathCore instance which is handled by this library. | |
Static Protected Attributes | |
| static mgMathGUI * | g_pTheInstance = NULL |
| The global instance of the class shared everywhere in programs which use this library. | |
| static wxApp * | m_pApp = NULL |
| A pointer to the application using this library. | |
[ Top ] |