MCPcopy Create free account
hub / github.com/SpartanJ/eepp / drawChildren

Method drawChildren

include/eepp/ui/uiitemcontainer.hpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56template <class TContainer> void UIItemContainer<TContainer>::drawChildren() {
57 TContainer* tParent = reinterpret_cast<TContainer*>( getParent() );
58
59 if ( tParent->mItems.size() ) {
60 for ( Uint32 i = tParent->mVisibleFirst; i <= tParent->mVisibleLast; i++ )
61 if ( NULL != tParent->mItems[i] )
62 tParent->mItems[i]->nodeDraw();
63 }
64}
65
66template <class TContainer> Node* UIItemContainer<TContainer>::overFind( const Vector2f& Point ) {
67 TContainer* tParent = reinterpret_cast<TContainer*>( getParent() );

Callers

nothing calls this directly

Calls 3

getParentFunction · 0.85
sizeMethod · 0.45
nodeDrawMethod · 0.45

Tested by

no test coverage detected