0.2.0
Loading...
Searching...
No Matches
Splitter.hpp File Reference

Screen Divider. More...

Go to the source code of this file.

Functions

bool NAV::gui::widgets::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.
 

Detailed Description

Screen Divider.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2020-12-14

Function Documentation

◆ Splitter()

bool NAV::gui::widgets::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.

Parameters
[in]str_idUnique Id for splitter creation
[in]split_verticallyVertical or horizontal splitter
[in]thicknessThickness in Pixels
[in,out]size1Size left or above the splitter
[in,out]size2Size right or below the splitter
[in]min_size1Minimum size left or above the splitter
[in]min_size2Minimum size right or below the spliter
[in]splitter_long_axis_sizeLength of the splitter
Returns
True when the splitter is moved