Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DescentDevelopers/Descent3
/ width
Method
width
ui/UIRes.cpp:125–128 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
123
}
124
125
int UITextItem::width() {
126
ui_DrawSetFont(m_Font);
127
return (m_Text ? ui_GetTextWidth(m_Text) : 0);
128
}
129
130
int UITextItem::height() {
131
ui_DrawSetFont(m_Font);
Callers
15
UpdateDialog
Method · 0.45
UpdateProcView
Method · 0.45
OnLButtonDown
Method · 0.45
ShowRadView
Function · 0.45
UpdateRobotView
Method · 0.45
UpdateTextureViews
Method · 0.45
DrawDoorwayDoorPic
Method · 0.45
UpdateProcView
Method · 0.45
UpdateTextureView
Method · 0.45
UpdateMegacellView
Method · 0.45
UpdateView
Method · 0.45
UpdateWeaponView
Method · 0.45
Calls
3
ui_DrawSetFont
Function · 0.85
ui_GetTextWidth
Function · 0.85
ui_GetBitmapWidth
Function · 0.85
Tested by
no test coverage detected