From 8d9b9d333aeee6dfc869a896b4a8e1d69bcd12b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 31 Jul 2007 15:04:26 +0000 Subject: [PATCH] Renovated the about window a bit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21763 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mail/Mail.cpp | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/apps/mail/Mail.cpp b/src/apps/mail/Mail.cpp index 9171b52e55..880f804f68 100644 --- a/src/apps/mail/Mail.cpp +++ b/src/apps/mail/Mail.cpp @@ -46,16 +46,17 @@ All rights reserved. #include #include +#include #include +#include #include #include #include #include #include #include +#include #include -#include -#include #include #include @@ -291,11 +292,21 @@ TMailApp::~TMailApp() void TMailApp::AboutRequested() { - (new BAlert("", - "Mail\nBy Robert Polic\n\n" - "Enhanced by Axel Dörfler and the Dr. Zoidberg crew\n\n" - "Compiled on " __DATE__ " at " __TIME__ ".", - "OK"))->Go(); + BAlert *alert = new BAlert("about", "Mail\n\n" + "written by Robert Polic\n" + "enhanced by the Dr. Zoidberg crew\n\n" + "Copyright 2007, Haiku.\n", "Ok"); + BTextView *view = alert->TextView(); + BFont font; + + view->SetStylable(true); + + view->GetFont(&font); + font.SetSize(font.Size() + 7.0f); + font.SetFace(B_BOLD_FACE); + view->SetFontAndColor(0, 4, &font); + + alert->Go(); }