Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 19, 2013
1 parent 2506f1a commit 8c5a335
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/client/src/ui/widgets/aboutdialog.cpp
Expand Up @@ -51,7 +51,7 @@ AboutDialog::AboutDialog() : DialogWidget("about")
de::Version ver2;

LabelWidget *info = new LabelWidget;
String txt = String(_E(D)_E(b) "%3 %1" _E(.) " #%2\n" _E(.)_E(l) "%4-bit %5%6\n\n" _E(.) "%7")
String txt = String(_E(D)_E(b) "%3 %1" _E(.) " #%2\n" _E(.) "%4-bit %5%6\n\n%7")
.arg(version.base())
.arg(ver2.build)
.arg(DOOMSDAY_RELEASE_TYPE)
Expand Down
11 changes: 11 additions & 0 deletions doomsday/libdeng2/include/de/widgets/widget.h
Expand Up @@ -176,7 +176,18 @@ class DENG2_PUBLIC Widget

// Tree organization.
void clear();

/**
* Adds a child widget. It becomes the last child, meaning it is drawn on
* top of other children but will get events first.
*
* @param child Child widget.
*
* @return Reference to the added child widget. (Note that this is @em not
* a "fluent API".)
*/
Widget &add(Widget *child);

Widget &insertBefore(Widget *child, Widget const &otherChild);
Widget *remove(Widget &child);
Widget *find(String const &name);
Expand Down

0 comments on commit 8c5a335

Please sign in to comment.