Dillo
|
Basic interface for all resources. More...
#include <ui.hh>
Classes | |
class | ActivateEmitter |
class | ActivateReceiver |
Receiver interface for the "activate" signal. More... | |
class | ClickedEmitter |
class | ClickedReceiver |
Receiver interface for the "clicked" signal. More... | |
Public Member Functions | |
Resource () | |
virtual | ~Resource () |
virtual void | sizeRequest (Requisition *requisition)=0 |
virtual void | getExtremes (Extremes *extremes) |
virtual void | sizeAllocate (Allocation *allocation) |
virtual int | getAvailWidthOfChild (Widget *child, bool forceValue) |
virtual int | getAvailHeightOfChild (Widget *child, bool forceValue) |
virtual void | correctRequisitionOfChild (Widget *child, Requisition *requisition, void(*splitHeightFun)(int, int *, int *), bool allowDecreaseWidth, bool allowDecreaseHeight) |
virtual void | correctExtremesOfChild (Widget *child, Extremes *extremes, bool useAdjustmentWidth) |
virtual void | containerSizeChangedForChildren () |
virtual void | setDisplayed (bool displayed) |
virtual void | draw (View *view, Rectangle *area, DrawingContext *context) |
virtual Iterator * | iterator (Content::Type mask, bool atEnd)=0 |
virtual void | setStyle (style::Style *style) |
virtual bool | isEnabled ()=0 |
virtual void | setEnabled (bool enabled)=0 |
void | connectActivate (ActivateReceiver *receiver) |
void | connectClicked (ClickedReceiver *receiver) |
Protected Member Functions | |
void | queueResize (bool extremesChanged) |
virtual Embed * | getEmbed () |
virtual void | setEmbed (Embed *embed) |
void | emitActivate () |
void | emitClicked (EventButton *event) |
Private Member Functions | |
void | emitEnter () |
void | emitLeave () |
Private Attributes | |
Embed * | embed |
ActivateEmitter | activateEmitter |
ClickedEmitter | clickedEmitter |
Friends | |
class | Embed |
Basic interface for all resources.
|
inline |
References DBG_OBJ_CREATE.
|
virtual |
References DBG_OBJ_DELETE.
|
inline |
|
inline |
References dw::core::ui::Resource::ClickedEmitter::connectClicked().
Referenced by form::Form::addButtonResource().
|
virtual |
Reimplemented in dw::core::ui::ComplexButtonResource.
|
virtual |
Reimplemented in dw::core::ui::ComplexButtonResource.
References lout::misc::notImplemented().
|
virtual |
Reimplemented in dw::core::ui::ComplexButtonResource.
References lout::misc::notImplemented().
|
virtual |
Reimplemented in dw::fltk::ui::FltkSpecificResource< dw::core::ui::OptionMenuResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::RadioButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::ListResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::ComplexButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::LabelButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::MultiLineTextResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::CheckButtonResource >, and dw::fltk::ui::FltkSpecificResource< dw::core::ui::EntryResource >.
|
inlineprotected |
|
inlineprotected |
|
private |
|
private |
|
virtual |
Reimplemented in dw::core::ui::ComplexButtonResource.
References lout::misc::notImplemented().
|
virtual |
Reimplemented in dw::core::ui::ComplexButtonResource.
References lout::misc::notImplemented().
|
virtual |
|
pure virtual |
Implemented in dw::fltk::ui::FltkSpecificResource< dw::core::ui::OptionMenuResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::RadioButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::ListResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::ComplexButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::LabelButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::MultiLineTextResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::CheckButtonResource >, and dw::fltk::ui::FltkSpecificResource< dw::core::ui::EntryResource >.
|
pure virtual |
Implemented in dw::core::ui::RadioButtonResource, dw::core::ui::CheckButtonResource, dw::core::ui::TextResource, dw::fltk::ui::FltkSelectionResource< dw::core::ui::OptionMenuResource >, dw::fltk::ui::FltkSelectionResource< dw::core::ui::ListResource >, dw::core::ui::ComplexButtonResource, and dw::core::ui::LabelButtonResource.
|
inlineprotected |
References dw::core::Widget::queueResize().
Referenced by dw::fltk::ui::FltkOptionMenuResource::addItem(), dw::fltk::ui::FltkListResource::newItem(), dw::fltk::ui::FltkOptionMenuResource::popGroup(), dw::fltk::ui::FltkOptionMenuResource::pushGroup(), dw::fltk::ui::FltkEntryResource::setDisplayed(), and dw::fltk::ui::FltkLabelButtonResource::setLabel().
|
virtual |
Reimplemented in dw::fltk::ui::FltkEntryResource.
|
protectedvirtual |
Reimplemented in dw::core::ui::ComplexButtonResource.
Referenced by dw::core::ui::Embed::Embed(), and dw::core::ui::ComplexButtonResource::setEmbed().
|
pure virtual |
Implemented in dw::fltk::ui::FltkSpecificResource< dw::core::ui::OptionMenuResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::RadioButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::ListResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::ComplexButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::LabelButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::MultiLineTextResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::CheckButtonResource >, and dw::fltk::ui::FltkSpecificResource< dw::core::ui::EntryResource >.
|
virtual |
Reimplemented in dw::fltk::ui::FltkSpecificResource< dw::core::ui::OptionMenuResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::RadioButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::ListResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::ComplexButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::LabelButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::MultiLineTextResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::CheckButtonResource >, and dw::fltk::ui::FltkSpecificResource< dw::core::ui::EntryResource >.
|
virtual |
Reimplemented in dw::core::ui::ComplexButtonResource, dw::fltk::ui::FltkEntryResource, dw::fltk::ui::FltkComplexButtonResource, dw::fltk::ui::FltkSpecificResource< dw::core::ui::OptionMenuResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::RadioButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::ListResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::ComplexButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::LabelButtonResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::MultiLineTextResource >, dw::fltk::ui::FltkSpecificResource< dw::core::ui::CheckButtonResource >, and dw::fltk::ui::FltkSpecificResource< dw::core::ui::EntryResource >.
|
pure virtual |
Implemented in dw::fltk::ui::FltkListResource, dw::fltk::ui::FltkOptionMenuResource, dw::core::ui::ComplexButtonResource, dw::fltk::ui::FltkToggleButtonResource< dw::core::ui::RadioButtonResource >, dw::fltk::ui::FltkToggleButtonResource< dw::core::ui::CheckButtonResource >, dw::fltk::ui::FltkMultiLineTextResource, dw::fltk::ui::FltkEntryResource, and dw::fltk::ui::FltkLabelButtonResource.
|
friend |
|
private |
|
private |
|
private |
Referenced by getEmbed().