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:
@@ -821,7 +821,6 @@ Decorator *new_decorator(BRect rect, const char *title, int32 wlook, int32 wfeel
|
||||
{
|
||||
Decorator *dec=NULL;
|
||||
|
||||
dec=new DefaultDecorator(rect,wlook,wfeel,wflags);
|
||||
if(!app_server->make_decorator)
|
||||
dec=new DefaultDecorator(rect,wlook,wfeel,wflags);
|
||||
else
|
||||
@@ -830,7 +829,6 @@ Decorator *new_decorator(BRect rect, const char *title, int32 wlook, int32 wfeel
|
||||
gui_colorset.Lock();
|
||||
dec->SetDriver(ddriver);
|
||||
dec->SetColors(gui_colorset);
|
||||
dec->SetFont(fontserver->GetSystemPlain());
|
||||
dec->SetTitle(title);
|
||||
gui_colorset.Unlock();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user