#include <OutputDevDlg.h>
Klassen | |
| struct | TypeData |
Öffentliche Methoden | |
| OutputDevDlg (wxWindow *parent=NULL) | |
| Constructors. | |
| void | OnChoiceSelected (wxCommandEvent &event) |
| wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CHOICE | |
| void | OnRemoveClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON | |
| void | OnFileChanged (wxFileDirPickerEvent &event) |
| void | UpdateLayout (DevType type) |
| int | GetMidiDevice () const |
| void | SetMidiDevice (int value) |
| wxString | GetMidiFile () const |
| void | SetMidiFile (wxString value) |
| wxString | GetGUIDOFile () const |
| void | SetGUIDOFile (wxString value) |
| DevType | GetType () const |
| void | SetType (DevType value) |
| long | GetMidiBendingRange () |
| void | SetMidiBendingRange (long i) |
| long | GetMidiFileBendingRange () |
| void | SetMidiFileBendingRange (long i) |
| wxString | GetPortString (int i) |
| void | AppendPortChoice (const wxString &s) |
| wxBitmap | GetBitmapResource (const wxString &name) |
| Retrieves bitmap resources. | |
| wxIcon | GetIconResource (const wxString &name) |
| Retrieves icon resources. | |
Öffentliche, statische Methoden | |
| static bool | ShowToolTips () |
| Should we show tooltips? | |
Private Methoden | |
| bool | Create (wxWindow *parent, wxWindowID id=SYMBOL_OUTPUTDEVDLG_IDNAME, const wxString &caption=SYMBOL_OUTPUTDEVDLG_TITLE, const wxPoint &pos=SYMBOL_OUTPUTDEVDLG_POSITION, const wxSize &size=SYMBOL_OUTPUTDEVDLG_SIZE, long style=SYMBOL_OUTPUTDEVDLG_STYLE) |
| Creation. | |
| void | CreateControls () |
| Creates the controls and sizers. | |
| void | OnChoice2Selected (wxCommandEvent &event) |
| wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CHOICE2 | |
| void | OnButton2Click (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON2 | |
| void | OnButton3Click (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON3 | |
| void | OnRemoveClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_REMOVE | |
| void | UpdateLayout (int type) |
| int | GetType () const |
| void | SetType (int value) |
| int | GetMidiDevice () const |
| void | SetMidiDevice (int value) |
| wxString | GetMidiFile () const |
| void | SetMidiFile (wxString value) |
| wxString | GetGUIDOFile () const |
| void | SetGUIDOFile (wxString value) |
| long | GetMidiDeviceBending () const |
| void | SetMidiDeviceBending (long value) |
| long | GetMidiFileBending () const |
| void | SetMidiFileBending (long value) |
| wxBitmap | GetBitmapResource (const wxString &name) |
| Retrieves bitmap resources. | |
| wxIcon | GetIconResource (const wxString &name) |
| Retrieves icon resources. | |
| int | FindType (DevType t) |
Private, statische Methoden | |
| static bool | ShowToolTips () |
| Should we show tooltips? | |
Private Attribute | |
| wxBoxSizer * | ctrlPanel |
| wxChoice * | ctrlType |
| wxStaticBoxSizer * | ctrlMidiDevicePanel |
| wxChoice * | ctrlMidiDevice |
| wxStaticBoxSizer * | ctrlMidiFilePanel |
| wxTextCtrl * | ctrlMidiFile |
| wxStaticBoxSizer * | ctrlGUIDOFilePanel |
| wxTextCtrl * | ctrlGUIDOFile |
| int | Type |
| int | MidiDevice |
| wxString | MidiFile |
| wxString | GUIDOFile |
| long | MidiDeviceBending |
| long | MidiFileBending |
| void OutputDevDlg::AppendPortChoice | ( | const wxString & | s | ) | [inline] |
Definiert in Zeile 206 der Datei OutputDevDlg.h.
Wird benutzt von MutOutputDeviceShape::ShowDeviceDialog().
{
PortChoice->Append (s);
}
| wxBitmap OutputDevDlg::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
| wxString OutputDevDlg::GetGUIDOFile | ( | ) | const [inline] |
Definiert in Zeile 152 der Datei OutputDevDlg.h.
{
return GuidoFilePicker->GetPath() ;
}
| wxString OutputDevDlg::GetGUIDOFile | ( | ) | const [inline, private] |
| wxIcon OutputDevDlg::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources.
| long OutputDevDlg::GetMidiBendingRange | ( | ) | [inline] |
Definiert in Zeile 185 der Datei OutputDevDlg.h.
Wird benutzt von MutOutputMidiDeviceShape::readDialog().
{
return MidiBendingRange->GetValue();
}
| int OutputDevDlg::GetMidiDevice | ( | ) | const [inline, private] |
| int OutputDevDlg::GetMidiDevice | ( | ) | const [inline] |
Definiert in Zeile 123 der Datei OutputDevDlg.h.
{
return PortChoice->GetSelection() ;
}
| long OutputDevDlg::GetMidiDeviceBending | ( | ) | const [inline, private] |
Definiert in Zeile 167 der Datei OutputDevDlg.h.
Benutzt MidiDeviceBending.
{
return MidiDeviceBending ;
}
| wxString OutputDevDlg::GetMidiFile | ( | ) | const [inline, private] |
| wxString OutputDevDlg::GetMidiFile | ( | ) | const [inline] |
Definiert in Zeile 136 der Datei OutputDevDlg.h.
{
return MidiFilePicker->GetPath() ;
}
| long OutputDevDlg::GetMidiFileBending | ( | ) | const [inline, private] |
Definiert in Zeile 178 der Datei OutputDevDlg.h.
Benutzt MidiFileBending.
{
return MidiFileBending ;
}
| long OutputDevDlg::GetMidiFileBendingRange | ( | ) | [inline] |
Definiert in Zeile 193 der Datei OutputDevDlg.h.
{
return MidiFileBendingRange->GetValue();
}
| wxString OutputDevDlg::GetPortString | ( | int | i | ) | [inline] |
Definiert in Zeile 201 der Datei OutputDevDlg.h.
{
return PortChoice->GetString (i);
}
| int OutputDevDlg::GetType | ( | ) | const [inline, private] |
Definiert in Zeile 123 der Datei OutputDevDlg.h.
Benutzt Type.
Wird benutzt von MutOutputDeviceShape::DoLeftDblClick() und OnChoiceSelected().
{
return Type ;
}
| DevType OutputDevDlg::GetType | ( | ) | const [inline] |
Definiert in Zeile 165 der Datei OutputDevDlg.h.
| void OutputDevDlg::OnRemoveClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON
| void OutputDevDlg::SetGUIDOFile | ( | wxString | value | ) | [inline] |
Definiert in Zeile 157 der Datei OutputDevDlg.h.
Benutzt DEBUGLOG.
{
DEBUGLOG(other, value);
GuidoFilePicker->SetPath(value);
Update();
}
| void OutputDevDlg::SetGUIDOFile | ( | wxString | value | ) | [inline, private] |
Definiert in Zeile 161 der Datei OutputDevDlg.h.
Benutzt GUIDOFile.
Wird benutzt von MutOutputDeviceShape::ShowDeviceDialog().
{
GUIDOFile = value ;
}
| void OutputDevDlg::SetMidiBendingRange | ( | long | i | ) | [inline] |
Definiert in Zeile 189 der Datei OutputDevDlg.h.
Wird benutzt von MutOutputDeviceShape::ShowDeviceDialog().
{
MidiBendingRange->SetValue (i);
}
| void OutputDevDlg::SetMidiDevice | ( | int | value | ) | [inline, private] |
Definiert in Zeile 139 der Datei OutputDevDlg.h.
Benutzt MidiDevice.
Wird benutzt von MutOutputDeviceShape::ShowDeviceDialog().
{
MidiDevice = value ;
}
| void OutputDevDlg::SetMidiDevice | ( | int | value | ) | [inline] |
Definiert in Zeile 128 der Datei OutputDevDlg.h.
Benutzt DEBUGLOG.
{
DEBUGLOG(other, _T("%d"),value);
PortChoice->SetSelection (value) ;
Update();
}
| void OutputDevDlg::SetMidiDeviceBending | ( | long | value | ) | [inline, private] |
Definiert in Zeile 172 der Datei OutputDevDlg.h.
Benutzt MidiDeviceBending.
{
MidiDeviceBending = value ;
}
| void OutputDevDlg::SetMidiFile | ( | wxString | value | ) | [inline, private] |
Definiert in Zeile 150 der Datei OutputDevDlg.h.
Benutzt MidiFile.
Wird benutzt von MutOutputDeviceShape::ShowDeviceDialog().
{
MidiFile = value ;
}
| void OutputDevDlg::SetMidiFile | ( | wxString | value | ) | [inline] |
Definiert in Zeile 141 der Datei OutputDevDlg.h.
Benutzt DEBUGLOG.
| void OutputDevDlg::SetMidiFileBending | ( | long | value | ) | [inline, private] |
Definiert in Zeile 183 der Datei OutputDevDlg.h.
Benutzt MidiFileBending.
{
MidiFileBending = value ;
}
| void OutputDevDlg::SetMidiFileBendingRange | ( | long | i | ) | [inline] |
Definiert in Zeile 197 der Datei OutputDevDlg.h.
Wird benutzt von MutOutputDeviceShape::ShowDeviceDialog().
{
MidiFileBendingRange->SetValue (i);
}
| void OutputDevDlg::SetType | ( | int | value | ) | [inline, private] |
| void OutputDevDlg::SetType | ( | DevType | value | ) | [inline] |
Definiert in Zeile 177 der Datei OutputDevDlg.h.
Benutzt DEBUGLOG und UpdateLayout().
{
DEBUGLOG(other, _T("%d"),value);
UpdateLayout(value);
Update();
}
| static bool OutputDevDlg::ShowToolTips | ( | ) | [static] |
Should we show tooltips?
wxTextCtrl* OutputDevDlg::ctrlGUIDOFile [private] |
Definiert in Zeile 216 der Datei OutputDevDlg.h.
Wird benutzt von Create() und CreateControls().
wxStaticBoxSizer* OutputDevDlg::ctrlGUIDOFilePanel [private] |
Definiert in Zeile 214 der Datei OutputDevDlg.h.
Wird benutzt von Create(), CreateControls() und UpdateLayout().
wxChoice* OutputDevDlg::ctrlMidiDevice [private] |
Definiert in Zeile 208 der Datei OutputDevDlg.h.
Wird benutzt von Create() und CreateControls().
wxStaticBoxSizer* OutputDevDlg::ctrlMidiDevicePanel [private] |
Definiert in Zeile 206 der Datei OutputDevDlg.h.
Wird benutzt von Create(), CreateControls() und UpdateLayout().
wxTextCtrl* OutputDevDlg::ctrlMidiFile [private] |
Definiert in Zeile 212 der Datei OutputDevDlg.h.
Wird benutzt von Create(), CreateControls(), OnButton2Click() und OnButton3Click().
wxStaticBoxSizer* OutputDevDlg::ctrlMidiFilePanel [private] |
Definiert in Zeile 210 der Datei OutputDevDlg.h.
Wird benutzt von Create(), CreateControls() und UpdateLayout().
wxBoxSizer* OutputDevDlg::ctrlPanel [private] |
Definiert in Zeile 202 der Datei OutputDevDlg.h.
Wird benutzt von Create(), CreateControls() und UpdateLayout().
wxChoice* OutputDevDlg::ctrlType [private] |
Definiert in Zeile 204 der Datei OutputDevDlg.h.
Wird benutzt von Create(), CreateControls() und OnChoice2Selected().
wxString OutputDevDlg::GUIDOFile [private] |
Definiert in Zeile 224 der Datei OutputDevDlg.h.
Wird benutzt von CreateControls(), GetGUIDOFile() und SetGUIDOFile().
int OutputDevDlg::MidiDevice [private] |
Definiert in Zeile 220 der Datei OutputDevDlg.h.
Wird benutzt von CreateControls(), GetMidiDevice() und SetMidiDevice().
long OutputDevDlg::MidiDeviceBending [private] |
Definiert in Zeile 226 der Datei OutputDevDlg.h.
Wird benutzt von CreateControls(), GetMidiDeviceBending() und SetMidiDeviceBending().
wxString OutputDevDlg::MidiFile [private] |
Definiert in Zeile 222 der Datei OutputDevDlg.h.
Wird benutzt von CreateControls(), GetMidiFile() und SetMidiFile().
long OutputDevDlg::MidiFileBending [private] |
Definiert in Zeile 228 der Datei OutputDevDlg.h.
Wird benutzt von CreateControls(), GetMidiFileBending() und SetMidiFileBending().
int OutputDevDlg::Type [private] |
Definiert in Zeile 218 der Datei OutputDevDlg.h.
Wird benutzt von CreateControls(), GetType(), SetType() und UpdateLayout().
1.7.4