0.4.1
Loading...
Searching...
No Matches
Splitter.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 Splitter.hpp
10
/// @brief Screen Divider
11
/// @author T. Topp (topp@ins.uni-stuttgart.de)
12
/// @date 2020-12-14
13
14
#pragma once
15
16
namespace
NAV::gui::widgets
17
{
18
/// @brief Vertical or horizontal Screen Divider
19
/// @param[in] str_id Unique Id for splitter creation
20
/// @param[in] split_vertically Vertical or horizontal splitter
21
/// @param[in] thickness Thickness in Pixels
22
/// @param[in, out] size1 Size left or above the splitter
23
/// @param[in, out] size2 Size right or below the splitter
24
/// @param[in] min_size1 Minimum size left or above the splitter
25
/// @param[in] min_size2 Minimum size right or below the spliter
26
/// @param[in] splitter_long_axis_size Length of the splitter
27
/// @return True when the splitter is moved
28
bool
Splitter
(
const
char
* str_id,
bool
split_vertically,
float
thickness,
29
float
* size1,
float
* size2,
30
float
min_size1,
float
min_size2,
31
float
splitter_long_axis_size = -1.0F);
32
33
}
// namespace NAV::gui::widgets
NAV::gui::widgets
Definition
DynamicInputPins.cpp:23
NAV::gui::widgets::Splitter
bool Splitter(const char *str_id, bool split_vertically, float thickness, float *size1, float *size2, float min_size1, float min_size2, float splitter_long_axis_size=-1.0F)
Vertical or horizontal Screen Divider.
Definition
Splitter.cpp:16
src
internal
gui
widgets
Splitter.hpp
Generated by
1.13.2