diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2018-08-27 11:07:48 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-11-09 18:42:26 +0100 |
commit | 8e3c4d162382a7951a0bbcdc0b221a2966ce60d6 (patch) | |
tree | 682f6686faf90c26ac3703313cea195543aa5bd6 /vcl/headless/CustomWidgetDraw.cxx | |
parent | 84b836c575ad849d51e5a5d4ac58b64dc5b99443 (diff) |
custom widgets: add Progress widget
Change-Id: I573a6c28f5ddb538ca3b0abf15197695fc113802
Diffstat (limited to 'vcl/headless/CustomWidgetDraw.cxx')
-rw-r--r-- | vcl/headless/CustomWidgetDraw.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vcl/headless/CustomWidgetDraw.cxx b/vcl/headless/CustomWidgetDraw.cxx index eaf1c3cae53a..7c2a0c225be9 100644 --- a/vcl/headless/CustomWidgetDraw.cxx +++ b/vcl/headless/CustomWidgetDraw.cxx @@ -227,7 +227,11 @@ bool CustomWidgetDraw::drawNativeControl(ControlType eType, ControlPart ePart, case ControlType::MenuPopup: break; case ControlType::Progress: - break; + { + aParameters.nValue = rValue.getNumericVal(); + bOK = s_pWidgetImplementation->drawProgress(aParameters, nWidth, nHeight); + } + break; case ControlType::IntroProgress: break; case ControlType::Tooltip: |