Dillo v3.1.1-46-g8a360e32
|
#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. | |
![]() | |
virtual | ~Object () |
The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. | |
virtual Object * | clone () |
Return an exact copy of the object. | |
virtual void | intoStringBuffer (misc::StringBuffer *sb) |
Store a textual representation of the object in a misc::StringBuffer. | |
const char * | toString () |
Use object::Object::intoStringBuffer to return a textual representation of the object. | |
virtual size_t | sizeOf () |
Return the number of bytes, this object totally uses. | |
Protected Attributes | |
int | color |
|
inline |
Definition at line 736 of file style.hh.
References color.
Referenced by dw::fltk::FltkColor::create().
|
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.
Definition at line 456 of file style.cc.
References color.
|
inline |
Definition at line 741 of file style.hh.
References color.
Referenced by a_Html_image_new(), a_Web_dispatch_by_type(), Html_tag_open_body(), and dw::core::Widget::setStyle().
|
virtual |
Return a hash value for the object.
Reimplemented from lout::object::Object.
Definition at line 462 of file style.cc.
References color.
|
protected |
Definition at line 733 of file style.hh.
Referenced by ColorAttrs(), dw::fltk::FltkColor::create(), equals(), dw::fltk::FltkColor::FltkColor(), getColor(), hashValue(), dw::core::style::Color::shadeColor(), and dw::core::style::Color::shadeColor().