KiCad PCB EDA Suite
|
Public Member Functions | |
int | GetHeight (wxDC &aDC, wxGrid *aGrid, int aRow, int aCol) |
wxGridCellRenderer * | Clone () const override |
Private Member Functions | |
wxArrayString | GetTextLines (wxGrid &grid, wxDC &dc, const wxGridCellAttr &attr, const wxRect &rect, int row, int col) |
void | BreakLine (wxDC &dc, const wxString &logicalLine, wxCoord maxWidth, wxArrayString &lines) |
wxCoord | BreakWord (wxDC &dc, const wxString &word, wxCoord maxWidth, wxArrayString &lines, wxString &line) |
Definition at line 58 of file dialog_edit_symbols_libid.cpp.
|
private |
Definition at line 127 of file dialog_edit_symbols_libid.cpp.
References BreakWord().
Referenced by GetTextLines().
|
private |
Definition at line 180 of file dialog_edit_symbols_libid.cpp.
References BreakWord().
Referenced by BreakLine(), and BreakWord().
|
inlineoverride |
Definition at line 63 of file dialog_edit_symbols_libid.cpp.
Referenced by DIALOG_EDIT_SYMBOLS_LIBID::AddRowToGrid().
int GRIDCELL_AUTOWRAP_STRINGRENDERER::GetHeight | ( | wxDC & | aDC, |
wxGrid * | aGrid, | ||
int | aRow, | ||
int | aCol | ||
) |
Definition at line 232 of file dialog_edit_symbols_libid.cpp.
References GetTextLines(), and GRID_CELL_MARGIN.
Referenced by DIALOG_EDIT_SYMBOLS_LIBID::AddRowToGrid(), and DIALOG_EDIT_SYMBOLS_LIBID::OnSizeGrid().
|
private |
Definition at line 92 of file dialog_edit_symbols_libid.cpp.
References BreakLine(), and grid.
Referenced by GetHeight().