void UI::DestroyLabel(void** uiLabel) { if (*uiLabel) { NVBFTextFree(*uiLabel); *uiLabel = 0; } }
void TextButton::Destroy() { if (UIText) { NVBFTextFree(UIText); UIText = 0; } }
Engine::~Engine() { NVBFTextFree(m_clockText); NVBFCleanup(); delete mDrawRect; if (mGlobeApp) { mGlobeApp->cleanup(); delete mGlobeApp; } delete m_music; }