Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MyGUI/mygui
/ setMin
Function
setMin
MyGUIEngine/src/MyGUI_TextView.cpp:17–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
16
template<typename T>
17
void setMin(T& _var, const T& _newValue)
18
{
19
if (_newValue < _var)
20
_var = _newValue;
21
}
22
23
template<typename T>
24
void setMax(T& _var, const T& _newValue)
Callers
1
getCursorPoint
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected