|
Dillo v3.2.0-151-g90488cbf
|
#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. | |
| int | hashValue () |
| Return a hash value for the object. | |
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. | |
| 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. | |
| 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. | |
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 |
Definition at line 762 of file style.hh.
References DBG_OBJ_CREATE, and refCount.
|
protectedvirtual |
Definition at line 466 of file style.cc.
References DBG_OBJ_DELETE.
Definition at line 528 of file style.cc.
References layout.
Referenced by a_Web_dispatch_by_type(), StyleEngine::apply(), dw::Textblock::changeLinkColor(), main(), StyleEngine::StyleEngine(), and UIcmd_tab_new().
|
inline |
Definition at line 778 of file style.hh.
References refCount.
Referenced by dw::core::Layout::setBgColor(), and dw::core::style::Style::Style().
|
private |
|
private |
Definition at line 471 of file style.cc.
References dw::core::style::ColorAttrs::color, and lout::misc::max().
Referenced by dw::fltk::FltkColor::FltkColor(), and shadeColor().
|
protected |
Definition at line 505 of file style.cc.
References lout::misc::assertNotReached(), dw::core::style::ColorAttrs::color, shadeColor(), SHADING_DARK, SHADING_INVERSE, SHADING_LIGHT, and SHADING_NORMAL.
|
inline |
Definition at line 779 of file style.hh.
References refCount.
Referenced by dw::core::Layout::setBgColor(), dw::core::Layout::~Layout(), and dw::core::style::Style::~Style().
|
private |