mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-20 07:17:51 +00:00
Add Color-only constructor to ui::Rectangle widget.
This commit is contained in:
@@ -256,6 +256,13 @@ std::string View::title() const {
|
||||
|
||||
/* Rectangle *************************************************************/
|
||||
|
||||
Rectangle::Rectangle(
|
||||
Color c
|
||||
) : Widget { },
|
||||
color { c }
|
||||
{
|
||||
}
|
||||
|
||||
Rectangle::Rectangle(
|
||||
Rect parent_rect,
|
||||
Color c
|
||||
|
Reference in New Issue
Block a user