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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -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,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,3 +1,3 @@
|
||||
enum {
|
||||
R_BeLogoIcon = 14
|
||||
R_LeafLogoBitmap = 14
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user