Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 17, 2013
1 parent a88ec2e commit 24698bf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions doomsday/client/src/ui/widgets/consolewidget.cpp
Expand Up @@ -296,14 +296,6 @@ ConsoleWidget::ConsoleWidget() : GuiWidget("console"), d(new Instance(this))
connect(d->scriptCmd, SIGNAL(commandEntered(de::String)), this, SLOT(commandWasEntered(de::String)));
}

void ConsoleWidget::commandLineFocusGained()
{
setFullyOpaque();
openLog();

emit commandLineGotFocus();
}

ButtonWidget &ConsoleWidget::button()
{
return *d->button;
Expand Down Expand Up @@ -468,6 +460,14 @@ void ConsoleWidget::setFullyOpaque()
d->scriptCmd->setOpacity(1, .25f);
}

void ConsoleWidget::commandLineFocusGained()
{
setFullyOpaque();
openLog();

emit commandLineGotFocus();
}

void ConsoleWidget::commandLineFocusLost()
{
d->button->setOpacity(.75f, .25f);
Expand Down

0 comments on commit 24698bf

Please sign in to comment.