Background.h

Go to the documentation of this file.
00001 /*
00002 Open Tracker License
00003 
00004 Terms and Conditions
00005 
00006 Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
00007 
00008 Permission is hereby granted, free of charge, to any person obtaining a copy of
00009 this software and associated documentation files (the "Software"), to deal in
00010 the Software without restriction, including without limitation the rights to
00011 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
00012 of the Software, and to permit persons to whom the Software is furnished to do
00013 so, subject to the following conditions:
00014 
00015 The above copyright notice and this permission notice applies to all licensees
00016 and shall be included in all copies or substantial portions of the Software.
00017 
00018 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00019 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF TITLE, MERCHANTABILITY,
00020 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
00021 BE INCORPORATED BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00022 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION
00023 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00024 
00025 Except as contained in this notice, the name of Be Incorporated shall not be
00026 used in advertising or otherwise to promote the sale, use or other dealings in
00027 this Software without prior written authorization from Be Incorporated.
00028 
00029 Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks
00030 of Be Incorporated in the United States and other countries. Other brand product
00031 names are registered trademarks or trademarks of their respective holders.
00032 All rights reserved.
00033 */
00034 
00035 #ifndef _TRACKER_BACKGROUND_H
00036 #define _TRACKER_BACKGROUND_H
00037 
00038 #include <SupportDefs.h>
00039 
00040 /*----------------------------------------------------------------*/
00041 /*-----  Tracker background attribute name  ----------------------*/
00042 
00043 #define B_BACKGROUND_INFO       "be:bgndimginfo"
00044 
00045 /*----------------------------------------------------------------*/
00046 /*-----  Tracker background BMessage entries  --------------------*/
00047 
00048 #define B_BACKGROUND_IMAGE      "be:bgndimginfopath"        // string path
00049 #define B_BACKGROUND_MODE       "be:bgndimginfomode"        // int32, the enum below
00050 #define B_BACKGROUND_ORIGIN     "be:bgndimginfooffset"      // BPoint
00051 #define B_BACKGROUND_ERASE_TEXT "be:bgndimginfoerasetext"   // bool
00052 #define B_BACKGROUND_WORKSPACES "be:bgndimginfoworkspaces"  // uint32
00053 
00054 /*----------------------------------------------------------------*/
00055 /*-----  Background mode values  ---------------------------------*/
00056 
00057 enum {
00058     B_BACKGROUND_MODE_USE_ORIGIN,
00059     B_BACKGROUND_MODE_CENTERED,     // only works on Desktop
00060     B_BACKGROUND_MODE_SCALED,       // only works on Desktop
00061     B_BACKGROUND_MODE_TILED
00062 };
00063 
00064 /*----------------------------------------------------------------*/
00065 /*----------------------------------------------------------------*/
00066 
00067 const int32 B_RESTORE_BACKGROUND_IMAGE = 'Tbgr';    // force a Tracker window to
00068                                                     // use a new background image
00069 
00070 #endif /* _TRACKER_BACKGROUND_H */

Copyright 2005 by yellowTAB GmbH, Be Inc., Palm Source Inc. and their respective legal successors
All rights reserved.