|
NAMESDLmm::ColorRGB - A small usefull class representing an RGB color.SYNOPSIS#include <sdlmm_color.h> Inherited by SDLmm::ColorRGBA. Public MethodsColorRGB () Default constructor which creates an empty ColorRGB (rgb variables set to zero). ColorRGB (const ColorRGB &color) This is the copy constructor. Simply initializes the value of an ColorRGB to that of another ColorRGB. ColorRGB (Uint8 nr, Uint8 ng, Uint8 nb) Constructor which initializes the class from integer values. ColorRGB& operator= (const ColorRGB &color) Set the value of an ColorRGB to that of an existing ColorRGB. bool operator== (const ColorRGB &color) const Compare two colors for equality. Public AttributesUint8 r Uint8 g Uint8 b DETAILED DESCRIPTIONA small usefull class representing an RGB color.Author:
CONSTRUCTOR & DESTRUCTOR DOCUMENTATIONSDLmm::ColorRGB::ColorRGB () [inline]Default constructor which creates an empty ColorRGB (rgb variables set to zero).SDLmm::ColorRGB::ColorRGB (const ColorRGB & color) [inline]This is the copy constructor. Simply initializes the value of an ColorRGB to that of another ColorRGB.Parameters:
SDLmm::ColorRGB::ColorRGB (Uint8 nr, Uint8 ng, Uint8 nb) [inline]Constructor which initializes the class from integer values.Parameters:
MEMBER FUNCTION DOCUMENTATIONColorRGB & SDLmm::ColorRGB::operator= (const ColorRGB & color) [inline]Set the value of an ColorRGB to that of an existing ColorRGB.bool SDLmm::ColorRGB::operator== (const ColorRGB & color) const [inline]Compare two colors for equality.Returns:
MEMBER DATA DOCUMENTATIONUint8 SDLmm::ColorRGB::bUint8 SDLmm::ColorRGB::gUint8 SDLmm::ColorRGB::rAUTHORGenerated automatically by Doxygen for SDLmm from the source code.
Visit the GSP FreeBSD Man Page Interface. |