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

Public Member Functions

void setPlatform (FltkPlatform *platform)
 
core::ui::LabelButtonResourcecreateLabelButtonResource (const char *label)
 
core::ui::ComplexButtonResourcecreateComplexButtonResource (core::Widget *widget, bool relief)
 
core::ui::ListResourcecreateListResource (core::ui::ListResource::SelectionMode selectionMode, int rows)
 
core::ui::OptionMenuResourcecreateOptionMenuResource ()
 
core::ui::EntryResourcecreateEntryResource (int size, bool password, const char *label, const char *placeholder)
 
core::ui::MultiLineTextResourcecreateMultiLineTextResource (int cols, int rows, const char *placeholder)
 
core::ui::CheckButtonResourcecreateCheckButtonResource (bool activated)
 
core::ui::RadioButtonResourcecreateRadioButtonResource (core::ui::RadioButtonResource *groupedWith, bool activated)
 
- 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.
 

Private Attributes

FltkPlatformplatform
 

Detailed Description

Definition at line 95 of file fltkplatform.hh.

Member Function Documentation

◆ createCheckButtonResource()

core::ui::CheckButtonResource * dw::fltk::FltkPlatform::FltkResourceFactory::createCheckButtonResource ( bool  activated)
virtual

Implements dw::core::ui::ResourceFactory.

Definition at line 434 of file fltkplatform.cc.

References platform.

◆ createComplexButtonResource()

core::ui::ComplexButtonResource * dw::fltk::FltkPlatform::FltkResourceFactory::createComplexButtonResource ( core::Widget widget,
bool  relief 
)
virtual

Implements dw::core::ui::ResourceFactory.

Definition at line 393 of file fltkplatform.cc.

References platform.

◆ createEntryResource()

core::ui::EntryResource * dw::fltk::FltkPlatform::FltkResourceFactory::createEntryResource ( int  size,
bool  password,
const char *  label,
const char *  placeholder 
)
virtual

Implements dw::core::ui::ResourceFactory.

Definition at line 416 of file fltkplatform.cc.

References platform.

◆ createLabelButtonResource()

core::ui::LabelButtonResource * dw::fltk::FltkPlatform::FltkResourceFactory::createLabelButtonResource ( const char *  label)
virtual

Implements dw::core::ui::ResourceFactory.

Definition at line 386 of file fltkplatform.cc.

References platform.

◆ createListResource()

core::ui::ListResource * dw::fltk::FltkPlatform::FltkResourceFactory::createListResource ( core::ui::ListResource::SelectionMode  selectionMode,
int  rows 
)
virtual

Implements dw::core::ui::ResourceFactory.

Definition at line 401 of file fltkplatform.cc.

References platform.

◆ createMultiLineTextResource()

core::ui::MultiLineTextResource * dw::fltk::FltkPlatform::FltkResourceFactory::createMultiLineTextResource ( int  cols,
int  rows,
const char *  placeholder 
)
virtual

Implements dw::core::ui::ResourceFactory.

Definition at line 426 of file fltkplatform.cc.

References platform.

◆ createOptionMenuResource()

core::ui::OptionMenuResource * dw::fltk::FltkPlatform::FltkResourceFactory::createOptionMenuResource ( )
virtual

Implements dw::core::ui::ResourceFactory.

Definition at line 410 of file fltkplatform.cc.

References platform.

◆ createRadioButtonResource()

core::ui::RadioButtonResource * dw::fltk::FltkPlatform::FltkResourceFactory::createRadioButtonResource ( core::ui::RadioButtonResource groupedWith,
bool  activated 
)
virtual

Implements dw::core::ui::ResourceFactory.

Definition at line 440 of file fltkplatform.cc.

References platform.

◆ setPlatform()

void dw::fltk::FltkPlatform::FltkResourceFactory::setPlatform ( FltkPlatform platform)
inline

Definition at line 101 of file fltkplatform.hh.

References platform.

Referenced by dw::fltk::FltkPlatform::FltkPlatform().

Member Data Documentation

◆ platform

FltkPlatform* dw::fltk::FltkPlatform::FltkResourceFactory::platform
private

Definition at line 98 of file fltkplatform.hh.

Referenced by createLabelButtonResource(), and setPlatform().


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