MCPcopy 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
125int UITextItem::width() {
126 ui_DrawSetFont(m_Font);
127 return (m_Text ? ui_GetTextWidth(m_Text) : 0);
128}
129
130int UITextItem::height() {
131 ui_DrawSetFont(m_Font);

Callers 15

UpdateDialogMethod · 0.45
UpdateProcViewMethod · 0.45
OnLButtonDownMethod · 0.45
ShowRadViewFunction · 0.45
UpdateRobotViewMethod · 0.45
UpdateTextureViewsMethod · 0.45
DrawDoorwayDoorPicMethod · 0.45
UpdateProcViewMethod · 0.45
UpdateTextureViewMethod · 0.45
UpdateMegacellViewMethod · 0.45
UpdateViewMethod · 0.45
UpdateWeaponViewMethod · 0.45

Calls 3

ui_DrawSetFontFunction · 0.85
ui_GetTextWidthFunction · 0.85
ui_GetBitmapWidthFunction · 0.85

Tested by

no test coverage detected