KiCad PCB EDA Suite
|
Add dark theme support to wxHtmlWindow. More...
#include <html_window.h>
Public Member Functions | |
HTML_WINDOW (wxWindow *aParent, wxWindowID aId=wxID_ANY, const wxPoint &aPos=wxDefaultPosition, const wxSize &aSize=wxDefaultSize, long aStyle=wxHW_DEFAULT_STYLE, const wxString &aName=wxT("htmlWindow")) | |
~HTML_WINDOW () | |
bool | SetPage (const wxString &aSource) override |
bool | AppendToPage (const wxString &aSource) |
void | ThemeChanged () |
Private Member Functions | |
void | onThemeChanged (wxSysColourChangedEvent &aEvent) |
void | onRightClick (wxMouseEvent &event) |
void | onMenuEvent (wxMenuEvent &event) |
Private Attributes | |
wxString | m_pageSource |
Add dark theme support to wxHtmlWindow.
Definition at line 34 of file html_window.h.
HTML_WINDOW::HTML_WINDOW | ( | wxWindow * | aParent, |
wxWindowID | aId = wxID_ANY , |
||
const wxPoint & | aPos = wxDefaultPosition , |
||
const wxSize & | aSize = wxDefaultSize , |
||
long | aStyle = wxHW_DEFAULT_STYLE , |
||
const wxString & | aName = wxT( "htmlWindow" ) |
||
) |
Definition at line 32 of file html_window.cpp.
References onRightClick(), and onThemeChanged().
HTML_WINDOW::~HTML_WINDOW | ( | ) |
Definition at line 43 of file html_window.cpp.
References onRightClick().
bool HTML_WINDOW::AppendToPage | ( | const wxString & | aSource | ) |
Definition at line 69 of file html_window.cpp.
References m_pageSource, and SetPage().
Referenced by DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), DIALOG_SYMBOL_REMAP::DIALOG_SYMBOL_REMAP(), WX_HTML_REPORT_PANEL::Report(), and PANEL_RF_ATTENUATORS::TransfAttenuatorResultsToPanel().
|
private |
Definition at line 95 of file html_window.cpp.
|
private |
Definition at line 87 of file html_window.cpp.
Referenced by HTML_WINDOW(), and ~HTML_WINDOW().
|
private |
Definition at line 81 of file html_window.cpp.
References ThemeChanged().
Referenced by HTML_WINDOW().
|
override |
Definition at line 50 of file html_window.cpp.
References m_pageSource.
Referenced by AppendToPage(), DIALOG_ABOUT::createNotebookHtmlPage(), DIALOG_PLUGIN_OPTIONS::DIALOG_PLUGIN_OPTIONS(), DIALOG_TEMPLATE_SELECTOR::DIALOG_TEMPLATE_SELECTOR(), WX_HTML_REPORT_BOX::Flush(), WX_HTML_REPORT_PANEL::Flush(), PANEL_TRACK_WIDTH::LoadSettings(), DIALOG_CONFIGURE_PATHS::OnHelp(), DIALOG_PLUGIN_OPTIONS::onListBoxItemSelected(), LIB_TREE::onPreselect(), PANEL_ELECTRICAL_SPACING_IEC60664::PANEL_ELECTRICAL_SPACING_IEC60664(), PANEL_GALVANIC_CORROSION::PANEL_GALVANIC_CORROSION(), PANEL_R_CALCULATOR::PANEL_R_CALCULATOR(), HTML_MESSAGE_BOX::reload(), PANEL_RF_ATTENUATORS::SetAttenuator(), ThemeChanged(), PANEL_RF_ATTENUATORS::TransfAttenuatorDataToPanel(), PANEL_RF_ATTENUATORS::TransfAttenuatorResultsToPanel(), and PANEL_PACKAGES_VIEW::unsetPackageDetails().
void HTML_WINDOW::ThemeChanged | ( | ) |
Definition at line 75 of file html_window.cpp.
References m_pageSource, and SetPage().
Referenced by onThemeChanged(), PANEL_GALVANIC_CORROSION::ThemeChanged(), PANEL_R_CALCULATOR::ThemeChanged(), PANEL_RF_ATTENUATORS::ThemeChanged(), and PANEL_TRACK_WIDTH::ThemeChanged().
|
private |
Definition at line 56 of file html_window.h.
Referenced by AppendToPage(), SetPage(), and ThemeChanged().