• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/generic/

Lines Matching defs:cell

102     // return the cached cell for this index or NULL if none
118 void Store(size_t item, wxHtmlCell *cell)
121 m_cells[m_next] = cell;
145 // the index of the LRU (oldest) cell
304 wxHtmlContainerCell *cell = (wxHtmlContainerCell *)m_htmlParser->
306 wxCHECK_RET( cell, _T("wxHtmlParser::Parse() returned NULL?") );
308 // set the cell's ID to item's index so that CellCoordsToPhysical()
310 cell->SetId(wxString::Format(_T("%lu"), (unsigned long)n));
312 cell->Layout(GetClientSize().x - 2*GetMargins().x);
314 m_cache->Store(n, cell);
363 wxHtmlCell *cell = m_cache->Get(n);
364 wxCHECK_RET( cell, _T("this cell should be cached!") );
368 // draw the selected cell in selected state
372 htmlSel.Set(wxPoint(0,0), cell, wxPoint(INT_MAX, INT_MAX), cell);
381 // entire cell
382 cell->Draw(dc,
391 wxHtmlCell *cell = m_cache->Get(n);
392 wxCHECK_MSG( cell, 0, _T("this cell should be cached!") );
394 return cell->GetHeight() + cell->GetDescent() + 4;
426 wxPoint wxHtmlListBox::HTMLCoordsToWindow(wxHtmlCell *cell,
429 return CellCoordsToPhysical(pos, cell);
476 bool wxHtmlListBox::PhysicalCoordsToCell(wxPoint& pos, wxHtmlCell*& cell) const
486 cell = m_cache->Get(n);
491 size_t wxHtmlListBox::GetItemForCell(const wxHtmlCell *cell) const
493 wxCHECK_MSG( cell, 0, _T("no cell") );
495 cell = cell->GetRootCell();
497 wxCHECK_MSG( cell, 0, _T("no root cell") );
499 // the cell's ID contains item index, see CacheItem():
501 if ( !cell->GetId().ToULong(&n) )
503 wxFAIL_MSG( _T("unexpected root cell's ID") );
511 wxHtmlListBox::CellCoordsToPhysical(const wxPoint& pos, wxHtmlCell *cell) const
513 return pos + GetRootCellCoords(GetItemForCell(cell));
523 wxHtmlCell *cell;
525 if ( !PhysicalCoordsToCell(pos, cell) )
528 wxHtmlWindowMouseHelper::HandleIdle(cell, pos);
541 wxHtmlCell *cell;
543 if ( !PhysicalCoordsToCell(pos, cell) )
549 if ( !wxHtmlWindowMouseHelper::HandleMouseClick(cell, pos, event) )