Dillo v3.1.1-119-g140d9ebd
|
#include <fltkui.hh>
Public Member Functions | |
FltkComplexButtonResource (FltkPlatform *platform, dw::core::Widget *widget, bool relief) | |
~FltkComplexButtonResource () | |
Public Member Functions inherited from dw::fltk::ui::FltkSpecificResource< dw::core::ui::ComplexButtonResource > | |
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::core::ui::ComplexButtonResource | |
ComplexButtonResource () | |
~ComplexButtonResource () | |
void | sizeRequest (Requisition *requisition) |
void | getExtremes (Extremes *extremes) |
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) |
void | connectActivate (ActivateReceiver *receiver) |
void | connectClicked (ClickedReceiver *receiver) |
Public Member Functions inherited from dw::fltk::ui::FltkResource | |
~FltkResource () | |
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 Object * | clone () |
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 | |
void | attachView (FltkView *view) |
void | detachView (FltkView *view) |
void | sizeAllocate (core::Allocation *allocation) |
dw::core::Platform * | createPlatform () |
void | setLayout (dw::core::Layout *layout) |
int | reliefXThickness () |
int | reliefYThickness () |
Fl_Widget * | createNewWidget (core::Allocation *allocation) |
Protected Member Functions inherited from dw::core::ui::ComplexButtonResource | |
void | setEmbed (Embed *embed) |
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 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 void | setWidgetStyle (Fl_Widget *widget, core::style::Style *style) |
void | setDisplayed (bool displayed) |
bool | displayed () |
Protected Attributes | |
FltkView * | topView |
FltkView * | flatView |
Protected Attributes inherited from dw::core::ui::ComplexButtonResource | |
Layout * | layout |
int | click_x |
int | click_y |
Protected Attributes inherited from dw::fltk::ui::FltkResource | |
FltkView * | view |
Fl_Widget * | widget |
core::Allocation | allocation |
FltkPlatform * | platform |
core::style::Style * | style |
Static Private Member Functions | |
static void | widgetCallback (Fl_Widget *widget, void *data) |
Private Attributes | |
bool | relief |
dw::fltk::ui::FltkComplexButtonResource::FltkComplexButtonResource | ( | FltkPlatform * | platform, |
dw::core::Widget * | widget, | ||
bool | relief | ||
) |
Definition at line 729 of file fltkui.cc.
References flatView, dw::fltk::ui::FltkResource::init(), dw::fltk::ui::FltkResource::platform, relief, topView, and dw::fltk::ui::FltkResource::widget.
dw::fltk::ui::FltkComplexButtonResource::~FltkComplexButtonResource | ( | ) |
|
protectedvirtual |
Reimplemented from dw::fltk::ui::FltkResource.
Definition at line 786 of file fltkui.cc.
References dw::fltk::ui::FltkResource::attachView(), topView, dw::fltk::FltkView::usesFltkWidgets(), and dw::fltk::ui::FltkResource::view.
|
protectedvirtual |
Implements dw::fltk::ui::FltkResource.
Definition at line 838 of file fltkui.cc.
References dw::fltk::ui::FltkResource::allocation, dw::core::Allocation::ascent, dw::core::Layout::attachView(), dw::core::Allocation::descent, flatView, dw::core::ui::ComplexButtonResource::layout, relief, reliefXThickness(), reliefYThickness(), widgetCallback(), dw::core::Allocation::width, dw::core::Allocation::x, and dw::core::Allocation::y.
|
protectedvirtual |
Implements dw::core::ui::ComplexButtonResource.
|
protectedvirtual |
Reimplemented from dw::fltk::ui::FltkResource.
Definition at line 794 of file fltkui.cc.
References dw::fltk::ui::FltkResource::detachView(), and dw::fltk::ui::FltkResource::view.
|
protectedvirtual |
Implements dw::core::ui::ComplexButtonResource.
Definition at line 827 of file fltkui.cc.
References relief, and dw::fltk::ui::RELIEF_X_THICKNESS.
Referenced by createNewWidget(), and sizeAllocate().
|
protectedvirtual |
Implements dw::core::ui::ComplexButtonResource.
Definition at line 832 of file fltkui.cc.
References relief, and dw::fltk::ui::RELIEF_Y_THICKNESS.
Referenced by createNewWidget(), and sizeAllocate().
|
protectedvirtual |
Implements dw::core::ui::ComplexButtonResource.
Definition at line 822 of file fltkui.cc.
References dw::core::Layout::attachView(), flatView, and dw::core::ui::ComplexButtonResource::layout.
|
protectedvirtual |
Reimplemented from dw::core::ui::ComplexButtonResource.
Definition at line 799 of file fltkui.cc.
References dw::fltk::ui::FltkResource::allocation, dw::core::Allocation::ascent, DBG_OBJ_MSGF_O, dw::core::Allocation::descent, flatView, reliefXThickness(), reliefYThickness(), dw::fltk::ui::FltkResource::sizeAllocate(), and dw::core::Allocation::width.
|
staticprivate |
Definition at line 744 of file fltkui.cc.
References dw::core::style::StyleAttrs::boxDiffHeight(), dw::core::style::StyleAttrs::boxDiffWidth(), dw::core::style::StyleAttrs::boxOffsetX(), dw::core::style::StyleAttrs::boxOffsetY(), dw::core::ui::ComplexButtonResource::click_x, dw::core::ui::ComplexButtonResource::click_y, dw::core::ui::Resource::emitClicked(), dw::fltk::ui::setButtonEvent(), dw::fltk::ui::FltkResource::style, and dw::fltk::ui::FltkResource::widget.
Referenced by createNewWidget().
|
protected |
Definition at line 271 of file fltkui.hh.
Referenced by createNewWidget(), FltkComplexButtonResource(), setLayout(), and sizeAllocate().
|
private |
Definition at line 266 of file fltkui.hh.
Referenced by createNewWidget(), FltkComplexButtonResource(), reliefXThickness(), and reliefYThickness().
|
protected |
Definition at line 271 of file fltkui.hh.
Referenced by attachView(), and FltkComplexButtonResource().