Widget to modify time point values.
More...
Go to the source code of this file.
|
using | json |
| json namespace
|
|
Widget to modify time point values.
- Author
- T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
- Date
- 2021-11-23
◆ from_json()
Converts the provided json object.
- Parameters
-
[in] | j | Json object with the time system |
[out] | timeEditFormat | Object to return |
◆ TimeEdit()
bool NAV::gui::widgets::TimeEdit |
( |
const char * | str_id, |
|
|
InsTime & | insTime, |
|
|
TimeEditFormat & | timeEditFormat, |
|
|
float | itemWidth = 170.0F ) |
Inputs to edit an InsTime object.
- Parameters
-
[in] | str_id | Unique id for the ImGui elements |
[in,out] | insTime | Time object to modify |
[in,out] | timeEditFormat | Format to modify the time in |
[in] | itemWidth | Width of the widget items |
- Returns
- True if changes were made to the object
◆ to_json()
Converts the provided Object into a json object.
- Parameters
-
[out] | j | Return Json object |
[in] | timeEditFormat | Object to convert |
◆ to_string()
Converts the enum to a string.
- Parameters
-
[in] | timeEditFormat | Enum value to convert into text |
- Returns
- String representation of the enum