#include <InputDevDlg.h>
Klassen | |
| struct | TypeData |
Öffentliche Methoden | |
| InputDevDlg (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) |
| 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. | |
| InputDevDlg (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) |
| wxString | GetPortString (int i) |
| void | AppendPortChoice (const wxString &s) |
| void | DisableRemove (bool disable=true) |
| 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? | |
| static bool | ShowToolTips () |
| Should we show tooltips? | |
Private Methoden | |
| int | FindType (DevType t) |
| int | FindType (DevType t) |
Includes
Definiert in Zeile 109 der Datei InputDevDlg.h.
| InputDevDlg::InputDevDlg | ( | wxWindow * | parent = NULL | ) |
Constructors.
| InputDevDlg::InputDevDlg | ( | wxWindow * | parent = NULL | ) |
Constructors.
| void InputDevDlg::AppendPortChoice | ( | const wxString & | s | ) | [inline] |
Definiert in Zeile 220 der Datei InputDevDlg.h.
Wird benutzt von MutInputDeviceShape::ShowDeviceDialog().
{
PortChoice->Append (s);
}
| void InputDevDlg::AppendPortChoice | ( | const wxString & | s | ) | [inline] |
Definiert in Zeile 242 der Datei InputDevDlg.h.
{
PortChoice->Append (s);
}
| void InputDevDlg::DisableRemove | ( | bool | disable = true | ) | [inline] |
Definiert in Zeile 247 der Datei InputDevDlg.h.
{
wxID_REMOVE->Show(!disable);
wxID_REMOVE->Enable(!disable);
}
| int InputDevDlg::FindType | ( | DevType | t | ) | [private] |
| wxBitmap InputDevDlg::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
| wxString InputDevDlg::GetGUIDOFile | ( | ) | const [inline] |
Definiert in Zeile 182 der Datei InputDevDlg.h.
{
return GuidoFilePicker->GetPath() ;
}
| wxString InputDevDlg::GetGUIDOFile | ( | ) | const [inline] |
Definiert in Zeile 204 der Datei InputDevDlg.h.
{
return GuidoFilePicker->GetPath() ;
}
| wxIcon InputDevDlg::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources.
| int InputDevDlg::GetMidiDevice | ( | ) | const [inline] |
Definiert in Zeile 177 der Datei InputDevDlg.h.
{
return PortChoice->GetSelection() ;
}
| int InputDevDlg::GetMidiDevice | ( | ) | const [inline] |
Definiert in Zeile 155 der Datei InputDevDlg.h.
{
return PortChoice->GetSelection() ;
}
| wxString InputDevDlg::GetMidiFile | ( | ) | const [inline] |
Definiert in Zeile 168 der Datei InputDevDlg.h.
{
return MidiFilePicker->GetPath() ;
}
| wxString InputDevDlg::GetMidiFile | ( | ) | const [inline] |
Definiert in Zeile 190 der Datei InputDevDlg.h.
{
return MidiFilePicker->GetPath() ;
}
| wxString InputDevDlg::GetPortString | ( | int | i | ) | [inline] |
Definiert in Zeile 237 der Datei InputDevDlg.h.
{
return PortChoice->GetString (i);
}
| wxString InputDevDlg::GetPortString | ( | int | i | ) | [inline] |
Definiert in Zeile 215 der Datei InputDevDlg.h.
{
return PortChoice->GetString (i);
}
| DevType InputDevDlg::GetType | ( | ) | const [inline] |
Definiert in Zeile 195 der Datei InputDevDlg.h.
Benutzt DTNotSet.
Wird benutzt von MutInputDeviceShape::DoLeftDblClick().
| DevType InputDevDlg::GetType | ( | ) | const [inline] |
Definiert in Zeile 217 der Datei InputDevDlg.h.
Benutzt DTNotSet.
| void InputDevDlg::OnChoiceSelected | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CHOICE
| void InputDevDlg::OnFileChanged | ( | wxFileDirPickerEvent & | event | ) |
| void InputDevDlg::OnRemoveClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON
| void InputDevDlg::SetGUIDOFile | ( | wxString | value | ) | [inline] |
Definiert in Zeile 187 der Datei InputDevDlg.h.
Benutzt DEBUGLOG.
Wird benutzt von MutInputDeviceShape::ShowDeviceDialog().
{
DEBUGLOG(value);
GuidoFilePicker->SetPath(value);
Update();
}
| void InputDevDlg::SetGUIDOFile | ( | wxString | value | ) | [inline] |
Definiert in Zeile 209 der Datei InputDevDlg.h.
Benutzt DEBUGLOG.
{
DEBUGLOG(other, value);
GuidoFilePicker->SetPath(value);
Update();
}
| void InputDevDlg::SetMidiDevice | ( | int | value | ) | [inline] |
Definiert in Zeile 182 der Datei InputDevDlg.h.
Benutzt DEBUGLOG.
{
DEBUGLOG(other, _T("%d"),value);
PortChoice->SetSelection (value) ;
Update();
}
| void InputDevDlg::SetMidiDevice | ( | int | value | ) | [inline] |
Definiert in Zeile 160 der Datei InputDevDlg.h.
Benutzt DEBUGLOG.
Wird benutzt von MutInputDeviceShape::ShowDeviceDialog().
{
DEBUGLOG(_T("%d"),value);
PortChoice->SetSelection (value) ;
Update();
}
| void InputDevDlg::SetMidiFile | ( | wxString | value | ) | [inline] |
Definiert in Zeile 195 der Datei InputDevDlg.h.
Benutzt DEBUGLOG.
| void InputDevDlg::SetMidiFile | ( | wxString | value | ) | [inline] |
Definiert in Zeile 173 der Datei InputDevDlg.h.
Benutzt DEBUGLOG.
Wird benutzt von MutInputDeviceShape::ShowDeviceDialog().
| void InputDevDlg::SetType | ( | DevType | value | ) | [inline] |
Definiert in Zeile 229 der Datei InputDevDlg.h.
Benutzt DEBUGLOG und UpdateLayout().
{
DEBUGLOG(other, _T("%d"),value);
UpdateLayout(value);
Update();
}
| void InputDevDlg::SetType | ( | DevType | value | ) | [inline] |
Definiert in Zeile 207 der Datei InputDevDlg.h.
Benutzt DEBUGLOG und UpdateLayout().
{
DEBUGLOG(_T("%d"),value);
UpdateLayout(value);
Update();
}
| static bool InputDevDlg::ShowToolTips | ( | ) | [static] |
Should we show tooltips?
| void InputDevDlg::UpdateLayout | ( | DevType | type | ) |
1.7.4