Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MyGUI/mygui
/ getWidgetWidth
Function
getWidgetWidth
MyGUIEngine/include/MyGUI_WidgetTranslate.h:16–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
{
15
16
inline int getWidgetWidth(Widget* _widget, bool _vert)
17
{
18
return _vert ? _widget->getWidth() : _widget->getHeight();
19
}
20
21
inline int getWidgetHeight(Widget* _widget, bool _vert)
22
{
Callers
nothing calls this directly
Calls
2
getWidth
Method · 0.45
getHeight
Method · 0.45
Tested by
no test coverage detected