Finished up ServerApp

Implemented most of and documented all of ServerWindow
Miscellaneous necessary tweaks to other classes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2833 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2003-02-24 15:47:06 +00:00
parent 364bb57e76
commit e8cde26567
14 changed files with 496 additions and 289 deletions
+12
View File
@@ -131,6 +131,7 @@ void InitDesktop(void)
{
s->Activate();
desktop_private::activescreen=s;
s->SetSpace(0,B_32_BIT_640x480,true);
}
}
@@ -247,6 +248,17 @@ int32 CurrentWorkspace(void)
return 0;
}
/*!
\brief Returns the workspace object for the active screen at the given index
*/
Workspace *WorkspaceAt(int32 index)
{
if(desktop_private::activescreen)
return desktop_private::activescreen->GetWorkspace(index);
return NULL;
}
/*!
\brief Sets the active workspace
\param workspace Index of the workspace to activate