15 namespace visualization {
25 void AddTab(
const char*
name, std::shared_ptr<Widget> panel);
39 std::unique_ptr<Impl> impl_;
ImGuiContext * context
Definition: Window.cpp:76
Definition: TabControl.h:18
int GetSelectedTabIndex()
Definition: TabControl.cpp:59
void SetSelectedTabIndex(int index)
Definition: TabControl.cpp:54
void SetOnSelectedTabChanged(std::function< void(int)> on_changed)
Definition: TabControl.cpp:51
void AddTab(const char *name, std::shared_ptr< Widget > panel)
Definition: TabControl.cpp:45
~TabControl()
Definition: TabControl.cpp:43
DrawResult Draw(const DrawContext &context) override
Definition: TabControl.cpp:86
TabControl()
Definition: TabControl.cpp:38
Size CalcPreferredSize(const LayoutContext &context, const Constraints &constraints) const override
Definition: TabControl.cpp:61
void Layout(const LayoutContext &context) override
Definition: TabControl.cpp:73
Definition: PinholeCameraIntrinsic.cpp:16
Definition: TabControl.cpp:30