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

Method SetBackground

ui/UIStatic.cpp:107–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void UIStatic::SetBackground(UIPrimativeItem *item) {
108 if (m_Background)
109 delete m_Background;
110 m_Background = NULL;
111 if (item)
112 m_Background = (UIPrimativeItem *)item->CopyUIItem();
113}
114
115void UIStatic::SetTitle(UIItem *item) {
116 if (m_Title)

Callers

nothing calls this directly

Calls 1

CopyUIItemMethod · 0.45

Tested by

no test coverage detected