home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / lib / mac / UserInterface / UStdBevels.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.7 KB  |  59 lines

  1. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. #pragma once
  20.  
  21. #include <PP_Prefix.h>
  22.  
  23. #if defined(powerc) || defined(__powerc)
  24. #pragma options align=mac68k
  25. #endif
  26.  
  27. typedef struct SBevelColorDesc {
  28.     Int16        frameColor;
  29.     Int16        fillColor;
  30.     Int16        topBevelColor;
  31.     Int16        bottomBevelColor;
  32. } SBevelColorDesc, *SBevelColorDescPtr, **SBevelColorDescHdl;
  33.  
  34. #if defined(powerc) || defined(__powerc)
  35. #pragma options align=reset
  36. #endif
  37.  
  38. //
  39. // NOTE: White and Black must be the first two entries!
  40. //
  41. enum {                        // R == G == B
  42.     eStdGrayWhite = 0,        //    65535            15
  43.     eStdGrayBlack,            //    0                0
  44.     eStdGray93,                //    61166            14
  45.     eStdGray86,                //    56797            13
  46.     eStdGray80,                //    52428            12
  47.     eStdGray73,                //    48059            11
  48.     eStdGray66,                //    43690            10
  49.     eStdGray60,                //    39321            9
  50.     eStdGray53,                //    34952            8
  51.     eStdGray46,                //    30583            7
  52.     eStdGray40,                //    26214            6
  53.     eStdGray33,                //    21845            5
  54.     eStdGray26,                //    17476            4
  55.     eStdGray20,                //    13107            3
  56.     eStdGray13,                //    8738            2
  57.     eStdGray6                //    4369            1
  58. };
  59.