Lets a widget describe itself to the component inspector (ViewInspector) and to view-core's layout an...
Definition inspector_facts.hpp:15
virtual std::string_view inspector_type_name() const =0
virtual void inspector_facts(std::vector< Fact > &out) const =0
virtual ~InspectorFacts()
Hover-cursor tracking for platform window hosts.
Definition fwd.hpp:27
std::string view_type_name(const View &view)
The type name the inspector and the layout/appearance diagnostics show for view ("Knob",...
Definition inspector_facts.hpp:17
std::string label
row label in ViewInspector::view_properties
Definition inspector_facts.hpp:19
bool show_in_properties
Definition inspector_facts.hpp:22
bool integral
serialized as an integer
Definition inspector_facts.hpp:21
std::string key
JSON member name in ViewInspector::to_json.
Definition inspector_facts.hpp:18
double value
Definition inspector_facts.hpp:20