#include <MutFrame.h>
Öffentliche Methoden | |
MutFrame (wxFrame *parent, const wxWindowID id, const wxString &title, const wxPoint &pos, const wxSize &size, const long style) | |
Constructor. | |
MutFrame (MutDocument *doc, MutView *v, wxFrame *frame, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long type=wxDEFAULT_FRAME_STYLE, const wxString &name=wxT("Mutabor frame")) | |
virtual | ~MutFrame () |
Destructor. | |
void | PassEventToEditor (wxCommandEvent &event) |
passes an event to the editor. | |
void | EventPassOn (wxCommandEvent &event) |
passes an event to the MDI client window. | |
void | OnClose (wxCloseEvent &event) |
Handles close event. | |
void | OnPaint (wxPaintEvent &event) |
Hande paint events for Document/View framework. | |
void | CmFileNew (wxCommandEvent &WXUNUSED(event)) |
This function creates a new file editor. | |
void | CmFileOpen (wxCommandEvent &WXUNUSED(event)) |
Open an existing file if we don't have a client yet. | |
bool | OpenFile (wxString path, bool newfile=false) |
Opens the given file, if we don't have a client yet. | |
bool | SetClient (wxWindow *win, const wxString &title) |
Attach a client to the Frame. | |
void | CmDoActivate (wxCommandEvent &event) |
Get a file name to open static wxString FileNameDialog(wxWindow * parent);. | |
void | RaiseLogic (wxCommandEvent &event) |
wxMenuItem * | ClearMenuItem (int id) |
void | ClearSubMenu (wxMenuItem *item) |
void | DoStop () |
void | CmStop (wxCommandEvent &WXUNUSED(event)) |
void | CmPanic (wxCommandEvent &WXUNUSED(event)) |
void | CeExecute (wxUpdateUIEvent &event) |
void | CeActivate (wxUpdateUIEvent &event) |
void | CeStop (wxUpdateUIEvent &event) |
void | CmRoutes (wxCommandEvent &event) |
void | CmToggleKey (wxCommandEvent &WXUNUSED(event)) |
void | CmToggleTS (wxCommandEvent &WXUNUSED(event)) |
void | CmToggleAct (wxCommandEvent &WXUNUSED(event)) |
void | CmToggleOWM (wxCommandEvent &WXUNUSED(event)) |
void | CmToggleCAW (wxCommandEvent &WXUNUSED(event)) |
void | CeToggleKey (wxUpdateUIEvent &event) |
void | CeToggleTS (wxUpdateUIEvent &event) |
void | CeToggleAct (wxUpdateUIEvent &event) |
void | CeToggleOWM (wxUpdateUIEvent &event) |
void | CeToggleCAW (wxUpdateUIEvent &event) |
void | CmInDevStop (wxCommandEvent &WXUNUSED(event)) |
void | CmInDevPlay (wxCommandEvent &WXUNUSED(event)) |
void | CmInDevPause (wxCommandEvent &WXUNUSED(event)) |
void | StopInDev () |
void | CeInDevStop (wxUpdateUIEvent &event) |
void | CeInDevPlay (wxUpdateUIEvent &event) |
void | CeInDevPause (wxUpdateUIEvent &event) |
void | CmSetTitle (wxCommandEvent &event) |
void | UpdateUI (wxCommandEvent &WXUNUSED(event)) |
Update GUI when the mutabor kernel or file players have acted. | |
void | OnEraseBackground (wxEraseEvent &event) |
void | OnSize (wxSizeEvent &event) |
wxAuiDockArt * | GetDockArt () |
void | WindowSize (MutChild *win) |
void | SaveState () |
void | RestoreState () |
void | LogicWinOpen (int box) |
void | ToggleTextBox (WinKind kind) |
void | TextBoxOpen (WinKind kind, int box) |
void | CmSelectBox () |
void | CmCloseChild () |
void | CloseAll (WinKind kind) |
Close all child windows of given kind. | |
void | SetStatus (int WXUNUSED(imgNr)) |
wxRect | DetermineFrameSize () |
bool | HasClient () |
retrun true if we have already a client | |
void | UpdateBoxMenu () |
bool | RaiseTheFrame () |
void | SetFileMenu (wxMenu *f) |
void | SetEditMenu (wxMenu *e) |
Öffentliche, statische Methoden | |
static void | repaint_route () |
Private Methoden | |
void | CloseClientWindow (wxWindow *w) |
Private Attribute | |
wxMenu * | editmenu |
wxMenu * | filemenu |
int | curStatusImg |
wxAuiManager | auimanager |
wxWindow * | keywindows [MAX_BOX] |
wxWindow * | tswindows [MAX_BOX] |
wxWindow * | actionwindows [MAX_BOX] |
wxWindow * | client |
Statische private Attribute | |
static MutFrame * | ActiveWindow |
static int | boxCommandIds [MAX_BOX] |
Definiert in Zeile 159 der Datei MutFrame.h.
MutFrame::MutFrame | ( | wxFrame * | parent, |
const wxWindowID | id, | ||
const wxString & | title, | ||
const wxPoint & | pos, | ||
const wxSize & | size, | ||
const long | style | ||
) |
Constructor.
This constructor creates a new main window.