Skip to content

Commit

Permalink
libappfw: Fix build (refactoring oversight)
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Feb 5, 2014
1 parent d9a960b commit f0bce31
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doomsday/libappfw/src/widgets/buttonwidget.cpp
Expand Up @@ -39,7 +39,7 @@ DENG2_OBSERVES(Action, Triggered)
Instance(Public *i)
: Base(i)
, state(Up)
, hoverColorMode(Replace)
, hoverColorMode(ReplaceColor)
, action(0)
, scale(1.f)
, frameOpacity(.08f, Animation::Linear)
Expand Down Expand Up @@ -79,10 +79,10 @@ DENG2_OBSERVES(Action, Triggered)
// Restore old color.
switch(hoverColorMode)
{
case Modulate:
case ModulateColor:
self.setTextModulationColorf(Vector4f(1, 1, 1, 1));
break;
case Replace:
case ReplaceColor:
self.setTextColor(originalTextColor);
break;
}
Expand All @@ -95,10 +95,10 @@ DENG2_OBSERVES(Action, Triggered)
{
switch(hoverColorMode)
{
case Modulate:
case ModulateColor:
self.setTextModulationColorf(style().colors().colorf(hoverTextColor));
break;
case Replace:
case ReplaceColor:
self.setTextColor(hoverTextColor);
break;
}
Expand Down

0 comments on commit f0bce31

Please sign in to comment.