Same as before. Some code for window selection/moving with the mouse.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8131 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2004-06-22 21:43:24 +00:00
parent a667ca3cde
commit a635ede332
3 changed files with 56 additions and 43 deletions
+3 -1
View File
@@ -350,13 +350,15 @@ void WinBorder::MouseUp(PortMessage *msg)
void WinBorder::HighlightDecorator(const bool &active)
{
printf("Decorator->Highlight\n");
fDecorator->SetFocus(active);
}
void WinBorder::Draw(const BRect &r)
{
STRACE(("WinBorder(%s)::Draw()\n", GetName()));
printf("WinBorder::DRAW\n");
r.PrintToStream();
// if we have a visible region, it is decorator's one.
if(fDecorator)
{