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

Function setMax

MyGUIEngine/src/MyGUI_ResourceTrueTypeFont.cpp:137–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136 template<typename T>
137 void setMax(T& _var, const T& _newValue)
138 {
139 if (_var < _newValue)
140 _var = _newValue;
141 }
142
143 const std::map<const Char, const uint8> charMask{
144 {FontCodeType::Selected, 0x88},

Callers 1

initialiseFreeTypeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected