![]() |
![]()
| ![]() |
![]()
NAMESDLmm::ColorRGBA - A small usefull class representing an RGBA color. SYNOPSIS#include <sdlmm_color.h> Inherits SDLmm::ColorRGB. Public MethodsColorRGBA ()
Public AttributesUint8 a
DETAILED DESCRIPTIONA small usefull class representing an RGBA color. Author:
CONSTRUCTOR & DESTRUCTOR DOCUMENTATIONSDLmm::ColorRGBA::ColorRGBA () [inline]Default constructor which creates an empty ColorRGBA (rgb variables set to zero). SDLmm::ColorRGBA::ColorRGBA (const ColorRGBA & color) [inline]This is the copy constructor. Simply initializes the value of an ColorRGBA to that of another ColorRGBA. Parameters:
SDLmm::ColorRGBA::ColorRGBA (Uint8 nr, Uint8 ng, Uint8 nb, Uint8 na) [inline]Constructor which initializes the class from integer values. Parameters:
MEMBER FUNCTION DOCUMENTATIONColorRGBA & SDLmm::ColorRGBA::operator= (const ColorRGBA & color) [inline]Set the value of an ColorRGBA to that of an existing ColorRGBA. bool SDLmm::ColorRGBA::operator== (const ColorRGBA & color) const [inline]Compare two colors for equality. Returns:
MEMBER DATA DOCUMENTATIONUint8 SDLmm::ColorRGBA::aAUTHORGenerated automatically by Doxygen for SDLmm from the source code.
|