home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Pier Shareware 6
/
The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso
/
035
/
kwclass.zip
/
KCOLOR.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-18
|
959b
|
26 lines
#ifndef _KCOLOR_
#define _KCOLOR_
/**************************************************************************
* FILE NAME: kcolor.hpp *
* *
* DESCRIPTION: *
* Declaration of the class(es): *
* KwColor - A specialization of IColor that can be constructed from *
* a single unsigned long value. *
* *
**************************************************************************/
class _Export KwColor : public IColor {
public:
KwColor(unsigned long value);
}; // KwColor
inline KwColor::KwColor(unsigned long value)
: IColor(value & 0xFF0000, value & 0xFF00, value & 0xFF)
{
}
#endif