KiCad PCB EDA Suite
Loading...
Searching...
No Matches
HTML_WINDOW Class Reference

Add dark theme support to wxHtmlWindow. More...

#include <html_window.h>

Inheritance diagram for HTML_WINDOW:
WX_HTML_REPORT_BOX

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="htmlWindow")
 
bool SetPage (const wxString &aSource) override
 
bool AppendToPage (const wxString &aSource)
 
void ThemeChanged ()
 

Private Member Functions

void onThemeChanged (wxSysColourChangedEvent &aEvent)
 

Private Attributes

wxString m_pageSource
 

Detailed Description

Add dark theme support to wxHtmlWindow.

Definition at line 33 of file html_window.h.

Constructor & Destructor Documentation

◆ HTML_WINDOW()

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 = "htmlWindow" 
)

Definition at line 29 of file html_window.cpp.

References onThemeChanged().

Member Function Documentation

◆ AppendToPage()

bool HTML_WINDOW::AppendToPage ( const wxString &  aSource)

◆ onThemeChanged()

void HTML_WINDOW::onThemeChanged ( wxSysColourChangedEvent &  aEvent)
private

Definition at line 69 of file html_window.cpp.

References ThemeChanged().

Referenced by HTML_WINDOW().

◆ SetPage()

◆ ThemeChanged()

Member Data Documentation

◆ m_pageSource

wxString HTML_WINDOW::m_pageSource
private

Definition at line 51 of file html_window.h.

Referenced by AppendToPage(), SetPage(), and ThemeChanged().


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