Unravel Engine C++ Reference
Loading...
Searching...
No Matches
statistics_utils.cpp File Reference
#include "statistics_utils.h"
#include <algorithm>
#include <numeric>

Go to the source code of this file.

Namespaces

namespace  unravel
 
namespace  unravel::statistics_utils
 

Functions

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.
 
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.