#include <fltkui.hh>
Public Member Functions | |
| FltkComplexButtonResource (FltkPlatform *platform, dw::core::Widget *widget, bool relief) | |
| ~FltkComplexButtonResource () | |
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 Attributes | |
| FltkView * | topView |
| FltkView * | flatView |
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 | |||
| ) |
References flatView, dw::fltk::ui::FltkResource::init(), and topView.
| dw::fltk::ui::FltkComplexButtonResource::~FltkComplexButtonResource | ( | ) |
| void dw::fltk::ui::FltkComplexButtonResource::attachView | ( | FltkView * | view | ) | [protected, virtual] |
Reimplemented from dw::fltk::ui::FltkResource.
References topView, and dw::fltk::FltkView::usesFltkWidgets().
| Fl_Widget * dw::fltk::ui::FltkComplexButtonResource::createNewWidget | ( | core::Allocation * | allocation | ) | [protected, virtual] |
Implements dw::fltk::ui::FltkResource.
References dw::core::Allocation::ascent, 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.
| dw::core::Platform * dw::fltk::ui::FltkComplexButtonResource::createPlatform | ( | ) | [protected, virtual] |
Implements dw::core::ui::ComplexButtonResource.
| void dw::fltk::ui::FltkComplexButtonResource::detachView | ( | FltkView * | view | ) | [protected, virtual] |
Reimplemented from dw::fltk::ui::FltkResource.
| int dw::fltk::ui::FltkComplexButtonResource::reliefXThickness | ( | ) | [protected, virtual] |
Implements dw::core::ui::ComplexButtonResource.
References relief, and dw::fltk::ui::RELIEF_X_THICKNESS.
Referenced by createNewWidget(), and sizeAllocate().
| int dw::fltk::ui::FltkComplexButtonResource::reliefYThickness | ( | ) | [protected, virtual] |
Implements dw::core::ui::ComplexButtonResource.
References relief, and dw::fltk::ui::RELIEF_Y_THICKNESS.
Referenced by createNewWidget(), and sizeAllocate().
| void dw::fltk::ui::FltkComplexButtonResource::setLayout | ( | dw::core::Layout * | layout | ) | [protected, virtual] |
Implements dw::core::ui::ComplexButtonResource.
References dw::core::Layout::attachView(), and flatView.
| void dw::fltk::ui::FltkComplexButtonResource::sizeAllocate | ( | core::Allocation * | allocation | ) | [protected] |
| void dw::fltk::ui::FltkComplexButtonResource::widgetCallback | ( | Fl_Widget * | widget, | |
| void * | data | |||
| ) | [static, private] |
FltkView * dw::fltk::ui::FltkComplexButtonResource::flatView [protected] |
Referenced by createNewWidget(), FltkComplexButtonResource(), setLayout(), and sizeAllocate().
bool dw::fltk::ui::FltkComplexButtonResource::relief [private] |
Referenced by createNewWidget(), reliefXThickness(), and reliefYThickness().
FltkView* dw::fltk::ui::FltkComplexButtonResource::topView [protected] |
Referenced by attachView(), and FltkComplexButtonResource().
1.5.9