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 ( )
inline
synfig::PaletteItem::PaletteItem ( const Color color,
const String name,
int  weight = 1 
)
inline
synfig::PaletteItem::PaletteItem ( const Color color,
int  weight = 1 
)
inline

Member Function Documentation

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

References color, and weight.

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

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: