mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-29 09:39:12 -04:00
Add Color-only constructor to ui::Rectangle widget.
This commit is contained in:
parent
38b374506e
commit
ff57b3c8cb
2 changed files with 8 additions and 0 deletions
|
@ -256,6 +256,13 @@ std::string View::title() const {
|
|||
|
||||
/* Rectangle *************************************************************/
|
||||
|
||||
Rectangle::Rectangle(
|
||||
Color c
|
||||
) : Widget { },
|
||||
color { c }
|
||||
{
|
||||
}
|
||||
|
||||
Rectangle::Rectangle(
|
||||
Rect parent_rect,
|
||||
Color c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue