Mutabor Application. Mehr ...
#include "Defs.h"
#include "wx/wxprec.h"
#include "wx/xrc/xmlres.h"
#include "wx/xrc/xh_all.h"
#include "wx/fs_zip.h"
#include "wx/cshelp.h"
#include "wx/aboutdlg.h"
#include "wx/generic/aboutdlgg.h"
#include "wx/cmdline.h"
#include "wx/file.h"
#include "wx/event.h"
#include "wx/wx.h"
#include "wx/stdpaths.h"
#include "wx/filename.h"
#include "wx/imagpng.h"
#include "Icon/Mutabor.xpm"
#include "MutApp.h"
#include "MutFrame.h"
#include "MutDocument.h"
#include "MutView.h"
#include "DevMidi.h"
#include "MutConfDlg.h"
#include "resourceload.h"
#include "Action.h"
#include "stclanguage.h"
gehe zum Quellcode dieser Datei
Makrodefinitionen | |
#define | OPENMENU { wxMenu * menu = new wxMenu; |
#define | CLOSEMENU(name) menuBar->Append(menu, name); } |
#define | MENUITEM(name, id, help) menu->Append(id, name, help) |
#define | MENUCHECKITEM(name, id, help) menu->AppendCheckItem(id, name, help) |
#define | MENUITEM_ADD(name, id, help, add) menu->Append(id, name, help, add) |
#define | MENUITEM_SEPARATOR menu->AppendSeparator() |
Funktionen | |
IMPLEMENT_APP (MutApp) bool MutApp | |
BEGIN_EVENT_TABLE (MutConfigDialog, ConfigDlg) EVT_BUTTON( | |
BEGIN_EVENT_TABLE (MutApp, wxApp) EVT_MENU(CM_SETUP | |
MutApp::CmSetup | EVT_MENU (wxID_OPEN, MutApp::PassEventToDocManagerCMD) EVT_MENU(wxID_CLOSE |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD | EVT_MENU (wxID_CLOSE_ALL, MutApp::PassEventToDocManagerCMD) EVT_MENU(wxID_REVERT |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD | EVT_MENU (wxID_NEW, MutApp::PassEventToDocManagerCMD) EVT_MENU(wxID_SAVE |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD | EVT_MENU (wxID_SAVEAS, MutApp::PassEventToDocManagerCMD) EVT_MENU(wxID_UNDO |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD | EVT_MENU (wxID_REDO, MutApp::PassEventToDocManagerCMD) EVT_UPDATE_UI(wxID_OPEN |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD | EVT_UPDATE_UI (wxID_CLOSE, MutApp::PassEventToDocManagerUPD) EVT_UPDATE_UI(wxID_CLOSE_ALL |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD | EVT_UPDATE_UI (wxID_REVERT, MutApp::PassEventToDocManagerUPD) EVT_UPDATE_UI(wxID_NEW |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD | EVT_UPDATE_UI (wxID_SAVE, MutApp::PassEventToDocManagerUPD) EVT_UPDATE_UI(wxID_SAVEAS |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD | EVT_UPDATE_UI (wxID_UNDO, MutApp::PassEventToDocManagerUPD) EVT_UPDATE_UI(wxID_REDO |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD | EVT_MENU (CM_EXECUTE, MutApp::CmFileOpen) EVT_MENU_RANGE(wxID_FILE1 |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::OnMRUFile | EVT_MENU (CM_ROUTES, MutApp::CmRoutes) EVT_MENU(CM_ROUTELOAD |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::OnMRUFile MutApp::CmRouteLoad | EVT_MENU (CM_ROUTESAVE, MutApp::CmRouteSave) EVT_MENU(CM_ROUTESAVEAS |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::OnMRUFile MutApp::CmRouteLoad MutApp::CmRouteSaveAs | EVT_MENU (CM_HELP, MutApp::CmHelp) EVT_MENU(CM_HELPHANDBOOK |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::OnMRUFile MutApp::CmRouteLoad MutApp::CmRouteSaveAs MutApp::CmHelp | EVT_MENU (CM_HELPREFERENCE, MutApp::CmHelp) EVT_MENU(CM_HELPINDEX |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::OnMRUFile MutApp::CmRouteLoad MutApp::CmRouteSaveAs MutApp::CmHelp MutApp::CmHelp | EVT_MENU (CM_HELPSEARCH, MutApp::CmHelp) EVT_MENU(CM_HELPONHELP |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::OnMRUFile MutApp::CmRouteLoad MutApp::CmRouteSaveAs MutApp::CmHelp MutApp::CmHelp MutApp::CmHelp | EVT_MENU (CM_ABOUT, MutApp::CmAbout) EVT_MENU(CM_EXIT |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::OnMRUFile MutApp::CmRouteLoad MutApp::CmRouteSaveAs MutApp::CmHelp MutApp::CmHelp MutApp::CmHelp MutApp::CmQuit | END_EVENT_TABLE () MutFrame *MutApp |
Variablen | |
wxHtmlHelpController * | HelpController = (wxHtmlHelpController *) NULL |
MutApp::CmSetup MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerCMD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD MutApp::PassEventToDocManagerUPD | wxID_FILE9 |
Mutabor Application.
Copyright: (c) 2005,2006,2007 TU Dresden
GPL
Revision 1.38 2011-08-20 17:50:39 keinstein use wxSTC for the editor windows
Revision 1.37 2011-08-16 20:20:03 keinstein Fix compiling on Mac OS X 10.5
Revision 1.36 2011-08-16 07:13:54 keinstein added Creator code to .app meta data
Revision 1.35 2011-08-14 19:12:53 keinstein raise frame after “opening” an already open file
Revision 1.34 2011-08-11 19:00:48 keinstein get Document/View running. Needs further testing (possible segfaults).
Revision 1.33 2011-08-06 11:36:16 keinstein allow multiple open documents
Revision 1.32 2011-08-06 09:21:23 keinstein activated and debugged document manager
Revision 1.31 2011-07-31 21:32:21 keinstein Slightly improved window positioning Suppress route window, when a Window is opened from the command line
Revision 1.30 2011-07-31 20:16:04 keinstein Implemented opening files from command line using Document/View framework
Revision 1.29 2011-07-31 12:40:41 keinstein Added classes and functions for Document/View support
Revision 1.28 2011-07-30 21:36:46 keinstein allow file open from command line
Revision 1.27 2011-02-20 22:35:57 keinstein updated license information; some file headers have to be revised, though
Revision 1.26 2011-01-09 16:26:37 keinstein make building in wine environment using unix shell
Revision 1.25 2010-12-11 02:10:09 keinstein make 2.9.1 build but Mutabor crashes still at runtime in an infinite recursion :-(
Revision 1.24 2010-12-10 09:28:23 keinstein add menu item to help menu, which calls exit(0).
Revision 1.23 2010-11-21 13:15:47 keinstein merged experimental_tobias
Revision 1.21.2.11 2010-11-19 10:06:32 keinstein remove MutFrame OnIdle
Revision 1.21.2.10 2010-11-14 22:29:53 keinstein Remvoed EDevice.cpp and EDevice.h from the sources list They still reside in the source tree, since they have been used for Midi/GMN file playing. That funcitonality has been disabled so far. After reimplementation the files can be removed.
Revision 1.21.2.9 2010-09-30 16:26:26 keinstein remove global variables routewindow and frame move route loading and route saving into MutRouteWnd implement MutRouteWnd::InitShapes. Destroy Route children before loading new route configuration (still some crashes)
Revision 1.21.2.8 2010-09-15 17:58:01 keinstein old configuration can be loaded again.
Revision 1.21.2.7 2010-08-10 15:54:29 keinstein new, direct route configuration on init
Revision 1.21.2.6 2010/03/30 08:38:26 keinstein added rudimentary command line support changed debug system to allow selection of messages via command line further enhancements to the route dialogs
Revision 1.21.2.5 2010/02/15 12:08:20 keinstein intermediate update for backup progress
Revision 1.21.2.4 2010/01/14 18:14:20 keinstein fix usage of installation prefix MutInputDeviceShape/MutOutputDeviceShape: use GetType for type checking in OnChoiceSelected make InitalizeDialog const MutNewOutputDeviceShape: add InitializeDialog and ReplaceSelfBy
Revision 1.21.2.3 2010/01/14 15:43:44 keinstein trying to get mutabor work on local install
Revision 1.21.2.2 2009/11/16 20:07:10 keinstein make “make distcheck” happy
Revision 1.21.2.1 2009/08/10 11:23:12 keinstein merged from wrong tree
Revision 1.22 2009/08/10 11:15:46 keinstein some steps towards new route window
Revision 1.21 2008/10/10 08:25:42 keinstein Call OGLInitialize if OGL is used
Revision 1.20 2008/10/09 15:14:02 keinstein make compile on mingw
Revision 1.19 2008/08/18 15:08:42 keinstein Exit Main loop if no window is open
Revision 1.18 2008/08/05 07:04:47 keinstein CmQuit Use DeletePendingObjects to delete frames
Revision 1.17 2008/08/01 16:22:13 keinstein OnExit: uninit MIDI CmQuit: try to fix endless loop on Linux
Revision 1.16 2008/07/22 07:57:06 keinstein solved some valgrind issues
Revision 1.15 2008/07/21 09:08:44 keinstein some reformatting of white space and debug logging Changed window deletion on Quit. Changed window Variables to one per Box and type
Revision 1.14 2008/06/30 08:27:10 keinstein New Variable: routewindow OnInit(): Register Ids from Mutabor.rh Implement Loading and Saving routes MustOpenFrame(): New function. On window open: use MustOpenFrame() to determine if new frame must be created CmRoutes(): Implement correct window opening. CmQuit(): Reimplemented Frame deletion to prevent crashes and endless loops on quitting
Revision 1.13 2008/06/02 16:11:00 keinstein Don't include Mutabor.rh, since it is included with headers. Implement Help for config dialog MutApp::CmAbout(): Remove newlines from People list. Implement CM_EXECUTE MutApp::CmFileOpen(), MutApp::CmFileNew(): Open new windows only when really necessary
Revision 1.12 2008/04/28 08:19:58 keinstein Use one single file Help.zip for online help. MutApp::ShowHelp: Implement the other Help commands. MutApp::CmQuit: remove unused variable frame silence a warning about paren scoping MutApp::MakeHelpMenu: Add missing menu items.
Revision 1.11 2008/03/11 10:37:34 keinstein Holyday edition put CM_xxx in an enum use wx constants document mutframe some white space formattings make route saving more system specific many other fixes
Definiert in Datei MutApp.cpp.
Wird benutzt von MutApp::MakeViewMenu().
#define MENUITEM_SEPARATOR menu->AppendSeparator() |
Wird benutzt von MutApp::MakeFileMenu(), MutApp::MakeHelpMenu(), MutApp::MakeLogicMenu() und MutApp::MakeViewMenu().
#define OPENMENU { wxMenu * menu = new wxMenu; |