fixed BWindow::MoveXX(), BWindow::ResizeXX() and BView::ConvertToScreen()

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12491 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2005-04-28 12:31:25 +00:00
parent 8f6b562ad5
commit 9715a3e1bf
4 changed files with 66 additions and 46 deletions
+2 -1
View File
@@ -309,7 +309,7 @@ void WinBorder::Draw(const BRect &r)
//! Moves the winborder with redraw
void WinBorder::MoveBy(float x, float y)
{
STRACE(("WinBorder(%s)::MoveBy()\n", GetName()));
STRACE(("WinBorder(%s)::MoveBy(%.1f, %.1f) fDecorator: %p\n", GetName(), x, y, fDecorator));
if(fDecorator)
fDecorator->MoveBy(x,y);
@@ -320,6 +320,7 @@ void WinBorder::MoveBy(float x, float y)
void WinBorder::ResizeBy(float x, float y)
{
// TODO: account for size limits
// NOTE: size limits are also regarded in BWindow::ResizeXX()
STRACE(("WinBorder(%s)::ResizeBy()\n", GetName()));
if(fDecorator)