Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
dw::fltk::ui::FltkSpecificResource< I > Class Template Reference

#include <fltkui.hh>

Public Member Functions

 FltkSpecificResource (FltkPlatform *platform)
 
 ~FltkSpecificResource ()
 
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 dw::fltk::ui::FltkResource
 ~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.
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal.
 
virtual int hashValue ()
 Return a hash value for the object.
 
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.
 

Additional Inherited Members

- Protected Member Functions inherited from dw::fltk::ui::FltkResource
 FltkResource (FltkPlatform *platform)
 
void init (FltkPlatform *platform)
 This is not a constructor, since it calls some virtual methods, which should not be done in a C++ base constructor.
 
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 inherited from dw::fltk::ui::FltkResource
FltkViewview
 
Fl_Widget * widget
 
core::Allocation allocation
 
FltkPlatformplatform
 
core::style::Stylestyle
 

Detailed Description

template<class I>
class dw::fltk::ui::FltkSpecificResource< I >

Definition at line 224 of file fltkui.hh.

Constructor & Destructor Documentation

◆ FltkSpecificResource()

template<class I >
dw::fltk::ui::FltkSpecificResource< I >::FltkSpecificResource ( FltkPlatform platform)

Definition at line 561 of file fltkui.cc.

References DBG_OBJ_BASECLASS, DBG_OBJ_CREATE, and I.

◆ ~FltkSpecificResource()

Definition at line 570 of file fltkui.cc.

References DBG_OBJ_DELETE.

Member Function Documentation

◆ draw()

template<class I >
void dw::fltk::ui::FltkSpecificResource< I >::draw ( core::View view,
core::Rectangle area,
core::DrawingContext context 
)

Definition at line 581 of file fltkui.cc.

References dw::fltk::ui::FltkResource::draw().

◆ isEnabled()

template<class I >
bool dw::fltk::ui::FltkSpecificResource< I >::isEnabled ( )

Definition at line 595 of file fltkui.cc.

References dw::fltk::ui::FltkResource::isEnabled().

◆ setEnabled()

template<class I >
void dw::fltk::ui::FltkSpecificResource< I >::setEnabled ( bool  enabled)

Definition at line 600 of file fltkui.cc.

References dw::fltk::ui::FltkResource::setEnabled().

◆ setStyle()

template<class I >
void dw::fltk::ui::FltkSpecificResource< I >::setStyle ( core::style::Style style)

Definition at line 589 of file fltkui.cc.

References dw::fltk::ui::FltkResource::setStyle().

◆ sizeAllocate()

template<class I >
void dw::fltk::ui::FltkSpecificResource< I >::sizeAllocate ( core::Allocation allocation)

Definition at line 575 of file fltkui.cc.

References dw::fltk::ui::FltkResource::sizeAllocate().


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