ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
GuiWidgets.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
11 
12 namespace cloudViewer {
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 cloudViewer
gui::Size CalcPreferredSize(const gui::LayoutContext &context, const Constraints &constraints) const override
Definition: GuiWidgets.cpp:17
ImGuiContext * context
Definition: Window.cpp:76
Generic file read and write utility for python interface.