Implement vertical meters.
This commit is contained in:
parent
ad116b5515
commit
48b672eec4
3 changed files with 26 additions and 4 deletions
|
|
@ -70,9 +70,12 @@ namespace guecs {
|
|||
float percent = 1.0f;
|
||||
sf::Color color = THEME.BG_COLOR_DARK;
|
||||
int padding = THEME.PADDING;
|
||||
bool vertical = false;
|
||||
Rectangle bar{padding, color};
|
||||
// this is set automatically if a Rectangle is configured for the cell
|
||||
Rectangle backing_rect{padding, color};
|
||||
size_t $cell_x = 0;
|
||||
size_t $cell_y = 0;
|
||||
size_t $cell_w = 0;
|
||||
size_t $cell_h = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue