|
Unravel Engine C++ Reference
|
Classes | |
| class | sample_data |
| Class for collecting and managing time-series sample data. Maintains a rolling buffer of samples with automatic statistics calculation. More... | |
Functions | |
| auto | draw_progress_bar (float width, float max_width, float height, const ImVec4 &color) -> bool |
| Draw a colored progress bar with hover effects. | |
| auto | draw_resource_bar (const char *name, const char *tooltip, uint32_t current_value, uint32_t max_value, float max_width, float height) -> void |
| Draw a resource usage bar with label and percentage. | |
| auto unravel::statistics_utils::draw_progress_bar | ( | float | width, |
| float | max_width, | ||
| float | height, | ||
| const ImVec4 & | color ) -> bool |
Draw a colored progress bar with hover effects.
| width | Width of the filled portion |
| max_width | Maximum width of the bar |
| height | Height of the bar |
| color | Color of the bar |
Definition at line 60 of file statistics_utils.cpp.
| auto unravel::statistics_utils::draw_resource_bar | ( | const char * | name, |
| const char * | tooltip, | ||
| uint32_t | current_value, | ||
| uint32_t | max_value, | ||
| float | max_width, | ||
| float | height ) -> void |
Draw a resource usage bar with label and percentage.
| name | Name of the resource |
| tooltip | Tooltip text to show on hover |
| current_value | Current usage value |
| max_value | Maximum possible value |
| max_width | Maximum width of the progress bar |
| height | Height of the progress bar |
Definition at line 92 of file statistics_utils.cpp.