diff --git a/r5dev/sdklauncher/download_surface.cpp b/r5dev/sdklauncher/download_surface.cpp index 4190e509..242825c3 100644 --- a/r5dev/sdklauncher/download_surface.cpp +++ b/r5dev/sdklauncher/download_surface.cpp @@ -13,10 +13,9 @@ void CProgressPanel::UpdateProgress(uint32_t Progress, bool Finished) if (Finished) { - this->m_FinishButton->SetEnabled(true); this->m_CancelButton->SetEnabled(false); this->m_bCanClose = true; - this->SetText("Download Complete"); + this->SetText("Operation finished"); if (this->m_bCanceled || this->m_bAutoClose) this->Close(); @@ -48,7 +47,7 @@ void CProgressPanel::InitializeComponent() this->SuspendLayout(); this->SetAutoScaleDimensions({ 6, 13 }); this->SetAutoScaleMode(Forms::AutoScaleMode::Font); - this->SetText("Downloading Files..."); + this->SetText("Initiating operation..."); this->SetClientSize({ 409, 119 }); this->SetFormBorderStyle(Forms::FormBorderStyle::FixedSingle); this->SetStartPosition(Forms::FormStartPosition::CenterParent); @@ -76,16 +75,6 @@ void CProgressPanel::InitializeComponent() this->m_CancelButton->Click += &OnCancelClick; this->AddControl(this->m_CancelButton); - this->m_FinishButton = new UIX::UIXButton(); - this->m_FinishButton->SetSize({ 87, 31 }); - this->m_FinishButton->SetLocation({ 217, 76 }); - this->m_FinishButton->SetTabIndex(1); - this->m_FinishButton->SetText("Ok"); - this->m_FinishButton->SetEnabled(false); - this->m_FinishButton->SetAnchor(Forms::AnchorStyles::Bottom | Forms::AnchorStyles::Right); - this->m_FinishButton->Click += &OnFinishClick; - this->AddControl(this->m_FinishButton); - this->m_ProgressBar = new UIX::UIXProgressBar(); this->m_ProgressBar->SetSize({ 385, 29 }); this->m_ProgressBar->SetLocation({ 12, 38 }); diff --git a/r5dev/sdklauncher/download_surface.h b/r5dev/sdklauncher/download_surface.h index 3aa5ea53..1da0b429 100644 --- a/r5dev/sdklauncher/download_surface.h +++ b/r5dev/sdklauncher/download_surface.h @@ -28,7 +28,6 @@ private: // Internal controls reference UIX::UIXLabel* m_DownloadLabel; UIX::UIXButton* m_CancelButton; - UIX::UIXButton* m_FinishButton; UIX::UIXProgressBar* m_ProgressBar; bool m_bCanClose; // Whether or not we can close.