13 namespace visualization {
21 explicit Label(
const char* text =
nullptr);
41 std::unique_ptr<Impl> impl_;
math::float4 color
Definition: LineSetBuffers.cpp:45
ImGuiContext * context
Definition: Window.cpp:76
~Label()
Definition: Label.cpp:48
DrawResult Draw(const DrawContext &context) override
Definition: Label.cpp:115
void SetFontId(const FontId font_id)
Definition: Label.cpp:63
Size CalcPreferredSize(const LayoutContext &context, const Constraints &constraints) const override
Definition: Label.cpp:65
void SetText(const char *text)
Sets the text of the label (copies text)
Definition: Label.cpp:52
const char * GetText() const
Definition: Label.cpp:50
Color GetTextColor() const
Definition: Label.cpp:57
void SetTextColor(const Color &color)
Definition: Label.cpp:59
Label(const char *text=nullptr)
Copies text.
Definition: Label.cpp:42
FontId GetFontId() const
Definition: Label.cpp:61
unsigned int FontId
Definition: Gui.h:68
Definition: PinholeCameraIntrinsic.cpp:16