reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit dda11fe4883b89922fbf96109f593061dd98a3f7
parent 20ebba277bb4e3832a98332851728cff1f9dd13e
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Sat,  5 Dec 2015 22:50:00 -0500

change the title and initial text of the progress dialog

Diffstat:
Msrc/progress.cpp | 5++---
Msrc/resource.rc | 2+-
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/progress.cpp b/src/progress.cpp @@ -16,15 +16,14 @@ void Progress::setTransaction(Transaction *t) { m_transaction = t; - SetWindowText(m_label, ""); - m_done = 0; m_total = 0; - SendMessage(m_progress, PBM_SETPOS, m_done, 0); if(!m_transaction) return; + SetWindowText(m_label, "Initializing..."); + m_transaction->downloadQueue()->onPush( bind(&Progress::addDownload, this, placeholders::_1)); } diff --git a/src/resource.rc b/src/resource.rc @@ -6,7 +6,7 @@ IDD_PROGRESS_DIALOG DIALOGEX 0, 0, 260, 85 STYLE DS_MODALFRAME | DS_SHELLFONT | WS_POPUP | WS_SYSMENU | WS_CAPTION -CAPTION "ReaPack: Download Progress" +CAPTION "ReaPack: Download in progress" FONT 8, "MS Shell Dlg" BEGIN LTEXT "File Name", IDC_LABEL, 5, 5, 250, 30