Dillo
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
dw::fltk::ui::FltkResource Class Referenceabstract

#include <fltkui.hh>

Public Member Functions

 ~FltkResource ()
 
virtual void attachView (FltkView *view)
 
virtual void detachView (FltkView *view)
 
void sizeAllocate (core::Allocation *allocation)
 
void draw (core::View *view, core::Rectangle *area, core::DrawingContext *context)
 
void setStyle (core::style::Style *style)
 
bool isEnabled ()
 
void setEnabled (bool enabled)
 
- 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 bool equals (Object *other)
 Returns, whether two objects are equal. More...
 
virtual int hashValue ()
 Return a hash value for the object. More...
 
virtual Objectclone ()
 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...
 

Protected Member Functions

 FltkResource (FltkPlatform *platform)
 
void init (FltkPlatform *platform)
 
virtual Fl_Widget * createNewWidget (core::Allocation *allocation)=0
 
virtual void setWidgetStyle (Fl_Widget *widget, core::style::Style *style)
 
void setDisplayed (bool displayed)
 
bool displayed ()
 

Protected Attributes

FltkViewview
 
Fl_Widget * widget
 
core::Allocation allocation
 
FltkPlatformplatform
 
core::style::Stylestyle
 

Private Attributes

bool enabled
 

Detailed Description

...

Constructor & Destructor Documentation

dw::fltk::ui::FltkResource::FltkResource ( FltkPlatform platform)
protected

References DBG_OBJ_CREATE, and platform.

dw::fltk::ui::FltkResource::~FltkResource ( )

References DBG_OBJ_DELETE, and platform.

Member Function Documentation

void dw::fltk::ui::FltkResource::attachView ( FltkView view)
virtual
virtual Fl_Widget* dw::fltk::ui::FltkResource::createNewWidget ( core::Allocation allocation)
protectedpure virtual
void dw::fltk::ui::FltkResource::detachView ( FltkView view)
virtual
bool dw::fltk::ui::FltkResource::displayed ( )
protected
void dw::fltk::ui::FltkResource::draw ( core::View view,
core::Rectangle area,
core::DrawingContext context 
)
void dw::fltk::ui::FltkResource::init ( FltkPlatform platform)
protected
bool dw::fltk::ui::FltkResource::isEnabled ( )
void dw::fltk::ui::FltkResource::setDisplayed ( bool  displayed)
protected
void dw::fltk::ui::FltkResource::setEnabled ( bool  enabled)
void dw::fltk::ui::FltkResource::setStyle ( core::style::Style style)
void dw::fltk::ui::FltkResource::setWidgetStyle ( Fl_Widget *  widget,
core::style::Style style 
)
protectedvirtual
void dw::fltk::ui::FltkResource::sizeAllocate ( core::Allocation allocation)

Member Data Documentation

core::Allocation dw::fltk::ui::FltkResource::allocation
protected
bool dw::fltk::ui::FltkResource::enabled
private
FltkPlatform* dw::fltk::ui::FltkResource::platform
protected
core::style::Style* dw::fltk::ui::FltkResource::style
protected
FltkView* dw::fltk::ui::FltkResource::view
protected
Fl_Widget* dw::fltk::ui::FltkResource::widget
protected

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