Dillo v3.1.1-98-g318d1f14
|
#include <ui.hh>
Classes | |
class | LayoutReceiver |
Public Member Functions | |
ComplexButtonResource () | |
~ComplexButtonResource () | |
void | sizeRequest (Requisition *requisition) |
void | getExtremes (Extremes *extremes) |
void | sizeAllocate (Allocation *allocation) |
int | getAvailWidthOfChild (Widget *child, bool forceValue) |
int | getAvailHeightOfChild (Widget *child, bool forceValue) |
void | correctRequisitionOfChild (Widget *child, Requisition *requisition, void(*splitHeightFun)(int, int *, int *), bool allowDecreaseWidth, bool allowDecreaseHeight) |
void | correctExtremesOfChild (Widget *child, Extremes *extremes, bool useAdjustmentWidth) |
void | containerSizeChangedForChildren () |
Iterator * | iterator (Content::Type mask, bool atEnd) |
int | getClickX () |
int | getClickY () |
Public Member Functions inherited from dw::core::ui::Resource | |
Resource () | |
virtual | ~Resource () |
virtual void | setDisplayed (bool displayed) |
virtual void | draw (View *view, Rectangle *area, DrawingContext *context) |
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 | setEmbed (Embed *embed) |
virtual Platform * | createPlatform ()=0 |
virtual void | setLayout (Layout *layout)=0 |
virtual int | reliefXThickness ()=0 |
virtual int | reliefYThickness ()=0 |
void | init (Widget *widget) |
Protected Member Functions inherited from dw::core::ui::Resource | |
void | queueResize (bool extremesChanged) |
virtual Embed * | getEmbed () |
void | emitActivate () |
void | emitClicked (EventButton *event) |
Protected Attributes | |
Layout * | layout |
int | click_x |
int | click_y |
Private Attributes | |
LayoutReceiver | layoutReceiver |
Widget * | childWidget |
Friends | |
class | LayoutReceiver |
dw::core::ui::ComplexButtonResource::ComplexButtonResource | ( | ) |
Definition at line 335 of file ui.cc.
References DBG_OBJ_CREATE, and layout.
dw::core::ui::ComplexButtonResource::~ComplexButtonResource | ( | ) |
Definition at line 366 of file ui.cc.
References DBG_OBJ_DELETE, and layout.
|
virtual |
|
virtual |
Reimplemented from dw::core::ui::Resource.
Definition at line 459 of file ui.cc.
References dw::core::Widget::applyPerWidth(), dw::core::ui::Embed::correctExtremesOfChildNoRec(), dw::core::Widget::getAvailHeight(), dw::core::ui::Resource::getEmbed(), dw::core::Widget::getStyle(), dw::core::style::isPerLength(), lout::misc::max(), dw::core::Extremes::maxWidth, dw::core::Extremes::minWidth, and dw::core::style::StyleAttrs::width.
|
virtual |
Reimplemented from dw::core::ui::Resource.
Definition at line 426 of file ui.cc.
References dw::core::Widget::applyPerWidth(), dw::core::ui::Embed::correctReqHeightOfChildNoRec(), dw::core::ui::Embed::correctReqWidthOfChildNoRec(), dw::core::Widget::getAvailHeight(), dw::core::ui::Resource::getEmbed(), dw::core::Widget::getStyle(), dw::core::style::isPerLength(), lout::misc::max(), dw::core::style::StyleAttrs::width, and dw::core::Requisition::width.
|
protectedpure virtual |
Implemented in dw::fltk::ui::FltkComplexButtonResource.
|
virtual |
Reimplemented from dw::core::ui::Resource.
Definition at line 416 of file ui.cc.
References dw::core::Widget::getAvailHeight(), dw::core::ui::Resource::getEmbed(), and lout::misc::max().
|
virtual |
Reimplemented from dw::core::ui::Resource.
Definition at line 407 of file ui.cc.
References dw::core::Widget::getAvailWidth(), dw::core::ui::Resource::getEmbed(), and lout::misc::max().
|
inline |
|
inline |
|
virtual |
Reimplemented from dw::core::ui::Resource.
Definition at line 387 of file ui.cc.
References DBG_OBJ_ENTER0, DBG_OBJ_LEAVE, DBG_OBJ_MSGF, dw::core::Extremes::maxWidth, dw::core::Extremes::maxWidthIntrinsic, dw::core::Extremes::minWidth, and dw::core::Extremes::minWidthIntrinsic.
|
protected |
Definition at line 343 of file ui.cc.
References DBG_OBJ_ASSOC_CHILD, dw::core::ui::Resource::getEmbed(), and layout.
|
virtual |
Implements dw::core::ui::Resource.
Definition at line 486 of file ui.cc.
References dw::core::ui::Resource::getEmbed().
|
protectedpure virtual |
Implemented in dw::fltk::ui::FltkComplexButtonResource.
|
protectedpure virtual |
Implemented in dw::fltk::ui::FltkComplexButtonResource.
|
protectedvirtual |
Reimplemented from dw::core::ui::Resource.
Definition at line 358 of file ui.cc.
References dw::core::ui::Resource::embed, dw::core::ui::Resource::getEmbed(), and dw::core::ui::Resource::setEmbed().
|
protectedpure virtual |
Implemented in dw::fltk::ui::FltkComplexButtonResource.
|
virtual |
Reimplemented from dw::core::ui::Resource.
Reimplemented in dw::fltk::ui::FltkSpecificResource< dw::core::ui::ComplexButtonResource >, and dw::fltk::ui::FltkComplexButtonResource.
|
virtual |
Implements dw::core::ui::Resource.
Definition at line 372 of file ui.cc.
References dw::core::Requisition::ascent, DBG_OBJ_ENTER0, DBG_OBJ_LEAVE, DBG_OBJ_MSGF, dw::core::Requisition::descent, and dw::core::Requisition::width.
|
friend |
|
private |
|
protected |
Definition at line 426 of file ui.hh.
Referenced by getClickX(), and dw::fltk::ui::FltkComplexButtonResource::widgetCallback().
|
protected |
Definition at line 426 of file ui.hh.
Referenced by getClickY(), and dw::fltk::ui::FltkComplexButtonResource::widgetCallback().
|
protected |
Definition at line 425 of file ui.hh.
Referenced by dw::fltk::ui::FltkComplexButtonResource::createNewWidget(), and dw::fltk::ui::FltkComplexButtonResource::setLayout().
|
private |