OpenCPN Partial API docs
Loading...
Searching...
No Matches
OCPNSoundPanel Class Reference
Inheritance diagram for OCPNSoundPanel:

Public Member Functions

 OCPNSoundPanel (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, wxString title, wxString checkLegend, wxString selectLegend, wxString *pSoundFile)
void OnButtonSelectSound (wxCommandEvent &event)
void OnButtonSPTestSound (wxCommandEvent &event)
wxString SelectSoundFile ()
void SetSoundFileLabel (wxString file)
wxCheckBox * GetCheckBox ()
wxString GetSoundFile ()

Public Attributes

wxCheckBox * m_pCheck_Sound
wxSize m_small_button_size
wxString m_sound_file
wxString * m_pSoundFile
wxStaticText * m_AudioFileNameText
wxButton * SelSound
wxButton * TestSound
o_sound::Sound * m_sound
obs::EventVar m_on_sp_sound_done
 Notified with a OCPN_Sound* pointer when sound has completed.
obs::Listener m_sound_sp_done_listener
bool m_soundPlaying

Detailed Description

Definition at line 4811 of file options.cpp.

Constructor & Destructor Documentation

◆ OCPNSoundPanel()

OCPNSoundPanel::OCPNSoundPanel ( wxWindow * parent,
wxWindowID id,
const wxPoint & pos,
const wxSize & size,
wxString title,
wxString checkLegend,
wxString selectLegend,
wxString * pSoundFile )

Definition at line 4854 of file options.cpp.

◆ ~OCPNSoundPanel()

OCPNSoundPanel::~OCPNSoundPanel ( )
inline

Definition at line 4817 of file options.cpp.

Member Function Documentation

◆ GetCheckBox()

wxCheckBox * OCPNSoundPanel::GetCheckBox ( )
inline

Definition at line 4823 of file options.cpp.

◆ GetSoundFile()

wxString OCPNSoundPanel::GetSoundFile ( )
inline

Definition at line 4824 of file options.cpp.

◆ OnButtonSelectSound()

void OCPNSoundPanel::OnButtonSelectSound ( wxCommandEvent & event)

Definition at line 4970 of file options.cpp.

◆ OnButtonSPTestSound()

void OCPNSoundPanel::OnButtonSPTestSound ( wxCommandEvent & event)

Definition at line 4982 of file options.cpp.

◆ SelectSoundFile()

wxString OCPNSoundPanel::SelectSoundFile ( )

Definition at line 4941 of file options.cpp.

◆ SetSoundFileLabel()

void OCPNSoundPanel::SetSoundFileLabel ( wxString file)

Definition at line 4922 of file options.cpp.

Member Data Documentation

◆ m_AudioFileNameText

wxStaticText* OCPNSoundPanel::m_AudioFileNameText

Definition at line 4830 of file options.cpp.

◆ m_on_sp_sound_done

obs::EventVar OCPNSoundPanel::m_on_sp_sound_done

Notified with a OCPN_Sound* pointer when sound has completed.

Definition at line 4837 of file options.cpp.

◆ m_pCheck_Sound

wxCheckBox* OCPNSoundPanel::m_pCheck_Sound

Definition at line 4826 of file options.cpp.

◆ m_pSoundFile

wxString* OCPNSoundPanel::m_pSoundFile

Definition at line 4829 of file options.cpp.

◆ m_small_button_size

wxSize OCPNSoundPanel::m_small_button_size

Definition at line 4827 of file options.cpp.

◆ m_sound

o_sound::Sound* OCPNSoundPanel::m_sound

Definition at line 4834 of file options.cpp.

◆ m_sound_file

wxString OCPNSoundPanel::m_sound_file

Definition at line 4828 of file options.cpp.

◆ m_sound_sp_done_listener

obs::Listener OCPNSoundPanel::m_sound_sp_done_listener

Definition at line 4839 of file options.cpp.

◆ m_soundPlaying

bool OCPNSoundPanel::m_soundPlaying

Definition at line 4840 of file options.cpp.

◆ SelSound

wxButton* OCPNSoundPanel::SelSound

Definition at line 4832 of file options.cpp.

◆ TestSound

wxButton* OCPNSoundPanel::TestSound

Definition at line 4833 of file options.cpp.


The documentation for this class was generated from the following file:
  • /home/runner/work/main/main/opencpn/gui/src/options.cpp