#include <style.hh>
Public Member Functions | |
| ColorAttrs (int color) | |
| int | getColor () |
| bool | equals (lout::object::Object *other) |
| Returns, whether two objects are equal. | |
| int | hashValue () |
| Return a hash value for the object. | |
Protected Attributes | |
| int | color |
| dw::core::style::ColorAttrs::ColorAttrs | ( | int | color | ) | [inline] |
Referenced by dw::fltk::FltkColor::create().
| bool dw::core::style::ColorAttrs::equals | ( | lout::object::Object * | other | ) | [virtual] |
Returns, whether two objects are equal.
The caller should ensure, that this and the object have the same class; this makes casting of "other" safe. Typically, an implementation should check this == other first, the caller can assume a fast implementation.
Reimplemented from lout::object::Object.
References color.
| int dw::core::style::ColorAttrs::getColor | ( | ) | [inline] |
References color.
| int dw::core::style::ColorAttrs::hashValue | ( | ) | [virtual] |
int dw::core::style::ColorAttrs::color [protected] |
Referenced by dw::fltk::FltkColor::create(), equals(), getColor(), and hashValue().
1.5.9