Colorize "BeOS" in the credits, oh, nostalgia... (shouldn't it say "the BeOS" btw?)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41110 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2011-03-26 14:57:03 +00:00
parent 323d7c6a41
commit d05e1481da
+15 -1
View File
@@ -77,6 +77,8 @@ static const rgb_color kHaikuGreen = { 42, 131, 36, 255 };
static const rgb_color kHaikuOrange = { 255, 69, 0, 255 };
static const rgb_color kHaikuYellow = { 255, 176, 0, 255 };
static const rgb_color kLinkBlue = { 80, 80, 200, 255 };
static const rgb_color kBeOSBlue = { 0, 0, 200, 255 };
static const rgb_color kBeOSRed = { 200, 0, 0, 255 };
typedef struct
{
@@ -1187,8 +1189,20 @@ AboutView::_CreateCreditsView()
fCreditsView->Insert(B_TRANSLATE("\n\nSpecial thanks to:\n"));
fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
fCreditsView->Insert(B_TRANSLATE(
BString beosCredits(B_TRANSLATE(
"Be Inc. and its developer team, for having created BeOS!\n\n"));
int32 beosOffset = beosCredits.FindFirst("BeOS");
fCreditsView->Insert(beosCredits.String(),
(beosOffset < 0) ? beosCredits.Length() : beosOffset);
if (beosOffset > -1) {
fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kBeOSBlue);
fCreditsView->Insert("B");
fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kBeOSRed);
fCreditsView->Insert("e");
fCreditsView->SetFontAndColor(be_plain_font, B_FONT_ALL, &kDarkGrey);
beosCredits.Remove(0, beosOffset + 2);
fCreditsView->Insert(beosCredits.String(), beosCredits.Length());
}
fCreditsView->Insert(
B_TRANSLATE("Travis Geiselbrecht (and his NewOS kernel)\n"));
fCreditsView->Insert(