Lines Matching defs:coords
71 : coords(row, col), attr(attr_)
77 : coords(other.coords),
85 coords = other.coords;
111 wxGridCellCoords coords;
2718 wxGridCellCoords& coords = m_attrs[n].coords;
2719 wxCoord row = coords.GetRow();
2725 coords.SetRow(row + numRows);
2733 coords.SetRow(row + numRows);
2752 wxGridCellCoords& coords = m_attrs[n].coords;
2753 wxCoord col = coords.GetCol();
2759 coords.SetCol(col + numCols);
2767 coords.SetCol(col + numCols);
2786 const wxGridCellCoords& coords = m_attrs[n].coords;
2787 if ( (coords.GetRow() == row) && (coords.GetCol() == col) )
3891 // coords to match the parent scrolled window and we just want to
3962 // coords to match the parent scrolled window and we just want to
6068 wxGridCellCoords coords;
6069 XYToCell( x, y, coords );
6073 GetCellSize( coords.GetRow(), coords.GetCol(), &cell_rows, &cell_cols );
6076 coords.SetRow(coords.GetRow() + cell_rows);
6077 coords.SetCol(coords.GetCol() + cell_cols);
6082 //wxLogDebug("pos(%d, %d) coords(%d, %d)", pos.x, pos.y, coords.GetRow(), coords.GetCol());
6108 if ( coords != wxGridNoCellCoords )
6113 m_selectingKeyboard = coords;
6114 HighlightBlock( m_selectingKeyboard, coords );
6121 m_selectingKeyboard = coords;
6124 coords.GetRow(),
6125 coords.GetCol(),
6134 HighlightBlock( coords, coords );
6138 HighlightBlock( m_currentCellCoords, coords );
6142 if (! IsVisible(coords))
6144 MakeCellVisible(coords);
6217 if ( event.LeftDown() && coords != wxGridNoCellCoords )
6220 coords.GetRow(),
6221 coords.GetCol(),
6232 coords.GetRow(),
6233 coords.GetCol(),
6244 MakeCellVisible( coords );
6250 m_selection->ToggleCellSelection( coords.GetRow(),
6251 coords.GetCol(),
6259 m_selectingKeyboard = coords;
6263 m_waitForSlowClick = m_currentCellCoords == coords && coords != wxGridNoCellCoords;
6264 SetCurrentCell( coords );
6270 HighlightBlock( coords, coords );
6280 else if ( event.LeftDClick() && coords != wxGridNoCellCoords )
6287 coords.GetRow(),
6288 coords.GetCol(),
6311 if ( coords == m_currentCellCoords && m_waitForSlowClick && CanEnableCellControl() )
6316 wxGridCellAttr *attr = GetCellAttr(coords);
6317 wxGridCellEditor *editor = attr->GetEditor(this, coords.GetRow(), coords.GetCol());
6373 else if ( event.RightDown() && coords != wxGridNoCellCoords )
6377 coords.GetRow(),
6378 coords.GetCol(),
6387 else if ( event.RightDClick() && coords != wxGridNoCellCoords )
6391 coords.GetRow(),
6392 coords.GetCol(),
6403 if ( coords.GetRow() < 0 || coords.GetCol() < 0 )
7341 void wxGrid::SetCurrentCell( const wxGridCellCoords& coords )
7343 if ( SendEvent( wxEVT_GRID_SELECT_CELL, coords.GetRow(), coords.GetCol() ) )
7373 m_currentCellCoords = coords;
7384 m_currentCellCoords = coords;
7386 wxGridCellAttr *attr = GetCellAttr( coords );
7737 void wxGrid::DrawCell( wxDC& dc, const wxGridCellCoords& coords )
7739 int row = coords.GetRow();
7740 int col = coords.GetCol();
7748 DrawCellBorder( dc, coords );
7753 bool isCurrent = coords == m_currentCellCoords;
7775 renderer->Draw(*this, *attr, dc, rect, row, col, IsInSelection(coords));
7859 void wxGrid::DrawCellBorder( wxDC& dc, const wxGridCellCoords& coords )
7861 int row = coords.GetRow();
7862 int col = coords.GetCol();
7954 // virtual coords of visible area
8562 // convert to scrolled coords
8738 void wxGrid::XYToCell( int x, int y, wxGridCellCoords& coords )
8745 coords = wxGridNoCellCoords;
8749 coords.Set( row, col );
8889 // coords can only possibly be near an edge if
8892 // than WXGRID_LABEL_EDGE_ZONE, coords are _never_ considered to be
8975 // get the cell rectangle in logical coords
8979 // convert to device coords
9015 // get the cell rectangle in logical coords
9018 // convert to device coords
11269 // in device coords clipped to the client size of the grid window.
11379 // Convert to scrolled coords