From 5bac5044b7bded427e8686a073428900657da83b Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Mon, 6 Dec 2004 12:37:11 +0000 Subject: [PATCH] Fixed warnings and added a comment git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10360 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/GraphicsDefs.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/kits/interface/GraphicsDefs.cpp b/src/kits/interface/GraphicsDefs.cpp index 4095892d05..7278e3fa05 100644 --- a/src/kits/interface/GraphicsDefs.cpp +++ b/src/kits/interface/GraphicsDefs.cpp @@ -50,15 +50,22 @@ const struct screen_id B_MAIN_SCREEN_ID = {0}; // GraphicsDefs.h +// Note: one would think that these functions need to query the app server to retrieve +// the needed values, since this kind of stuff is kept server side. Well, a quick +// examination of the asm dump showed that it's not the case, at least on BeOS R5. +// libbe probably keeps some global struct which is updated when the resolution changes. + _IMPEXP_BE status_t -get_pixel_size_for(color_space space, size_t * pixel_chunk, size_t * row_alignment, size_t * pixels_per_chunk) +get_pixel_size_for(color_space space, size_t *pixelChunk, size_t *rowAlignment, size_t *pixelsPerChunk) { // TODO: Implement + return B_ERROR; } _IMPEXP_BE bool -bitmaps_support_space(color_space space, uint32 * support_flags) +bitmaps_support_space(color_space space, uint32 *supportFlags) { // TODO: Implement + return false; }