2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

Preparation for self-split space functionality

This commit is contained in:
Jack Andersen
2016-01-09 20:40:23 -10:00
parent 24917f2367
commit 08c4270707
18 changed files with 415 additions and 153 deletions

View File

@@ -106,7 +106,7 @@ void TextField::setText(const std::string& str)
void TextField::setInactive()
{
const ThemeData& theme = rootView().themeData();
const IThemeData& theme = rootView().themeData();
if (m_error)
{
m_verts[0].m_color = theme.textfield1Inactive() * Zeus::CColor::skRed;
@@ -133,7 +133,7 @@ void TextField::setInactive()
void TextField::setHover()
{
const ThemeData& theme = rootView().themeData();
const IThemeData& theme = rootView().themeData();
if (m_error)
{
m_verts[0].m_color = theme.textfield1Hover() * Zeus::CColor::skRed;
@@ -160,7 +160,7 @@ void TextField::setHover()
void TextField::setDisabled()
{
const ThemeData& theme = rootView().themeData();
const IThemeData& theme = rootView().themeData();
if (m_error)
{
m_verts[0].m_color = theme.textfield1Disabled() * Zeus::CColor::skRed;