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

Lines Matching defs:cell

174     wxHtmlCell *cell = rootCell->FindCellByPos(pos.x, pos.y);
175 // this check is needed because FindCellByPos returns terminal cell and
178 if (!cell)
181 // adjust the coordinates to be relative to this cell:
182 wxPoint relpos = pos - cell->GetAbsPos(rootCell);
184 return OnCellClicked(cell, relpos.x, relpos.y, event);
190 wxHtmlCell *cell = rootCell ? rootCell->FindCellByPos(pos.x, pos.y) : NULL;
192 if (cell != m_tmpLastCell)
195 if (cell)
197 // adjust the coordinates to be relative to this cell:
198 wxPoint relpos = pos - cell->GetAbsPos(rootCell);
199 lnk = cell->GetLink(relpos.x, relpos.y);
203 if (cell)
204 cur = cell->GetMouseCursor(m_interface);
221 m_tmpLastCell = cell;
223 else // mouse moved but stayed in the same cell
225 if ( cell )
227 OnCellMouseHover(cell, pos.x, pos.y);
234 bool wxHtmlWindowMouseHelper::OnCellClicked(wxHtmlCell *cell,
240 cell, wxPoint(x,y), event);
246 wxASSERT_MSG( cell, _T("can't be called with NULL cell") );
248 cell->ProcessMouseClick(m_interface, ev.GetPoint(), ev.GetMouseEvent());
255 void wxHtmlWindowMouseHelper::OnCellMouseHover(wxHtmlCell * cell,
261 cell, wxPoint(x,y), wxMouseEvent());
902 // a cell is selected
1208 wxHtmlCell *cell = m_Cell->FindCellByPos(x, y);
1218 // right corner of the first cell of the selection depending
1221 // a line (specifically, first cell of the next line is not
1262 wxHtmlCell *selcell = cell;
1317 // NB: because we're passing in 'cell' and not 'm_Cell' (so that the
1318 // leaf cell lookup isn't done twice), we need to adjust the
1321 if (cell)
1322 posInCell -= cell->GetAbsPos();
1323 wxHtmlWindowMouseHelper::HandleIdle(cell, posInCell);
1449 wxHtmlCell *cell = m_Cell->FindCellByPos(pos.x, pos.y);
1450 if ( cell )
1454 m_selection->Set(cell, cell);
1455 RefreshRect(wxRect(CalcScrolledPosition(cell->GetAbsPos()),
1456 wxSize(cell->GetWidth(), cell->GetHeight())));
1465 wxHtmlCell *cell = m_Cell->FindCellByPos(pos.x, pos.y);
1466 if ( cell )
1469 // cells in same container as the cell under mouse cursor that are
1470 // neither completely above nor completely bellow the clicked cell
1473 int y1 = cell->GetAbsPos().y;
1474 int y2 = y1 + cell->GetHeight();
1480 // find last cell of line:
1481 for ( c = cell->GetNext(); c; c = c->GetNext())
1490 after = cell;
1492 // find first cell of line:
1493 for ( c = cell->GetParent()->GetFirstChild();
1494 c && c != cell; c = c->GetNext())
1506 before = cell;
1595 wxPoint wxHtmlWindow::HTMLCoordsToWindow(wxHtmlCell *WXUNUSED(cell),