Gauge direction (#326)

Add `gauge` with all the different directions.

Co-authored-by: Aleksandar Brakmic <13668697+brakmic-aleksandar@users.noreply.github.com>
This commit is contained in:
Arthur Sonzogni
2022-02-06 19:17:21 +01:00
committed by GitHub
parent 7c3ca1beb5
commit 8ba3698437
7 changed files with 369 additions and 19 deletions

View File

@@ -4,6 +4,20 @@ Changelog
current (development)
---------------------
### Features:
#### DOM:
- The `inverted` decorator now toggle in the inverted attribute.
- Add `gauge` for the 4 directions. Expose the following API:
```cpp
Element gauge(float ratio);
Element gaugeLeft(float ratio);
Element gaugeRight(float ratio);
Element gaugeUp(float ratio);
Element gaugeDown(float ratio);
Element gaugeDirection(float ratio, GaugeDirection);
```
2.0.0
-----