builder.cpp File Reference

Include dependency graph for builder.cpp:


Defines

#define ADD_OBJECTS(type)   add_objects(m_rData.m_list##type,&Builder::add##type)
#define GET_BMP(pBmp, id)
#define GET_BOX(pRect, id, pLayout)

Define Documentation

#define ADD_OBJECTS ( type   )     add_objects(m_rData.m_list##type,&Builder::add##type)

Referenced by Builder::build().

#define GET_BMP ( pBmp,
id   ) 

Value:

if( id != "none" ) \
    { \
        pBmp = m_pTheme->getBitmapById(id); \
        if( pBmp == NULL ) \
        { \
            msg_Err( getIntf(), "unknown bitmap id: %s", id.c_str() ); \
            return; \
        } \
    }

#define GET_BOX ( pRect,
id,
pLayout   ) 

Value:

if( id == "none" ) \
        pRect = &pLayout->getRect(); \
    else \
    { \
        const Position *pParent = \
            m_pTheme->getPositionById( rData.m_panelId ); \
        if( pParent == NULL ) \
        { \
            msg_Err( getIntf(), "parent panel could not be found: %s", \
                     rData.m_panelId.c_str() ); \
            return; \
        } \
        pRect = pParent; \
    }


Generated on Tue May 25 08:05:21 2010 for VLC by  doxygen 1.5.6