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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user