OWLNext    7.0
Borland's Object Windows Library for the modern age
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
color.cpp File Reference

Implementation of color classes. More...

#include <owl/pch.h>
#include <owl/defs.h>
#include <owl/color.h>
#include <owl/system.h>

Go to the source code of this file.

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Macros

#define COLOR_3DDKSHADOW   21
 
#define COLOR_3DLIGHT   22
 
#define COLOR_INFOTEXT   23
 
#define COLOR_INFOBK   24
 
#define Symbolic   0x80000000UL
 

Functions

long owl::NColors (uint16 bitCount)
 Functions to convert number of bits to number of palette colors and back, and build an RGB COLORREF.
 
uint16 owl::NBits (long colors)
 Return the number of bits required to represent a given number of colors.
 

Detailed Description

Implementation of color classes.

Definition in file color.cpp.

Macro Definition Documentation

◆ COLOR_3DDKSHADOW

#define COLOR_3DDKSHADOW   21

Definition at line 34 of file color.cpp.

◆ COLOR_3DLIGHT

#define COLOR_3DLIGHT   22

Definition at line 37 of file color.cpp.

◆ COLOR_INFOBK

#define COLOR_INFOBK   24

Definition at line 43 of file color.cpp.

◆ COLOR_INFOTEXT

#define COLOR_INFOTEXT   23

Definition at line 40 of file color.cpp.

◆ Symbolic

#define Symbolic   0x80000000UL

Definition at line 67 of file color.cpp.