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

Method SetBackItem

ui/ui.h:1133–1139  ·  view source on GitHub ↗

sets window's font.

Source from the content-addressed store, hash-verified

1131 // settings
1132 void SetFont(int handle); // sets window's font.
1133 void SetBackItem(UIItem *item) { // sets the background drawing item.
1134 if (m_BackItem)
1135 delete m_BackItem;
1136 m_BackItem = NULL;
1137 if (item)
1138 m_BackItem = item->CopyUIItem();
1139 }; //
1140 void SetBackColor(ddgr_color col) { // sets the background color. this is ALWAYS first, then the backitem
1141 m_BackColor = col;
1142 };

Callers

nothing calls this directly

Calls 1

CopyUIItemMethod · 0.45

Tested by

no test coverage detected