Added an app server command to retrieve the color map. Made some adjustments to SystemPalette.cpp, implemented support for it in BPrivateScreen. Moved get_scs() a bit down to avoid a deadlock. Note that getting the colormap doesn't work due to port capacity limit (?)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12996 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2005-06-07 21:32:24 +00:00
parent 62fbf00df8
commit 7475dcdf3a
8 changed files with 94 additions and 29 deletions
+4
View File
@@ -48,6 +48,7 @@
#include "ServerCursor.h"
#include "ServerProtocol.h"
#include "ServerWindow.h"
#include "SystemPalette.h"
#include "Utils.h"
#include "AppServer.h"
@@ -182,6 +183,9 @@ AppServer::AppServer(void) :
gDesktop = new Desktop();
gDesktop->Init();
// TODO: Maybe this is not the best place for this
InitializeColorMap();
// Create the bitmap allocator. Object declared in BitmapManager.cpp
bitmapmanager = new BitmapManager();