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:
@@ -199,8 +199,8 @@ void Desktop::SetActiveRootLayer(RootLayer* rl)
|
||||
|
||||
fActiveRootLayer = rl;
|
||||
|
||||
// TODO: fix!!!!!!!!!!!!!!!!!!!!!!!! or not?
|
||||
// also set the new front and focus
|
||||
// TODO: fix... or not?
|
||||
// also set the new front and focus
|
||||
// SetFrontWinBorder(fActiveRootLayer->ActiveWorkspace()->FrontLayer());
|
||||
// SetFocusWinBorder(fActiveRootLayer->ActiveWorkspace()->FocusLayer());
|
||||
|
||||
@@ -362,7 +362,7 @@ WinBorder* Desktop::FocusWinBorder(void) const
|
||||
//---------------------------------------------------------------------------
|
||||
void Desktop::MouseEventHandler(PortMessage *msg)
|
||||
{
|
||||
// TODO: locking mechanism needs SERIOUS rethought!!!!
|
||||
// TODO: locking mechanism needs SERIOUS rethought
|
||||
switch(msg->Code())
|
||||
{
|
||||
case B_MOUSE_DOWN:
|
||||
@@ -420,7 +420,7 @@ void Desktop::MouseEventHandler(PortMessage *msg)
|
||||
invalidRegion.Include(&(activeFocus->fFull));
|
||||
invalidRegion.Include(&(activeFocus->fTopLayer->fFull));
|
||||
activeFocus->fParent->FullInvalidate(invalidRegion);
|
||||
// TODO: this is a hack!!! Should be something like this:
|
||||
// TODO: this is a hack! Should be something like this:
|
||||
// void Layer::RebuildAndForceRedraw(invalidReg, target){
|
||||
// BPoint pt(0,0);
|
||||
// StartRebuildRegions(invalidRegion, NULL, B_LAYER_NONE, pt);
|
||||
@@ -875,19 +875,6 @@ mode_mouse Desktop::FFMouseMode(void) const
|
||||
return fMouseMode;
|
||||
}
|
||||
|
||||
bool Desktop::ReadWorkspaceData(void)
|
||||
{
|
||||
// TODO: implement
|
||||
STRACE(("Desktop::ReadWorkspaceData unimplemented\n"));
|
||||
return true;
|
||||
}
|
||||
|
||||
void Desktop::SaveWorkspaceData(void)
|
||||
{
|
||||
// TODO: implement
|
||||
STRACE(("Desktop::ReadWorkspaceData unimplemented\n"));
|
||||
}
|
||||
|
||||
void Desktop::RemoveSubsetWindow(WinBorder* wb)
|
||||
{
|
||||
WinBorder *winBorder = NULL;
|
||||
|
||||
Reference in New Issue
Block a user