small fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16471 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5f71cfd4bc
commit
10493d109c
@ -67,7 +67,7 @@ ReplaceTransparentColor(BBitmap *bitmap, rgb_color with)
|
||||
ASSERT(bitmap->ColorSpace() == B_COLOR_8_BIT); // other color spaces not implemented yet
|
||||
|
||||
BScreen screen(B_MAIN_SCREEN_ID);
|
||||
uint32 withIndex = screen.IndexForColor(with);
|
||||
uint8 withIndex = screen.IndexForColor(with);
|
||||
|
||||
uchar *bits = (uchar *)bitmap->Bits();
|
||||
int32 bitsLength = bitmap->BitsLength();
|
||||
|
@ -454,7 +454,7 @@ RecorderWindow::InitWindow()
|
||||
r.right -= 70;
|
||||
msg = new BMessage(LENGTH_CHANGED);
|
||||
fLengthControl = new BTextControl(r, "Length", "Length:", "8", msg);
|
||||
fLengthControl->SetDivider(60);
|
||||
fLengthControl->SetDivider(fLengthControl->StringWidth("Length:") + 4.0f);
|
||||
fLengthControl->SetAlignment(B_ALIGN_CENTER, B_ALIGN_RIGHT);
|
||||
fBottomBox->AddChild(fLengthControl);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user