Routing window. Mehr ...
#include "wx/wxprec.h"#include "wx/wx.h"#include "Defs.h"#include <stdio.h>#include "wx/list.h"#include "wx/ffile.h"#include "Runtime.h"#include "mhDefs.h"#include "MutRouteWnd.h"#include "InputDevDlg.h"#include "BoxDlg.h"#include "OutputDevDlg.h"#include "NewInputDeviceShape.h"#include "NewBoxShape.h"#include "NewOutputDeviceShape.h"#include "DebugRoute.h"#include "RouteCompat.h"#include <mmsystem.h>#include "Device.h"#include "MidiKern.h"#include "Icon/DevUnknown.xpm"#include "Icon/DevMidiPort.xpm"#include "Icon/DevMidiFile.xpm"#include "Icon/DevGMN.xpm"#include "Icon/NewPlop.xpm"#include "Icon/PlayPlop.xpm"#include "Icon/PausePlop.xpm"#include "Icon/ErrorPlop.xpm"#include "Icon/AddStop.xpm"#include "Icon/AddPlay.xpm"#include "Icon/AddPause.xpm"#include "Icon/AddStopDis.xpm"
gehe zum Quellcode dieser Datei
Makrodefinitionen | |
| #define | MMSYSTEM_H |
| #define | xd 32 |
| #define | yd 32 |
| #define | xb 24 |
| #define | yb 24 |
| #define | ydt 4 |
| #define | yt 16 |
| #define | yh 12 |
| #define | yr (yd+ydt+yt+yz) |
| #define | BACKGROUND *wxLIGHT_GREY |
| #define | RT_INDEVICE 0 |
| #define | RT_INFILTER 1 |
| #define | RT_BOX 2 |
| #define | RT_OUTFILTER 3 |
| #define | RT_OUTDEVICE 4 |
| #define | RT_PLAYBUTTON 5 |
| #define | RT_STOPBUTTON 6 |
| #define | FILENAMELENGTH 200 |
| #define | POINT_IN(p, x1, y1, xl, yl) (x1 <= p.x && p.x < x1+xl && y1 < p.y && p.y < y1+yl) |
| #define | max(a, b) ((a) < (b) ? (b) : (a)) |
Funktionen | |
| int | GetTextWidth (wxDC &dc, const wxString &s) |
| void | TextPin (wxDC &dc, int xm, int y, int xl, const wxString &s, char withBox) |
| wxString | sRange (int from, int to) |
| void | PrintBox (wxDC &dc, int xm, int ym, int nr, char active, int x3) |
| BEGIN_EVENT_TABLE (MutRouteWnd, wxScrolledWindow) END_EVENT_TABLE() wxFont RouteFont(10 | |
| void | testdialog () |
Variablen | |
| DevType | IsDT |
| int | curBox |
| wxFONTFAMILY_SWISS | |
| wxFONTSTYLE_NORMAL | |
| wxFONTWEIGHT_NORMAL | |
Routing window.
Copyright: (c) 2008 TU Dresden
GPL
Revision 1.17 2011-02-20 22:35:57 keinstein updated license information; some file headers have to be revised, though
Definiert in Datei MutRouteWnd.cpp.
1.7.4