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
+1
View File
@@ -131,6 +131,7 @@ AS_SET_SYSFONT_FIXED,
// Screen methods
AS_SCREEN_GET_MODE,
AS_SCREEN_SET_MODE,
AS_SCREEN_GET_COLORMAP,
// Global function call defs
AS_SET_UI_COLORS,
+3 -2
View File
@@ -30,7 +30,8 @@
#include <GraphicsDefs.h>
void GenerateSystemPalette(rgb_color *palette);
extern const rgb_color system_palette[];
extern void InitializeColorMap();
extern const rgb_color *SystemPalette();
extern const color_map *SystemColorMap();
#endif