synfig-core  1.0.3
Public Member Functions | Public Attributes | List of all members
synfig::PaletteItem Struct Reference

#include <palette.h>

Public Member Functions

 PaletteItem ()
 PaletteItem (const Color &color, const String &name, int weight=1)
 PaletteItem (const Color &color, int weight=1)
void add (const Color &x, int weight=1)
bool operator< (const PaletteItem &rhs) const

Public Attributes

Color color
String name
int weight

Constructor & Destructor Documentation

synfig::PaletteItem::PaletteItem ( )
synfig::PaletteItem::PaletteItem ( const Color color,
const String name,
int  weight = 1 
synfig::PaletteItem::PaletteItem ( const Color color,
int  weight = 1 

Member Function Documentation

void PaletteItem::add ( const Color x,
int  weight = 1 

References color, and weight.

bool synfig::PaletteItem::operator< ( const PaletteItem rhs) const

References weight.

Member Data Documentation

Color synfig::PaletteItem::color
String synfig::PaletteItem::name
int synfig::PaletteItem::weight

Referenced by add(), operator<(), and weight_less_than().

The documentation for this struct was generated from the following files: