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
 
OcpnSound * m_sound
 
EventVar m_on_sp_sound_done
 Notified with a OCPN_Sound* pointer when sound has completed.
 
ObsListener m_sound_sp_done_listener
 
bool m_soundPlaying
 

Detailed Description

Definition at line 4632 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 4675 of file options.cpp.

◆ ~OCPNSoundPanel()

OCPNSoundPanel::~OCPNSoundPanel ( )
inline

Definition at line 4638 of file options.cpp.

Member Function Documentation

◆ GetCheckBox()

wxCheckBox * OCPNSoundPanel::GetCheckBox ( )
inline

Definition at line 4644 of file options.cpp.

◆ GetSoundFile()

wxString OCPNSoundPanel::GetSoundFile ( )
inline

Definition at line 4645 of file options.cpp.

◆ OnButtonSelectSound()

void OCPNSoundPanel::OnButtonSelectSound ( wxCommandEvent &  event)

Definition at line 4792 of file options.cpp.

◆ OnButtonSPTestSound()

void OCPNSoundPanel::OnButtonSPTestSound ( wxCommandEvent &  event)

Definition at line 4804 of file options.cpp.

◆ SelectSoundFile()

wxString OCPNSoundPanel::SelectSoundFile ( )

Definition at line 4762 of file options.cpp.

◆ SetSoundFileLabel()

void OCPNSoundPanel::SetSoundFileLabel ( wxString  file)

Definition at line 4743 of file options.cpp.

Member Data Documentation

◆ m_AudioFileNameText

wxStaticText* OCPNSoundPanel::m_AudioFileNameText

Definition at line 4651 of file options.cpp.

◆ m_on_sp_sound_done

EventVar OCPNSoundPanel::m_on_sp_sound_done

Notified with a OCPN_Sound* pointer when sound has completed.

Definition at line 4658 of file options.cpp.

◆ m_pCheck_Sound

wxCheckBox* OCPNSoundPanel::m_pCheck_Sound

Definition at line 4647 of file options.cpp.

◆ m_pSoundFile

wxString* OCPNSoundPanel::m_pSoundFile

Definition at line 4650 of file options.cpp.

◆ m_small_button_size

wxSize OCPNSoundPanel::m_small_button_size

Definition at line 4648 of file options.cpp.

◆ m_sound

OcpnSound* OCPNSoundPanel::m_sound

Definition at line 4655 of file options.cpp.

◆ m_sound_file

wxString OCPNSoundPanel::m_sound_file

Definition at line 4649 of file options.cpp.

◆ m_sound_sp_done_listener

ObsListener OCPNSoundPanel::m_sound_sp_done_listener

Definition at line 4660 of file options.cpp.

◆ m_soundPlaying

bool OCPNSoundPanel::m_soundPlaying

Definition at line 4661 of file options.cpp.

◆ SelSound

wxButton* OCPNSoundPanel::SelSound

Definition at line 4653 of file options.cpp.

◆ TestSound

wxButton* OCPNSoundPanel::TestSound

Definition at line 4654 of file options.cpp.


The documentation for this class was generated from the following file: