Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
dw::fltk::ui::FltkRadioButtonResource Class Reference

#include <fltkui.hh>

Classes

class  Group
 

Public Member Functions

 FltkRadioButtonResource (FltkPlatform *platform, FltkRadioButtonResource *groupedWith, bool activated)
 
 ~FltkRadioButtonResource ()
 
GroupIterator * groupIterator ()
 
- Public Member Functions inherited from dw::fltk::ui::FltkToggleButtonResource< dw::core::ui::RadioButtonResource >
 FltkToggleButtonResource (FltkPlatform *platform, bool activated)
 
 ~FltkToggleButtonResource ()
 
void sizeRequest (core::Requisition *requisition)
 
bool isActivated ()
 
void setActivated (bool activated)
 
- Public Member Functions inherited from dw::fltk::ui::FltkSpecificResource< I >
 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.
 

Protected Member Functions

Fl_Button * createNewButton (core::Allocation *allocation)
 
- Protected Member Functions inherited from dw::fltk::ui::FltkToggleButtonResource< dw::core::ui::RadioButtonResource >
Fl_Widget * createNewWidget (core::Allocation *allocation)
 
void setWidgetStyle (Fl_Widget *widget, core::style::Style *style)
 
- 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.
 
void setDisplayed (bool displayed)
 
bool displayed ()
 

Private Member Functions

void buttonClicked ()
 

Static Private Member Functions

static void widgetCallback (Fl_Widget *widget, void *data)
 

Private Attributes

Groupgroup
 

Additional Inherited Members

- Protected Attributes inherited from dw::fltk::ui::FltkResource
FltkViewview
 
Fl_Widget * widget
 
core::Allocation allocation
 
FltkPlatformplatform
 
core::style::Stylestyle
 

Detailed Description

Definition at line 393 of file fltkui.hh.

Constructor & Destructor Documentation

◆ FltkRadioButtonResource()

dw::fltk::ui::FltkRadioButtonResource::FltkRadioButtonResource ( FltkPlatform platform,
FltkRadioButtonResource groupedWith,
bool  activated 
)

◆ ~FltkRadioButtonResource()

dw::fltk::ui::FltkRadioButtonResource::~FltkRadioButtonResource ( )

Definition at line 1306 of file fltkui.cc.

References group, and dw::fltk::ui::FltkRadioButtonResource::Group::unconnect().

Member Function Documentation

◆ buttonClicked()

void dw::fltk::ui::FltkRadioButtonResource::buttonClicked ( )
private

◆ createNewButton()

◆ groupIterator()

dw::core::ui::RadioButtonResource::GroupIterator * dw::fltk::ui::FltkRadioButtonResource::groupIterator ( )

◆ widgetCallback()

void dw::fltk::ui::FltkRadioButtonResource::widgetCallback ( Fl_Widget *  widget,
void *  data 
)
staticprivate

Definition at line 1317 of file fltkui.cc.

References dw::fltk::ui::FltkResource::widget.

Referenced by createNewButton().

Member Data Documentation

◆ group

Group* dw::fltk::ui::FltkRadioButtonResource::group
private

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