Documentation

UI::DragInt

Function

int UI::DragInt(const string&in label, int num, float speed = 1.0f, int min = 0, int max = 0, const string&in format = "%d", int flags = UI::SliderFlags::None)

Drag slider for integers. Returns the new value. If min >= max, there are no bounds.

string label

int num

float speed

int min

int max

string format

int flags

Returns int