MCPcopy Create free account
hub / github.com/MyGUI/mygui / random

Function random

UnitTests/UnitTest_AttachDetach/DemoKeeper.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 }
18
19 static int random(int _max)
20 {
21 int result = rand() % _max;
22 return result < 0 ? 0 : result;
23 }
24
25 static MyGUI::WidgetStyle get_type()
26 {

Callers 14

get_typeFunction · 0.85
get_randomFunction · 0.85
get_skinFunction · 0.85
get_layerFunction · 0.85
get_coordFunction · 0.85
step_detach_layerFunction · 0.85
step_attach_layerFunction · 0.85
step_detach_widgetFunction · 0.85
step_attach_widgetFunction · 0.85
step_destroy_widgetFunction · 0.85
step_create_widgetFunction · 0.85
step_change_skinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected