Audacity 3.2.0
|
#include <Lyrics.h>
Public Member Functions | |
HighlightTextCtrl (LyricsPanel *parent, wxWindowID id, const wxString &value={}, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) | |
virtual | ~HighlightTextCtrl () |
void | OnMouseEvent (wxMouseEvent &evt) |
Private Attributes | |
LyricsPanel * | mLyricsPanel |
HighlightTextCtrl::HighlightTextCtrl | ( | LyricsPanel * | parent, |
wxWindowID | id, | ||
const wxString & | value = {} , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize |
||
) |
Definition at line 35 of file Lyrics.cpp.
|
inlinevirtual |
void HighlightTextCtrl::OnMouseEvent | ( | wxMouseEvent & | evt | ) |
Definition at line 49 of file Lyrics.cpp.
References FindProjectFromWindow(), LyricsPanel::FindSyllable(), ViewInfo::Get(), LyricsPanel::GetCurrentSyllableIndex(), LyricsPanel::GetSyllable(), mLyricsPanel, ViewInfo::selectedRegion, NotifyingSelectedRegion::setT0(), and Syllable::t.
|
private |
Definition at line 65 of file Lyrics.h.
Referenced by OnMouseEvent().