mirror of
https://github.com/Ch1nChun/ImGuiMenu-s.git
synced 2026-10-10 13:03:11 +08:00
11 lines
300 B
C
11 lines
300 B
C
#ifndef UTILS_H
|
|
#define UTILS_H
|
|
|
|
inline float CustomClamp(float value, float min, float max) {
|
|
return (value < min) ? min : (value > max) ? max : value;
|
|
}
|
|
|
|
#endif // UTILS_H
|
|
|
|
ImVec4 main_color = ImVec4(210.0f / 255.0f, 100.0f / 255.0f, 185.0f / 255.0f, 1.0f); // Default menu color 210, 100, 185
|