diff options
Diffstat (limited to 'views/controls/progress_bar.cc')
-rw-r--r-- | views/controls/progress_bar.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/controls/progress_bar.cc b/views/controls/progress_bar.cc index 40cc814..1b1af25 100644 --- a/views/controls/progress_bar.cc +++ b/views/controls/progress_bar.cc @@ -162,6 +162,10 @@ int ProgressBar::GetProgress() const { return progress_; } +void ProgressBar::AddProgress(int tick) { + SetProgress(progress_ + tick); +} + void ProgressBar::SetTooltipText(const std::wstring& tooltip_text) { tooltip_text_ = tooltip_text; } |