diff options
author | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-10-08 21:51:12 +0300 |
---|---|---|
committer | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-10-30 08:17:18 +0100 |
commit | df79eedf6989ab4c2913a23a7e72079bd719168b (patch) | |
tree | 429b451dd9c48be33aedf8e9a67313b9c156cef7 /include/vcl/status.hxx | |
parent | 3d5cafbe1727a95a54eb4a65d98d6d79ec46f0c8 (diff) |
tdf#157518: vcl: Introduce vcl control LevelBar
Introduces LevelBar that shares implementation with
Progress(Bar).
LevelBar is to be as a level indicator, e.g. password strength
level. Currently with native backends for gtk and Windows.
Currently, except on gtk - the colors of the bar at different
levels are hardcoded and not dependent on any kind of themeing.
On Windows it follows the styling of progress bar of type "Meter"
according to the uxguide:
https://learn.microsoft.com/en-us/windows/win32/uxguide/progress-bars#meters
Change-Id: Id772cda23615e9582463bf589e4674fd4588c864
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157826
Tested-by: Jenkins
Reviewed-by: Sarper Akdemir <sarper.akdemir.extern@allotropia.de>
Diffstat (limited to 'include/vcl/status.hxx')
-rw-r--r-- | include/vcl/status.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx index 4e59481671fd..0c287ddbc1b1 100644 --- a/include/vcl/status.hxx +++ b/include/vcl/status.hxx @@ -36,7 +36,7 @@ struct ImplStatusItem; void DrawProgress(vcl::Window* pWindow, vcl::RenderContext& rRenderContext, const Point& rPos, tools::Long nOffset, tools::Long nPrgsWidth, tools::Long nPrgsHeight, sal_uInt16 nPercent1, sal_uInt16 nPercent2, sal_uInt16 nPercentCount, - const tools::Rectangle& rFramePosSize); + const tools::Rectangle& rFramePosSize, ControlType eControlType); enum class StatusBarItemBits { |