Audacity 3.2.0
|
Adds some event handling to an HtmlWindow. More...
#include <HelpSystem.h>
Public Types | |
enum | { ID = 0 } |
Public Member Functions | |
BrowserDialog (wxWindow *pParent, const TranslatableString &title) | |
void | OnForward (wxCommandEvent &event) |
void | OnBackward (wxCommandEvent &event) |
void | OnClose (wxCommandEvent &event) |
void | OnKeyDown (wxKeyEvent &event) |
void | UpdateButtons () |
Public Member Functions inherited from wxDialogWrapper | |
wxDialogWrapper () | |
wxDialogWrapper (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) | |
bool | Create (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) |
void | SetTitle (const TranslatableString &title) |
void | SetLabel (const TranslatableString &title) |
void | SetName (const TranslatableString &title) |
void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxDialog > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Public Attributes | |
HtmlWindow * | mpHtml |
bool | mDismissed {} |
Adds some event handling to an HtmlWindow.
Definition at line 139 of file HelpSystem.h.
anonymous enum |
BrowserDialog::BrowserDialog | ( | wxWindow * | pParent, |
const TranslatableString & | title | ||
) |
Definition at line 428 of file HelpSystem.cpp.
References title.
void BrowserDialog::OnBackward | ( | wxCommandEvent & | event | ) |
Definition at line 453 of file HelpSystem.cpp.
References mpHtml, and UpdateButtons().
void BrowserDialog::OnClose | ( | wxCommandEvent & | event | ) |
Definition at line 459 of file HelpSystem.cpp.
References audacity::BasicSettings::Flush(), gPrefs, mDismissed, audacity::BasicSettings::Write(), and wxT().
void BrowserDialog::OnForward | ( | wxCommandEvent & | event | ) |
Definition at line 447 of file HelpSystem.cpp.
References mpHtml, and UpdateButtons().
void BrowserDialog::OnKeyDown | ( | wxKeyEvent & | event | ) |
Definition at line 485 of file HelpSystem.cpp.
void BrowserDialog::UpdateButtons | ( | ) |
Definition at line 497 of file HelpSystem.cpp.
References mpHtml.
Referenced by OnBackward(), OnForward(), and LinkingHtmlWindow::OnLinkClicked().
bool BrowserDialog::mDismissed {} |
Definition at line 155 of file HelpSystem.h.
Referenced by OnClose().
HtmlWindow* BrowserDialog::mpHtml |
Definition at line 154 of file HelpSystem.h.
Referenced by OnBackward(), OnForward(), HelpSystem::ShowHtmlText(), and UpdateButtons().