Dillo v3.1.1-98-g318d1f14
|
#include <fltkplatform.hh>
Static Public Member Functions | |
static FltkColor * | create (int color) |
Static Public Member Functions inherited from dw::core::style::Color | |
static Color * | create (Layout *layout, int color) |
Public Attributes | |
int | colors [SHADING_NUM] |
Private Member Functions | |
FltkColor (int color) | |
~FltkColor () | |
Static Private Attributes | |
static lout::container::typed::HashTable< dw::core::style::ColorAttrs, FltkColor > * | colorsTable |
Additional Inherited Members | |
Public Types inherited from dw::core::style::Color | |
enum | Shading { SHADING_NORMAL , SHADING_INVERSE , SHADING_DARK , SHADING_LIGHT , SHADING_NUM } |
Public Member Functions inherited from dw::core::style::Color | |
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. | |
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 Member Functions inherited from dw::core::style::Color | |
Color (int color) | |
virtual | ~Color () |
int | shadeColor (int color, Shading shading) |
Protected Attributes inherited from dw::core::style::ColorAttrs | |
int | color |
Definition at line 47 of file fltkplatform.hh.
|
private |
Definition at line 225 of file fltkplatform.cc.
References dw::core::style::ColorAttrs::color, colors, dw::core::style::Color::shadeColor(), dw::core::style::Color::SHADING_DARK, dw::core::style::Color::SHADING_INVERSE, dw::core::style::Color::SHADING_LIGHT, and dw::core::style::Color::SHADING_NORMAL.
|
private |
Definition at line 239 of file fltkplatform.cc.
References colorsTable.
|
static |
Definition at line 244 of file fltkplatform.cc.
References dw::core::style::ColorAttrs::color, dw::core::style::ColorAttrs::ColorAttrs(), and colorsTable.
Referenced by dw::fltk::FltkPlatform::createColor().
int dw::fltk::FltkColor::colors[SHADING_NUM] |
Definition at line 56 of file fltkplatform.hh.
Referenced by FltkColor(), and dw::fltk::ui::FltkResource::setWidgetStyle().
|
staticprivate |
Definition at line 50 of file fltkplatform.hh.
Referenced by create(), and ~FltkColor().