AppServer.cpp: removed a memory leak from new_decorator
decorators now set appropriate fonts for their context WinBorder: tweaked some debug output settings Layer: tweaked some debug output settings PicturePlayer: added some tentative code and notes for escapements in DrawString case for player CursorManager: update to resemble OT style RootLayer: removed testing-purposes-only Draw() function Implemented methods to read in workspace data Workspace: Janitorial work Added methods for packing and unpacking settings Added some members for holding basic settings Desktop: Moved workspace data functions to RootLayer Other files: Janitorial work git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8172 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -350,15 +350,17 @@ void WinBorder::MouseUp(PortMessage *msg)
|
||||
|
||||
void WinBorder::HighlightDecorator(const bool &active)
|
||||
{
|
||||
printf("Decorator->Highlight\n");
|
||||
STRACE(("Decorator->Highlight\n"));
|
||||
fDecorator->SetFocus(active);
|
||||
}
|
||||
|
||||
void WinBorder::Draw(const BRect &r)
|
||||
{
|
||||
STRACE(("WinBorder(%s)::Draw()\n", GetName()));
|
||||
printf("WinBorder::DRAW\n");
|
||||
r.PrintToStream();
|
||||
#ifdef DEBUG_WINBORDER
|
||||
printf("WinBorder(%s)::Draw() : ", GetName()));
|
||||
r.PrintToStream();
|
||||
#endif
|
||||
|
||||
// if we have a visible region, it is decorator's one.
|
||||
if(fDecorator)
|
||||
{
|
||||
@@ -371,10 +373,11 @@ r.PrintToStream();
|
||||
*/
|
||||
fDecorator->Draw(fUpdateReg.Frame());
|
||||
}
|
||||
|
||||
// clear background, *only IF* our view color is different to B_TRANSPARENT_COLOR!
|
||||
// TODO: DO That!
|
||||
// TODO: UNcomment!!!
|
||||
// TODO !!! UPDATE code !!!
|
||||
// TODO: UNcomment
|
||||
// TODO: UPDATE code
|
||||
/*
|
||||
BMessage msg;
|
||||
msg.what = _UPDATE_;
|
||||
|
||||
Reference in New Issue
Block a user