Thanks to Axel's change, now we can pass the app_server's colormap to libbe. Methods like BScreen::ColorMap() and BScreen::ColorForIndex() work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13023 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1769,10 +1769,7 @@ printf("ServerApp %s: AS_SCREEN_GET_MODE\n", fSignature.String());
|
||||
link.Read<screen_id>(&id);
|
||||
|
||||
fLink.StartMessage(SERVER_TRUE);
|
||||
|
||||
// TODO: this doesn't seem to work.
|
||||
//See also comment in BPrivateScreen::BPrivateScreen()
|
||||
//fLink.Attach<color_map>(*SystemColorMap());
|
||||
fLink.Attach<color_map>(*SystemColorMap());
|
||||
fLink.Flush();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user