#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/wxInspectorPlugins/DPIAwarePlugin.hpp>
◆ CanProvideProperties()
| bool DPIAwarePlugin::CanProvideProperties |
( |
wxClassInfo * | info | ) |
|
|
override |
71{
72 return info->IsKindOf(CLASSINFO(wxWindow));
73}
◆ GetName()
| wxString DPIAwarePlugin::GetName |
( |
| ) |
const |
|
override |
66{
67 return "OrcaDPIAware";
68}
◆ GetProperties()
| wxVector< wxInspector::PropertyDef > DPIAwarePlugin::GetProperties |
( |
wxInspector::InspectableObject & | obj | ) |
|
|
override |
77{
78 wxVector<wxInspector::PropertyDef> props;
79 wxWindow* win = obj.AsWindow();
80 if (!win) return props;
81
84 } else if (auto* dlg = dynamic_cast<Slic3r::GUI::DPIDialog*>(win)) {
86 }
87
88 return props;
89}
DPIAware< wxFrame > DPIFrame
Definition GUI_Utils.hpp:298
void addDPIProps(T *dpi, wxVector< wxInspector::PropertyDef > &props)
Definition DPIAwarePlugin.cpp:18
The documentation for this class was generated from the following files:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/wxInspectorPlugins/DPIAwarePlugin.hpp
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/wxInspectorPlugins/DPIAwarePlugin.cpp