A better for the leaf logo bitmap.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41098 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström
2011-03-24 22:43:48 +00:00
parent b2290dd804
commit 9e8a970bd5
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ TBarMenuBar::TBarMenuBar(TBarView* bar, BRect frame, const char* name)
TBarWindow::SetBeMenu(beMenu);
fBeMenuItem = new TBarMenuTitle(frame.Width(), frame.Height(),
AppResSet()->FindBitmap(B_MESSAGE_TYPE, R_BeLogoIcon), beMenu);
AppResSet()->FindBitmap(B_MESSAGE_TYPE, R_LeafLogoBitmap), beMenu);
AddItem(fBeMenuItem);
}
+1 -1
View File
@@ -116,7 +116,7 @@ TExpandoMenuBar::AttachedToWindow()
TBeMenu* beMenu = new TBeMenu(fBarView);
TBarWindow::SetBeMenu(beMenu);
const BBitmap* logoBitmap = AppResSet()->FindBitmap(B_MESSAGE_TYPE,
R_BeLogoIcon);
R_LeafLogoBitmap);
if (logoBitmap != NULL)
fBeMenuWidth = logoBitmap->Bounds().Width() + 16;
fBeMenuItem = new TBarMenuTitle(fBeMenuWidth, Frame().Height(),
+1 -1
View File
@@ -138,7 +138,7 @@ TReplicantTray::TReplicantTray(TBarView* parent, bool vertical)
{
// init the minimum window width according to the logo.
const BBitmap* logoBitmap = AppResSet()->FindBitmap(B_MESSAGE_TYPE,
R_BeLogoIcon);
R_LeafLogoBitmap);
if (logoBitmap != NULL) {
sMinimumWindowWidth = max_c(sMinimumWindowWidth,
2 * (logoBitmap->Bounds().Width() + 8));
+1 -1
View File
@@ -1,5 +1,5 @@
resource(14, "kBeLogoBits") archive BBitmap
resource(14, "kLeafLogoBitmap") archive BBitmap
{
"_frame" = rect { 0.0, 0.0, 62.0, 21.0 },
"_cspace" = 8200,
+1 -1
View File
@@ -1,3 +1,3 @@
enum {
R_BeLogoIcon = 14
R_LeafLogoBitmap = 14
};