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