1*16ed1e1dSAxel Dörfler //------------------------------------------------------------------------------ 2*16ed1e1dSAxel Dörfler // Copyright (c) 2001-2002, Haiku, Inc. 3*16ed1e1dSAxel Dörfler // 4*16ed1e1dSAxel Dörfler // Permission is hereby granted, free of charge, to any person obtaining a 5*16ed1e1dSAxel Dörfler // copy of this software and associated documentation files (the "Software"), 6*16ed1e1dSAxel Dörfler // to deal in the Software without restriction, including without limitation 7*16ed1e1dSAxel Dörfler // the rights to use, copy, modify, merge, publish, distribute, sublicense, 8*16ed1e1dSAxel Dörfler // and/or sell copies of the Software, and to permit persons to whom the 9*16ed1e1dSAxel Dörfler // Software is furnished to do so, subject to the following conditions: 10*16ed1e1dSAxel Dörfler // 11*16ed1e1dSAxel Dörfler // The above copyright notice and this permission notice shall be included in 12*16ed1e1dSAxel Dörfler // all copies or substantial portions of the Software. 13*16ed1e1dSAxel Dörfler // 14*16ed1e1dSAxel Dörfler // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15*16ed1e1dSAxel Dörfler // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16*16ed1e1dSAxel Dörfler // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17*16ed1e1dSAxel Dörfler // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18*16ed1e1dSAxel Dörfler // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19*16ed1e1dSAxel Dörfler // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20*16ed1e1dSAxel Dörfler // DEALINGS IN THE SOFTWARE. 21*16ed1e1dSAxel Dörfler // 22*16ed1e1dSAxel Dörfler // File Name: SystemPalette.h 23*16ed1e1dSAxel Dörfler // Author: DarkWyrm <bpmagic@columbus.rr.com> 24*16ed1e1dSAxel Dörfler // Description: One global function to generate the palette which is 25*16ed1e1dSAxel Dörfler // the default BeOS System palette and the variable to go with it 26*16ed1e1dSAxel Dörfler // 27*16ed1e1dSAxel Dörfler //------------------------------------------------------------------------------ 28*16ed1e1dSAxel Dörfler #ifndef _SYSTEM_PALETTE_H_ 29*16ed1e1dSAxel Dörfler #define _SYSTEM_PALETTE_H_ 30*16ed1e1dSAxel Dörfler 31*16ed1e1dSAxel Dörfler #include <GraphicsDefs.h> 32*16ed1e1dSAxel Dörfler 33*16ed1e1dSAxel Dörfler extern void InitializeColorMap(); 34*16ed1e1dSAxel Dörfler extern const rgb_color *SystemPalette(); 35*16ed1e1dSAxel Dörfler extern const color_map *SystemColorMap(); 36*16ed1e1dSAxel Dörfler 37*16ed1e1dSAxel Dörfler #endif 38