|
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 () |
| bool | ScrollToAnchor (const wxString &aAnchor) |
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 onMenuEvent(), onRightClick(), and onThemeChanged().
Referenced by WX_HTML_REPORT_BOX::WX_HTML_REPORT_BOX().
| HTML_WINDOW::~HTML_WINDOW | ( | ) |
Definition at line 44 of file html_window.cpp.
References onMenuEvent(), and onRightClick().
| bool HTML_WINDOW::AppendToPage | ( | const wxString & | aSource | ) |
Definition at line 71 of file html_window.cpp.
References m_pageSource, and SetPage().
|
private |
Definition at line 110 of file html_window.cpp.
Referenced by HTML_WINDOW(), and ~HTML_WINDOW().
|
private |
Definition at line 101 of file html_window.cpp.
References _.
Referenced by HTML_WINDOW(), and ~HTML_WINDOW().
|
private |
Definition at line 95 of file html_window.cpp.
References ThemeChanged().
Referenced by HTML_WINDOW().
| bool HTML_WINDOW::ScrollToAnchor | ( | const wxString & | aAnchor | ) |
Definition at line 83 of file html_window.cpp.
References result.
|
override |
Definition at line 52 of file html_window.cpp.
References m_pageSource.
Referenced by AppendToPage(), DIALOG_ABOUT::createNotebookHtmlPage(), WX_HTML_REPORT_BOX::Flush(), and ThemeChanged().
| void HTML_WINDOW::ThemeChanged | ( | ) |
Definition at line 77 of file html_window.cpp.
References m_pageSource, and SetPage().
Referenced by onThemeChanged().
|
private |
Definition at line 61 of file html_window.h.
Referenced by AppendToPage(), SetPage(), and ThemeChanged().