- fixed hardcoded color in Deskbar replicant.

- fixed transparent pixels in the icon. This could make use of an HVIF one :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29927 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2009-04-05 11:02:38 +00:00
parent def8fff107
commit e2238bd923
2 changed files with 13 additions and 11 deletions

View File

@ -40,7 +40,6 @@ MethodReplicant::MethodReplicant(const char* signature)
fSegments = new BBitmap(BRect(0, 0, kRemoteWidth - 1, kRemoteHeight - 1), kRemoteColorSpace);
fSegments->SetBits(kRemoteBits, kRemoteWidth*kRemoteHeight, 0, kRemoteColorSpace);
// Background Color
SetViewColor(184, 184, 184);
//add dragger
BRect rect(Bounds());
@ -108,6 +107,9 @@ void
MethodReplicant::AttachedToWindow()
{
CALLED();
SetViewColor(Parent()->ViewColor());
BMessenger messenger(this);
BMessage msg(IS_METHOD_REGISTER);
msg.AddMessenger("address", messenger);

View File

@ -5,16 +5,16 @@ const color_space kRemoteColorSpace = B_CMAP8;
const unsigned char kRemoteBits [] = {
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0xff,0x00,0x00,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0x00,0xff,0x0b,0xff,0xff,0x18,0x00,0x00,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0x00,0xff,0x0b,0xff,0x0b,0xff,0x0b,0xff,0xff,0x00,0x00,
0xff,0xff,0xff,0xff,0x00,0xff,0x0b,0xff,0x0b,0xff,0x0b,0xff,0xff,0x0a,0x0b,0x00,
0xff,0xff,0xff,0x00,0xff,0x0b,0xff,0x0b,0xff,0x0b,0xff,0xff,0x0a,0x0a,0x00,0x0f,
0xff,0xff,0x00,0xff,0x0b,0xff,0x0b,0xff,0x0b,0xff,0xff,0x0b,0x0a,0x00,0x0f,0x0f,
0xff,0x00,0xff,0x0b,0xff,0x0b,0xff,0x0b,0xff,0xff,0x0b,0x0a,0x00,0x0f,0x0f,0xff,
0x00,0xff,0xff,0xff,0x0a,0x18,0x0b,0xff,0xff,0x0a,0x0b,0x00,0x0f,0x0f,0xff,0xff,
0x00,0x11,0x11,0xff,0xff,0x0b,0xff,0xff,0x0a,0x0a,0x00,0x0f,0x0f,0xff,0xff,0xff,
0x00,0x11,0x11,0x11,0x11,0xff,0xff,0x0b,0x0a,0x00,0x0f,0x0f,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x17,0x17,0x00,0x00,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x17,0x0b,0x17,0x17,0x18,0x00,0x00,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0x00,0x17,0x0b,0x17,0x0b,0x17,0x0b,0x17,0x17,0x00,0x00,
0xff,0xff,0xff,0xff,0x00,0x17,0x0b,0x17,0x0b,0x17,0x0b,0x17,0x17,0x0a,0x0b,0x00,
0xff,0xff,0xff,0x00,0x17,0x0b,0x17,0x0b,0x17,0x0b,0x17,0x17,0x0a,0x0a,0x00,0x0f,
0xff,0xff,0x00,0x17,0x0b,0x17,0x0b,0x17,0x0b,0x17,0x17,0x0b,0x0a,0x00,0x0f,0x0f,
0xff,0x00,0x17,0x0b,0x17,0x0b,0x17,0x0b,0x17,0x17,0x0b,0x0a,0x00,0x0f,0x0f,0xff,
0x00,0x17,0x17,0x17,0x0a,0x18,0x0b,0x17,0x17,0x0a,0x0b,0x00,0x0f,0x0f,0xff,0xff,
0x00,0x11,0x11,0x17,0x17,0x0b,0x17,0x17,0x0a,0x0a,0x00,0x0f,0x0f,0xff,0xff,0xff,
0x00,0x11,0x11,0x11,0x11,0x17,0x17,0x0b,0x0a,0x00,0x0f,0x0f,0xff,0xff,0xff,0xff,
0xff,0x00,0x00,0x11,0x11,0x11,0x0b,0x0b,0x00,0x0f,0x0f,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0x00,0x00,0x11,0x0b,0x00,0x0f,0x0f,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x0f,0x0f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,