Renovated the about window a bit.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21763 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-07-31 15:04:26 +00:00
parent d7b25be846
commit 8d9b9d333a

View File

@ -46,16 +46,17 @@ All rights reserved.
#include <sys/stat.h>
#include <sys/utsname.h>
#include <Autolock.h>
#include <Clipboard.h>
#include <Debug.h>
#include <E-mail.h>
#include <InterfaceKit.h>
#include <Roster.h>
#include <Screen.h>
#include <StorageKit.h>
#include <String.h>
#include <TextView.h>
#include <UTF8.h>
#include <Debug.h>
#include <Autolock.h>
#include <fs_index.h>
#include <fs_info.h>
@ -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();
}