Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

VColor Class Reference

Editable color class. More...

#include <Color.h>

Inheritance diagram for VColor:

VAbstractEditable List of all members.

Public Methods

 VColor (COLORREF c)
 VColor (int red, int green, int blue)
 VColor ()
 operator COLORREF ()
int GetRed () const
int GetGreen () const
int GetBlue () const
bool IsOpaque () const
void SetOpaque (bool bOpaque)
void SetRed (int value)
void SetGreen (int value)
void SetBlue (int value)
VAbstractEditorCreateEditor ()
 Returns an editor that can allow the user to manipulate this object.

Operator overloads
VColor operator- () const
VColor operator+ (VColor addme) const
VColor operator- (VColor addme) const
VColor operator * (VColor addme) const
VColor operator/ (VColor addme) const
VColor operator * (int ratio) const
VColor operator/ (int ratio) const
bool operator> (int test) const
bool operator== (int test) const
bool operator< (int test) const

Protected Attributes

int r
int g
int b
bool m_bOpaque

Detailed Description

Editable color class.


The documentation for this class was generated from the following files:
Generated at Wed Aug 29 19:58:56 2001 for Pocket Animator by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001