Fix up compilation.

This commit is contained in:
jmsgrogan 2023-01-18 11:17:41 +00:00
parent 7cab70f839
commit 19091a0e80
13 changed files with 46 additions and 48 deletions

View file

@ -23,8 +23,8 @@ Widget::Widget()
mRootNode(std::make_unique<TransformNode>()),
mChildren(),
mBorderThickness(0),
mBackground(ThemeToken::SystemToken::Primary),
mBorder(ThemeToken::SystemToken::Outline),
mBackground(Theme::Sys::Color::Primary),
mBorder(Theme::Sys::Color::Outline),
mVisible(true)
{
mName = "Widget";
@ -66,7 +66,7 @@ TransformNode* Widget::getRootNode() const
void Widget::setBackground(ThemeToken::SystemToken token)
void Widget::setBackground(Theme::Sys::Color token)
{
if (mBackground != token)
{