|
Dillo
|
See Handling stacking contexts. More...
#include <stackingcontextmgr.hh>
Public Member Functions | |
| StackingContextMgr (Widget *widget) | |
| ~StackingContextMgr () | |
| void | addChildSCWidget (Widget *widget) |
| int | getNumZIndices () |
| int | getNumChildSCWidgets () |
| void | drawBottom (View *view, Rectangle *area, DrawingContext *context) |
| void | drawTop (View *view, Rectangle *area, DrawingContext *context) |
| Widget * | getTopWidgetAtPoint (int x, int y, core::GettingWidgetAtPointContext *context) |
| Widget * | getBottomWidgetAtPoint (int x, int y, core::GettingWidgetAtPointContext *context) |
Static Public Member Functions | |
| static bool | isEstablishingStackingContext (Widget *widget) |
| static bool | handledByStackingContextMgr (Widget *widget) |
Private Member Functions | |
| int | findZIndex (int zIndex, bool mustExist) |
| void | draw (View *view, Rectangle *area, int startZIndex, int endZIndex, DrawingContext *context) |
| Widget * | getWidgetAtPoint (int x, int y, core::GettingWidgetAtPointContext *context, int startZIndex, int endZIndex) |
Private Attributes | |
| Widget * | widget |
| lout::container::typed::Vector < Widget > * | childSCWidgets |
| int * | zIndices |
| int | numZIndices |
| dw::core::StackingContextMgr::StackingContextMgr | ( | Widget * | widget | ) |
References DBG_OBJ_CREATE, and DBG_OBJ_SET_NUM.
| dw::core::StackingContextMgr::~StackingContextMgr | ( | ) |
References DBG_OBJ_DELETE.
| void dw::core::StackingContextMgr::addChildSCWidget | ( | Widget * | widget | ) |
References DBG_OBJ_ARRSET_NUM, DBG_OBJ_ARRSET_PTR, DBG_OBJ_ENTER, DBG_OBJ_LEAVE, DBG_OBJ_MSGF, DBG_OBJ_SET_NUM, dw::core::Widget::getStyle(), and dw::core::style::StyleAttrs::zIndex.
Referenced by dw::core::Widget::setParent().
|
private |
References DBG_OBJ_ENTER, DBG_OBJ_LEAVE, DBG_OBJ_MSG_END, DBG_OBJ_MSG_START, DBG_OBJ_MSGF, dw::core::Widget::draw(), dw::core::Widget::getStyle(), dw::core::Rectangle::height, dw::core::Widget::intersects(), dw::core::Rectangle::width, dw::core::Rectangle::x, dw::core::Rectangle::y, and dw::core::style::StyleAttrs::zIndex.
Referenced by drawBottom(), and drawTop().
|
inline |
References draw().
|
inline |
References draw().
|
private |
|
inline |
References getWidgetAtPoint().
|
inline |
References lout::container::typed::Collection< T >::size().
|
inline |
References numZIndices.
|
inline |
References getWidgetAtPoint().
|
private |
|
inlinestatic |
References dw::core::Widget::getParent(), and isEstablishingStackingContext().
|
inlinestatic |
|
private |
|
private |
Referenced by getNumZIndices().
|
private |
|
private |
1.8.8