Files
esDashboard/src/display/ui/bar/Style.h
T
2025-12-29 13:59:23 +00:00

28 lines
766 B
C++

#pragma once
#include "display/graphics/Color.h"
#include "display/ui/theme/Theme.h"
namespace display::ui::bar
{
struct Style
{
display::graphics::Color background;
display::graphics::Color fill;
display::graphics::Color border;
bool drawBorder;
Style(
display::graphics::Color background = display::ui::theme::bar::BACKGROUND,
display::graphics::Color fill = display::ui::theme::bar::FILL,
display::graphics::Color border = display::ui::theme::bar::BORDER,
bool drawBorder = true)
: background(background),
fill(fill),
border(border),
drawBorder(true)
{
}
};
} // namespace display::ui::bar