diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-17 15:08:03 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-17 15:08:03 (GMT) |
| commit | 614a90cfc677313473d5a6163d93e61fa655dfca (patch) | |
| tree | e7d5354f57f6956c9e66e589cff21ac4b99cafe2 /src/search/SearchView.cpp | |
| parent | 6500923aa574bad86339f231382a7fcc11e64f96 (diff) | |
| download | powder-614a90cfc677313473d5a6163d93e61fa655dfca.zip powder-614a90cfc677313473d5a6163d93e61fa655dfca.tar.gz | |
RichText label (used for MOTD), fixes #123
Diffstat (limited to 'src/search/SearchView.cpp')
| -rw-r--r-- | src/search/SearchView.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/search/SearchView.cpp b/src/search/SearchView.cpp index 866c492..bad2474 100644 --- a/src/search/SearchView.cpp +++ b/src/search/SearchView.cpp @@ -5,6 +5,7 @@ #include "interface/Keys.h" #include "interface/SaveButton.h" #include "interface/Label.h" +#include "interface/RichLabel.h" #include "interface/Textbox.h" #include "Misc.h" @@ -21,7 +22,7 @@ SearchView::SearchView(): previousButton = new ui::Button(ui::Point(1, YRES+MENUSIZE-18), ui::Point(50, 16), "\x96 Prev"); infoLabel = new ui::Label(ui::Point(51, YRES+MENUSIZE-18), ui::Point(XRES+BARSIZE-102, 16), "Loading..."); tagsLabel = new ui::Label(ui::Point(51, YRES+MENUSIZE-18), ui::Point(XRES+BARSIZE-102, 16), "\boPopular Tags:"); - motdLabel = new ui::Label(ui::Point(51, YRES+MENUSIZE-18), ui::Point(XRES+BARSIZE-102, 16), Client::Ref().GetMessageOfTheDay()); + motdLabel = new ui::RichLabel(ui::Point(51, YRES+MENUSIZE-18), ui::Point(XRES+BARSIZE-102, 16), Client::Ref().GetMessageOfTheDay()); class SearchAction : public ui::TextboxAction { |
