Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
dw::fltk::FltkColor Class Reference

#include <fltkplatform.hh>

Static Public Member Functions

static FltkColorcreate (int color)
 
- Static Public Member Functions inherited from dw::core::style::Color
static Colorcreate (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 Objectclone ()
 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
 

Detailed Description

Definition at line 47 of file fltkplatform.hh.

Constructor & Destructor Documentation

◆ FltkColor()

◆ ~FltkColor()

dw::fltk::FltkColor::~FltkColor ( )
private

Definition at line 239 of file fltkplatform.cc.

References colorsTable.

Member Function Documentation

◆ create()

FltkColor * dw::fltk::FltkColor::create ( int  color)
static

Member Data Documentation

◆ colors

int dw::fltk::FltkColor::colors[SHADING_NUM]

Definition at line 56 of file fltkplatform.hh.

Referenced by FltkColor(), and dw::fltk::ui::FltkResource::setWidgetStyle().

◆ colorsTable

container::typed::HashTable< dw::core::style::ColorAttrs, FltkColor > * dw::fltk::FltkColor::colorsTable
staticprivate
Initial value:
=
new container::typed::HashTable <dw::core::style::ColorAttrs,
FltkColor> (false, false)

Definition at line 50 of file fltkplatform.hh.

Referenced by create(), and ~FltkColor().


The documentation for this class was generated from the following files: