void UIBuildSettingsWeb::StoreSettings() { BuildSystem* buildSystem = GetSubsystem<BuildSystem>(); WebGLSettings settings; TBStr text; appNameEdit_->GetText(text); settings.appName = text.CStr(); text.Clear(); appPackageEdit_->GetText(text); settings.package = text.CStr(); text.Clear(); productNameEdit_->GetText(text); settings.productName = text.CStr(); text.Clear(); companyNameEdit_->GetText(text); settings.companyName = text.CStr(); text.Clear(); buildSystem->GetBuildSettings()->SetWebGLSettings(settings); }
void TBClipboard::Empty() { clipboard.Clear(); }