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