MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnDraw

Method OnDraw

ui/UIWindow.cpp:619–622  ·  view source on GitHub ↗

overridable draws the window background before gadgets

Source from the content-addressed store, hash-verified

617
618// overridable draws the window background before gadgets
619void UIWindow::OnDraw() {
620 if (m_BackItem)
621 m_BackItem->draw(0, 0, m_W, m_H);
622}
623
624// used to manage keypresses so repeating isn't quick.
625bool UIWindow::TrapKey(int key) {

Callers 1

RenderMethod · 0.45

Calls 12

ui_DrawSetFontFunction · 0.85
ui_GetFontHeightFunction · 0.85
ui_DrawBoxFunction · 0.85
ui_DrawRectFunction · 0.85
ui_GetTextWidthFunction · 0.85
ui_SetCharAlphaFunction · 0.85
ui_DrawStringFunction · 0.85
GR_RGBFunction · 0.50
drawMethod · 0.45
get_fontMethod · 0.45
get_alphaMethod · 0.45
get_colorMethod · 0.45

Tested by

no test coverage detected