Janitorial work in DisplayDriver.h

Added a #define to ServerConfig for workspace data file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8171 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2004-06-26 02:13:58 +00:00
parent a8441c4fd2
commit 557b47b2d0
2 changed files with 5 additions and 1 deletions

View File

@ -129,7 +129,8 @@ public:
~FBBitmap(void) { }
void SetBytesPerRow(const int32 &bpr) { _bytesperrow=bpr; }
void SetSpace(const color_space &space) { _space=space; }
//!!! WARNING !!! - for some reason ServerBitmap adds 1 to the width and height. We do that also.
// WARNING: - for some reason ServerBitmap adds 1 to the width and height. We do that also.
void SetSize(const int32 &w, const int32 &h) { _width=w+1; _height=h+1; }
void SetBuffer(void *ptr) { _buffer=(uint8*)ptr; }
void SetBitsPerPixel(color_space space,int32 bytesperline) { _HandleSpace(space,bytesperline); }

View File

@ -54,6 +54,9 @@
// by the various font functions.
#define SERVER_FONT_LIST "/boot/home/config/settings/app_server/fontlist"
// Flattened list of BMessages containing data for each workspace
#define WORKSPACE_DATA_LIST "/boot/home/config/settings/app_server/workspace_settings"
// folder used to keep saved color sets for the UI - tab color, etc.
#define COLOR_SET_DIR "/boot/home/config/settings/color_sets/"