void CGUIDialogPluginSettings::FreeControls() { // clear the category group CGUIControlGroupList *control = (CGUIControlGroupList *)GetControl(CONTROL_AREA); if (control) { control->FreeResources(); control->ClearAll(); } }
void CGUIDialogSettings::FreeControls() { // just clear our group list CGUIControlGroupList *group = (CGUIControlGroupList *)GetControl(CONTROL_GROUP_LIST); if (group) { group->FreeResources(); group->ClearAll(); } }
void CGUIDialogAddonSettings::FreeControls() { // clear the category group CGUIControlGroupList *control = dynamic_cast<CGUIControlGroupList *>(GetControl(CONTROL_SETTINGS_AREA)); if (control) { control->FreeResources(); control->ClearAll(); } }
void CGUIDialogSettingsBase::FreeControls() { // clear the category group CGUIControlGroupList *control = dynamic_cast<CGUIControlGroupList *>(GetControl(CATEGORY_GROUP_ID)); if (control) { control->FreeResources(); control->ClearAll(); } m_categories.clear(); FreeSettingsControls(); }
void CGUIWindowSettingsCategory::FreeControls() { // clear the category group CGUIControlGroupList *control = (CGUIControlGroupList *)GetControl(CATEGORY_GROUP_ID); if (control) { control->FreeResources(); control->ClearAll(); } m_categories.clear(); FreeSettingsControls(); }
void CGUIDialogAddonSettings::FreeSections() { CGUIControlGroupList *group = dynamic_cast<CGUIControlGroupList *>(GetControl(CONTROL_SECTION_AREA)); if (group) { group->FreeResources(); group->ClearAll(); } m_settings.clear(); m_buttonValues.clear(); FreeControls(); }
void CGUIDialogVisualisationSettings::FreeControls() { // just clear our group list CGUIControlGroupList *group = (CGUIControlGroupList *)GetControl(CONTROL_GROUP_LIST); #ifdef PRE_SKIN_VERSION_2_1_COMPATIBILITY if (group && group->GetControlType() == CGUIControl::GUICONTROL_GROUPLIST) #else if (group) #endif { group->FreeResources(); group->ClearAll(); } }
void CGUIDialogSettingsBase::FreeSettingsControls() { // clear the settings group CGUIControlGroupList *control = dynamic_cast<CGUIControlGroupList *>(GetControl(SETTINGS_GROUP_ID)); if (control) { control->FreeResources(); control->ClearAll(); } for (std::vector<BaseSettingControlPtr>::iterator control = m_settingControls.begin(); control != m_settingControls.end(); control++) (*control)->Clear(); m_settingControls.clear(); }
void CGUIWindowSettingsCategory::FreeSettingsControls() { // clear the settings group CGUIControlGroupList *control = (CGUIControlGroupList *)GetControl(SETTINGS_GROUP_ID); if (control) { control->FreeResources(); control->ClearAll(); } for (std::vector<BaseSettingControlPtr>::iterator control = m_settingControls.begin(); control != m_settingControls.end(); ++control) (*control)->Clear(); m_settingControls.clear(); m_settings.UnregisterCallback(this); }