Dillo
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
dw::core::StackingContextMgr Class Reference

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)
 
WidgetgetTopWidgetAtPoint (int x, int y, core::GettingWidgetAtPointContext *context)
 
WidgetgetBottomWidgetAtPoint (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)
 
WidgetgetWidgetAtPoint (int x, int y, core::GettingWidgetAtPointContext *context, int startZIndex, int endZIndex)
 

Private Attributes

Widgetwidget
 
lout::container::typed::Vector
< Widget > * 
childSCWidgets
 
int * zIndices
 
int numZIndices
 

Detailed Description

See Handling stacking contexts.

Constructor & Destructor Documentation

dw::core::StackingContextMgr::StackingContextMgr ( Widget widget)

References DBG_OBJ_CREATE, and DBG_OBJ_SET_NUM.

dw::core::StackingContextMgr::~StackingContextMgr ( )

References DBG_OBJ_DELETE.

Member Function Documentation

void dw::core::StackingContextMgr::addChildSCWidget ( Widget widget)
void dw::core::StackingContextMgr::draw ( View view,
Rectangle area,
int  startZIndex,
int  endZIndex,
DrawingContext context 
)
private
void dw::core::StackingContextMgr::drawBottom ( View view,
Rectangle area,
DrawingContext context 
)
inline

References draw().

void dw::core::StackingContextMgr::drawTop ( View view,
Rectangle area,
DrawingContext context 
)
inline

References draw().

int dw::core::StackingContextMgr::findZIndex ( int  zIndex,
bool  mustExist 
)
private
Widget* dw::core::StackingContextMgr::getBottomWidgetAtPoint ( int  x,
int  y,
core::GettingWidgetAtPointContext context 
)
inline

References getWidgetAtPoint().

int dw::core::StackingContextMgr::getNumChildSCWidgets ( )
inline
int dw::core::StackingContextMgr::getNumZIndices ( )
inline

References numZIndices.

Widget* dw::core::StackingContextMgr::getTopWidgetAtPoint ( int  x,
int  y,
core::GettingWidgetAtPointContext context 
)
inline

References getWidgetAtPoint().

Widget * dw::core::StackingContextMgr::getWidgetAtPoint ( int  x,
int  y,
core::GettingWidgetAtPointContext context,
int  startZIndex,
int  endZIndex 
)
private
static bool dw::core::StackingContextMgr::handledByStackingContextMgr ( Widget widget)
inlinestatic
static bool dw::core::StackingContextMgr::isEstablishingStackingContext ( Widget widget)
inlinestatic

Member Data Documentation

lout::container::typed::Vector<Widget>* dw::core::StackingContextMgr::childSCWidgets
private
int dw::core::StackingContextMgr::numZIndices
private

Referenced by getNumZIndices().

Widget* dw::core::StackingContextMgr::widget
private
int* dw::core::StackingContextMgr::zIndices
private

The documentation for this class was generated from the following files: