LLOOP Index | GSP Language | GSP Library | Framework Classes | Component Classes

CPaletteColor.h

This is the verbatim text of the file "CPaletteColor.h" part of the LLOOP package. The copyright remains with Michel MEHL. All rights reserved.


class CPaletteColor
{
  public:

   CPaletteColor(int r, int g, int b) 
      : m_iRed(r), m_iGreen(g), m_iBlue(b)
   {
   } 

   int red() const { return m_iRed;}
   int green() const { return m_iGreen;}
   int blue() const { return m_iBlue;}

  protected:

    int m_iRed;   // red color
    int m_iGreen; // green color
    int m_iBlue;  // blue color
};

This file is part of the LLOOP Reversible Object-Oriented Parser Generator. Copyright (c) 2005-2006 Michel MEHL, France. All rights reserved. LLOOP is distributed by the company ERSA SaRL.


Copyright (c) 2005-2006 Michel MEHL, Haguenau, France
LLOOP version 1.1