Added multi state support to colors.

This commit is contained in:
Leonardo Zide
2024-02-19 14:54:45 -08:00
parent db24fab6d7
commit 39bdb1aa0a
15 changed files with 155 additions and 77 deletions
+5 -3
View File
@@ -566,7 +566,7 @@ void lcCamera::DrawInterface(lcContext* Context, const lcScene& Scene) const
}
}
bool lcCamera::GetBoolProperty(lcObjectPropertyId PropertyId) const
QVariant lcCamera::GetPropertyValue(lcObjectPropertyId PropertyId) const
{
switch (PropertyId)
{
@@ -617,11 +617,13 @@ bool lcCamera::GetBoolProperty(lcObjectPropertyId PropertyId) const
break;
}
return false;
return QVariant();
}
bool lcCamera::SetBoolProperty(lcObjectPropertyId PropertyId, bool Value)
bool lcCamera::SetPropertyValue(lcObjectPropertyId PropertyId, lcStep Step, bool AddKey, QVariant Value)
{
Q_UNUSED(Step);
Q_UNUSED(AddKey);
Q_UNUSED(Value);
switch (PropertyId)