![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/GUI/ExtraRenderers.hpp>
Inheritance diagram for BitmapTextRenderer:
Collaboration diagram for BitmapTextRenderer:Public Member Functions | |
| BitmapTextRenderer (bool use_markup=false, wxDataViewCellMode mode=wxDATAVIEW_CELL_EDITABLE, int align=wxDVR_DEFAULT_ALIGNMENT) | |
| ~BitmapTextRenderer () | |
| void | EnableMarkup (bool enable=true) |
| bool | SetValue (const wxVariant &value) override |
| bool | GetValue (wxVariant &value) const override |
| virtual bool | Render (wxRect cell, wxDC *dc, int state) override |
| virtual wxSize | GetSize () const override |
| bool | HasEditorCtrl () const override |
| wxWindow * | CreateEditorCtrl (wxWindow *parent, wxRect labelRect, const wxVariant &value) override |
| bool | GetValueFromEditorCtrl (wxWindow *ctrl, wxVariant &value) override |
| bool | WasCanceled () const |
| void | set_can_create_editor_ctrl_function (std::function< bool()> can_create_fn) |
Private Attributes | |
| DataViewBitmapText | m_value |
| bool | m_was_unusable_symbol { false } |
| std::function< bool()> | can_create_editor_ctrl { nullptr } |
|
inline |
| BitmapTextRenderer::~BitmapTextRenderer | ( | ) |
|
override |
References can_create_editor_ctrl, and m_was_unusable_symbol.
| void BitmapTextRenderer::EnableMarkup | ( | bool | enable = true | ) |
|
overridevirtual |
References DataViewBitmapText::GetBitmap(), DataViewBitmapText::GetText(), and m_value.
Here is the call graph for this function:
|
override |
|
override |
References Slic3r::GUI::Plater::has_illegal_filename_characters(), m_was_unusable_symbol, and DataViewBitmapText::SetText().
Here is the call graph for this function:
|
inlineoverride |
|
overridevirtual |
References DataViewBitmapText::GetBitmap(), DataViewBitmapText::GetText(), and m_value.
Here is the call graph for this function:
|
inline |
References can_create_editor_ctrl.
Referenced by Slic3r::GUI::ObjectList::create_objects_ctrl().
Here is the caller graph for this function:
|
override |
References DataViewBitmapText::GetText(), and m_value.
Here is the call graph for this function:
|
inline |
References m_was_unusable_symbol.
|
private |
Referenced by CreateEditorCtrl(), and set_can_create_editor_ctrl_function().
|
private |
Referenced by GetSize(), Render(), and SetValue().
|
private |
Referenced by CreateEditorCtrl(), GetValueFromEditorCtrl(), and WasCanceled().