BaseColor Class Reference

Base class for color and texture pots stored in palettes. More...

Public Slots

void setName (String &n)
 

Properties

bool isTexture
 If true, the color pot is a texture. More...
 
String name
 The color pot name. More...
 
String id
 Unique ID of the color. More...
 
bool isValid
 Returns true if the color is valid. More...
 

Detailed Description

Base class for color and texture pots stored in palettes.

Also see Palette.

Member Function Documentation

◆ setName

void BaseColor::setName ( String &  n)
slot

Property Documentation

◆ id

String BaseColor::id
read

Unique ID of the color.

◆ isTexture

bool BaseColor::isTexture
read

If true, the color pot is a texture.

◆ isValid

bool BaseColor::isValid
read

Returns true if the color is valid.

◆ name

String BaseColor::name
read

The color pot name.