Open3D (C++ API)  0.18.0+252c867
GuiWidgets.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
11 
12 namespace open3d {
13 namespace visualization {
14 
15 class SmallButton : public gui::Button {
16  using Super = Button;
17 
18 public:
19  explicit SmallButton(const char *title);
20 
22  const Constraints &constraints) const override;
23 };
24 
26  using Super = SmallButton;
27 
28 public:
29  explicit SmallToggleButton(const char *title);
30 };
31 
32 } // namespace visualization
33 } // namespace open3d
ImGuiContext * context
Definition: Window.cpp:76
Definition: GuiWidgets.h:15
gui::Size CalcPreferredSize(const gui::LayoutContext &context, const Constraints &constraints) const override
Definition: GuiWidgets.cpp:17
SmallButton(const char *title)
Definition: GuiWidgets.cpp:15
Definition: GuiWidgets.h:25
SmallToggleButton(const char *title)
Definition: GuiWidgets.cpp:24
Definition: Button.h:20
Button(const char *title)
Definition: Button.cpp:37
Definition: PinholeCameraIntrinsic.cpp:16