59 const std::list< std::string > &parentHier,
62 bool hasSelectedCell =
false;
65 if (cell == selectedCell)
66 hasSelectedCell =
true;
68 masterList.push_back( parentHier );
69 std::list< std::string > *newItem = &masterList.back();
70 (*newItem).push_back( cell->
id() );
72 bool savedCell =
false;
76 (*newItem).push_back( selectedCell->
id() );
79 return hasSelectedCell;
84 std::list< std::string >base;
92 for (std::list< std::list< std::string > >::const_iterator catIt = idList.begin();
93 catIt != idList.end();
96 for (std::list< std::string >::const_iterator travIt = (*catIt).begin();
97 travIt != (*catIt).end();
103 if (!celllist || celllist->
count() == 0) {
150 if ( !
isClear( backgroundColor ) )
159 drawRect.
origin.
x += indentPerLevel;
217 if (list != NULL && list->
count() > 0) {
226 lastChild = loopList->
cellAt( loopList->
count()-1 );
231 if (loopList == NULL || loopList->
count() == 0)
255 for (
int i = 0;
i < list->
count();
i++) {
329 if (command ==
"Scroller::PositionChanged") {
402 , m_extraCellHeight( 0.0 )
403 , m_textMargins(
Size( 0.0, 0.0 ) )
404 , m_cellPressed( NULL )
405 , m_highlightedCell( NULL )
406 , m_selectedCell( NULL )
408 , m_scrollPosition( 0 )
409 , m_needRecalcDisplay( true )