• 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

127     bool CallOnMouseClick(wxHtmlCell *cell)
131 cell->OnMouseClick
308 bool wxHtmlCell::IsBefore(wxHtmlCell *cell) const
311 const wxHtmlCell *c2 = cell;
313 unsigned d2 = cell->GetDepth();
322 if ( cell == this )
363 void wxHtmlWordCell::SetPreviousWord(wxHtmlWordCell *cell)
365 if ( cell && m_Parent == cell->m_Parent &&
366 !wxIsspace(cell->m_Word.Last()) && !wxIsspace(m_Word[0u]) )
384 // if the selection is entirely within this cell, make sure pt1 < pt2 in
399 // outside the cell:
627 // entire contents of the cell in this case
682 wxHtmlCell *cell = m_Cells;
683 while ( cell )
685 wxHtmlCell *cellNext = cell->GetNext();
686 delete cell;
687 cell = cellNext;
766 for (wxHtmlCell *cell = m_Cells; cell; cell = cell->GetNext())
767 cell->Layout(0);
804 for (wxHtmlCell *cell = m_Cells; cell; cell = cell->GetNext())
805 cell->Layout(m_Width - (l + r));
819 wxHtmlCell *cell = m_Cells,
821 while (cell != NULL)
826 case wxHTML_ALIGN_BOTTOM : ybasicpos = - cell->GetHeight(); break;
827 case wxHTML_ALIGN_CENTER : ybasicpos = - cell->GetHeight() / 2; break;
829 ydiff = cell->GetHeight() + ybasicpos;
831 if (cell->GetDescent() + ydiff > ysizedown) ysizedown = cell->GetDescent() + ydiff;
832 if (ybasicpos + cell->GetDescent() < -ysizeup) ysizeup = - (ybasicpos + cell->GetDescent());
835 cell->SetPos(xpos, ybasicpos + cell->GetDescent());
836 xpos += cell->GetWidth();
837 if (!cell->IsTerminalCell())
839 // Container cell indicates new line
843 if (wxMax(cell->GetWidth(), cell->GetMaxTotalWidth()) > m_MaxTotalWidth)
844 m_MaxTotalWidth = cell->GetMaxTotalWidth();
848 // Normal cell, add maximum cell width to line width
849 curLineWidth += cell->GetMaxTotalWidth();
851 cell = cell->GetNext();
855 if (cell)
857 nextCell = cell;
866 if ((cell == NULL) ||
867 (xpos + nextWordWidth > s_width && cell->IsLinebreakAllowed()))
889 if (m_AlignHor != wxHTML_ALIGN_JUSTIFY || cell == NULL)
891 while (line != cell)
908 // between two cells separated by, e.g. font change, cell which
918 if ( line != cell )
920 for ( c = line; c != cell; c = c->GetNext() )
932 // first visible cell on line is not moved:
933 while (line !=cell && !line->IsLinebreakAllowed())
940 if (line != cell)
948 for ( int n = 0; line != cell; line = line->GetNext() )
952 // offset the next cell relative to this one
972 while (line != cell)
984 line = cell;
997 cell = m_Cells;
998 while (cell)
1000 cell->SetPos(cell->GetPosX(), cell->GetPosY() + diff);
1001 cell = cell->GetNext();
1016 wxHtmlCell *cell) const
1020 if (s->GetFromCell() == cell || s->GetToCell() == cell)
1027 wxHtmlCell *cell) const
1031 if (s->GetToCell() == cell)
1033 else if (s->GetFromCell() == cell)
1079 for (wxHtmlCell *cell = m_Cells; cell; cell = cell->GetNext())
1083 if ((ylocal + cell->GetPosY() <= view_y2) &&
1084 (ylocal + cell->GetPosY() + cell->GetHeight() > view_y1))
1086 // the cell is visible, draw it:
1087 UpdateRenderingStatePre(info, cell);
1088 cell->Draw(dc,
1091 UpdateRenderingStatePost(info, cell);
1095 // the cell is off-screen, proceed with font+color+etc.
1097 cell->DrawInvisible(dc, xlocal, ylocal, info);
1110 for (wxHtmlCell *cell = m_Cells; cell; cell = cell->GetNext())
1112 UpdateRenderingStatePre(info, cell);
1113 cell->DrawInvisible(dc, x + m_PosX, y + m_PosY, info);
1114 UpdateRenderingStatePost(info, cell);
1132 wxHtmlCell *cell = FindCellByPos(x, y);
1137 return cell ? cell->GetLink(x, y) : NULL;
1204 for (wxHtmlCell *cell = m_Cells; cell; cell = cell->GetNext())
1206 const wxHtmlCell *r = cell->Find(condition, param);
1219 for ( const wxHtmlCell *cell = m_Cells; cell; cell = cell->GetNext() )
1221 int cx = cell->GetPosX(),
1222 cy = cell->GetPosY();
1224 if ( (cx <= x) && (cx + cell->GetWidth() > x) &&
1225 (cy <= y) && (cy + cell->GetHeight() > y) )
1227 return cell->FindCellByPos(x - cx, y - cy, flags);
1234 for ( const wxHtmlCell *cell = m_Cells; cell; cell = cell->GetNext() )
1236 if ( cell->IsFormattingCell() )
1238 int cellY = cell->GetPosY();
1239 if (!( y < cellY || (y < cellY + cell->GetHeight() &&
1240 x < cell->GetPosX() + cell->GetWidth()) ))
1243 c = cell->FindCellByPos(x - cell->GetPosX(), y - cellY, flags);
1250 for ( const wxHtmlCell *cell = m_Cells; cell; cell = cell->GetNext() )
1252 if ( cell->IsFormattingCell() )
1254 int cellY = cell->GetPosY();
1255 if (!( cellY + cell->GetHeight() <= y ||
1256 (y >= cellY && x >= cell->GetPosX()) ))
1258 c2 = cell->FindCellByPos(x - cell->GetPosX(), y - cellY, flags);
1287 wxHtmlCell *cell = FindCellByPos(pos.x, pos.y);
1288 if ( cell )
1289 retval = cell->ProcessMouseClick(window, pos, event);
1338 static bool IsEmptyContainer(wxHtmlContainerCell *cell)
1340 for ( wxHtmlCell *c = cell->GetFirstChild(); c; c = c->GetNext() )
1593 // is not the last child, and then go down to first terminal cell: