Skip to content

Commit

Permalink
Refactor|Client|Widgets: Use the _E macro instead of DENG2_ESC
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jun 8, 2013
1 parent fadd692 commit 4fcf0b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doomsday/client/src/ui/widgets/consolecommandwidget.cpp
Expand Up @@ -89,7 +89,7 @@ bool ConsoleCommandWidget::handleEvent(Event const &event)
{
String const entered = d->history.enter();

LOG_INFO(DENG2_ESC("1") "> ") << entered;
LOG_INFO(_E("1") "> ") << entered;

// Execute the command right away.
Con_Execute(CMDS_CONSOLE, entered.toUtf8(), false, false);
Expand Down
2 changes: 1 addition & 1 deletion doomsday/client/src/ui/widgets/consolewidget.cpp
Expand Up @@ -99,7 +99,7 @@ ConsoleWidget::ConsoleWidget() : GuiWidget("Console"), d(new Instance(this))
Rule const &unit = style().rules().rule("unit");

d->button = new ButtonWidget;
d->button->setText(DENG2_ESC("b") ">");
d->button->setText(_E("b") ">");
// Until we have a menu widget...
d->button->setAction(new SignalAction(this, SLOT(focusOnCommandLine())));
add(d->button);
Expand Down
4 changes: 2 additions & 2 deletions doomsday/client/src/ui/widgets/taskbarwidget.cpp
Expand Up @@ -174,9 +174,9 @@ TaskBarWidget::TaskBarWidget() : GuiWidget("TaskBar"), d(new Instance(this))
d->logo = new ButtonWidget;
d->logo->setAction(new CommandAction("panel"));
d->logo->setImage(style().images().image("logo.px128"));
d->logo->setImageScale(.6f);
d->logo->setImageScale(.55f);
d->logo->setImageFit(FitToHeight | OriginalAspectRatio);
d->logo->setText(DENG2_ESC("b") + VersionInfo().base());
d->logo->setText(_E("b") + VersionInfo().base());
d->logo->setWidthPolicy(LabelWidget::Expand);
d->logo->setTextAlignment(AlignLeft);
d->logo->rule()
Expand Down

0 comments on commit 4fcf0b6

Please sign in to comment.