Documentation

UI::ButtonColored

Function

bool UI::ButtonColored(const string&in label, float h, float s = 0.6f, float v = 0.6f, const vec2&in size = vec2 ( ))

Clickable button with a specific color. Returns true if it was clicked.

string label

float h

float s

float v

vec2 size

Returns bool