Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MyGUI/mygui
/ get_random
Function
get_random
UnitTests/UnitTest_AttachDetach/DemoKeeper.cpp:48–53 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
static MyGUI::Widget* get_random(MyGUI::VectorWidgetPtr& _mass)
49
{
50
if (_mass.empty())
51
return nullptr;
52
return _mass.at(random((int)_mass.size()));
53
}
54
55
static std::string_view get_skin()
56
{
Callers
8
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
step_change_type
Function · 0.85
Calls
3
random
Function · 0.85
empty
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected