Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_type
Function · 0.85
get_random
Function · 0.85
get_skin
Function · 0.85
get_layer
Function · 0.85
get_coord
Function · 0.85
step_detach_layer
Function · 0.85
step_attach_layer
Function · 0.85
step_detach_widget
Function · 0.85
step_attach_widget
Function · 0.85
step_destroy_widget
Function · 0.85
step_create_widget
Function · 0.85
step_change_skin
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected