0.4.1
Loading...
Searching...
No Matches
Spinner.hpp
Go to the documentation of this file.
1
// This file is part of INSTINCT, the INS Toolkit for Integrated
2
// Navigation Concepts and Training by the Institute of Navigation of
3
// the University of Stuttgart, Germany.
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9
/// @file Spinner.hpp
10
/// @brief Spinner to show that something is done
11
/// @author T. Topp (topp@ins.uni-stuttgart.de)
12
/// @date 2021-01-19
13
14
#pragma once
15
16
#include <imgui.h>
17
18
namespace
NAV::gui::widgets
19
{
20
/// @brief Shows a Spinner to signal that work is done
21
/// @param[in] label Label for the spinner. Is not displayed. Has to be unique (use # to hide text afterwards to append an uid)
22
/// @param[in] color Color of the spinner
23
/// @param[in] radius Radius of the spinner
24
/// @param[in] thickness Thickness of the spinner
25
void
Spinner
(
const
char
* label,
const
ImU32& color,
float
radius,
float
thickness = 1.0F);
26
27
}
// namespace NAV::gui::widgets
NAV::gui::widgets
Definition
DynamicInputPins.cpp:23
NAV::gui::widgets::Spinner
void Spinner(const char *label, const ImU32 &color, float radius, float thickness=1.0F)
Shows a Spinner to signal that work is done.
Definition
Spinner.cpp:15
src
internal
gui
widgets
Spinner.hpp
Generated by
1.13.2