MCPcopy Create free account
hub / github.com/9miao/CrossApp / getSubViewAtIndex

Method getSubViewAtIndex

CrossApp/view/CAPageView.cpp:167–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167CAView* CAPageView::getSubViewAtIndex(int index)
168{
169 CAView* view = NULL;
170
171 do
172 {
173 CC_BREAK_IF(index < 0);
174 CC_BREAK_IF((size_t)index >= m_pViews.size());
175 view = m_pViews.at(index);
176 }
177 while (0);
178
179 return view;
180}
181
182void CAPageView::setShowsScrollIndicators(bool var)
183{

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected