Dillo
|
#include <style.hh>
Public Types | |
enum | Shading { SHADING_NORMAL, SHADING_INVERSE, SHADING_DARK, SHADING_LIGHT, SHADING_NUM } |
Public Member Functions | |
void | ref () |
void | unref () |
Public Member Functions inherited from dw::core::style::ColorAttrs | |
ColorAttrs (int color) | |
int | getColor () |
bool | equals (lout::object::Object *other) |
Returns, whether two objects are equal. More... | |
int | hashValue () |
Return a hash value for the object. More... | |
Public Member Functions inherited from lout::object::Object | |
virtual | ~Object () |
The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. More... | |
virtual Object * | clone () |
Return an exact copy of the object. More... | |
virtual void | intoStringBuffer (misc::StringBuffer *sb) |
Store a textual representation of the object in a misc::StringBuffer. More... | |
const char * | toString () |
Use object::Object::intoStringBuffer to return a textual representation of the object. More... | |
virtual size_t | sizeOf () |
Return the number of bytes, this object totally uses. More... | |
Static Public Member Functions | |
static Color * | create (Layout *layout, int color) |
Protected Member Functions | |
Color (int color) | |
virtual | ~Color () |
int | shadeColor (int color, Shading shading) |
Private Member Functions | |
void | remove (dw::core::Layout *layout) |
int | shadeColor (int color, int d) |
Private Attributes | |
int | refCount |
Additional Inherited Members | |
Protected Attributes inherited from dw::core::style::ColorAttrs | |
int | color |
|
inlineprotected |
References DBG_OBJ_CREATE.
|
protectedvirtual |
References DBG_OBJ_DELETE.
References dw::core::Layout::createColor().
Referenced by main().
|
inline |
Referenced by dw::core::Layout::setBgColor().
|
private |
|
private |
References lout::misc::max().
Referenced by dw::fltk::FltkColor::FltkColor().
|
protected |
References lout::misc::assertNotReached().
|
inline |
|
private |