Public Member Functions | |
| WikiLabel (wxWindow *parent, const wxString &label, const wxString &url=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) | |
| void | SetLabel (const wxString &label) override |
| bool | SetFont (const wxFont &font) override |
| wxString | GetLabel () const override |
| void | SetURL (const wxString &url) |
| wxString | GetURL () const |
| void | ReflowText () |
| wxSize | DoGetBestSize () const override |
| void | Rescale () |
Private Member Functions | |
| void | OnPaint (wxPaintEvent &evt) |
| void | OnSize (wxSizeEvent &evt) |
| void | OnMotion (wxMouseEvent &evt) |
| void | OnLeaveWin (wxMouseEvent &evt) |
| void | OnLeftDown (wxMouseEvent &evt) |
Private Attributes | |
| wxString | m_label |
| wxString | m_url |
| wxArrayString | m_lines |
| bool | m_hovered = false |
| wxFont | m_font |
| int | m_last_wrap_width = -1 |
|
inline |
References Label::Body_14, m_label, m_url, OnLeaveWin(), OnLeftDown(), OnMotion(), OnPaint(), OnSize(), and SetFont().
|
inlineoverride |
|
inlineoverride |
|
inlineprivate |
References m_hovered, m_url, and Slic3r::GUI::wxMouseEvent.
Referenced by WikiLabel().
|
inlineprivate |
References m_url, and Slic3r::GUI::wxMouseEvent.
Referenced by WikiLabel().
|
inlineprivate |
References m_hovered, m_url, and Slic3r::GUI::wxMouseEvent.
Referenced by WikiLabel().
|
inlineprivate |
References StateColor::darkModeColorFor(), m_font, m_hovered, and m_lines.
Referenced by WikiLabel().
|
inlineprivate |
References ReflowText().
Referenced by WikiLabel().
|
inline |
References m_label, m_last_wrap_width, and m_lines.
Referenced by OnSize(), SetFont(), and SetLabel().
|
inline |
References m_last_wrap_width, and m_lines.
|
inlineoverride |
References m_font, m_last_wrap_width, and ReflowText().
Referenced by WikiLabel().
|
inlineoverride |
References m_label, m_last_wrap_width, and ReflowText().
|
inline |
|
private |
Referenced by OnLeaveWin(), OnMotion(), and OnPaint().
|
private |
Referenced by WikiLabel(), DoGetBestSize(), GetLabel(), ReflowText(), and SetLabel().
|
private |
Referenced by ReflowText(), Rescale(), SetFont(), and SetLabel().
|
private |
Referenced by DoGetBestSize(), OnPaint(), ReflowText(), and Rescale().
|
private |
Referenced by WikiLabel(), GetURL(), OnLeaveWin(), OnLeftDown(), OnMotion(), and SetURL().