KiCad PCB EDA Suite
Loading...
Searching...
No Matches
GRID_CELL_ESCAPED_TEXT_RENDERER Class Reference

A text renderer that can unescape text for display This is useful where it's desired to keep the underlying storage escaped. More...

#include <grid_text_helpers.h>

Inheritance diagram for GRID_CELL_ESCAPED_TEXT_RENDERER:

Public Member Functions

 GRID_CELL_ESCAPED_TEXT_RENDERER ()
 
void Draw (wxGrid &aGrid, wxGridCellAttr &aAttr, wxDC &aDC, const wxRect &aRect, int aRow, int aCol, bool isSelected) override
 
wxSize GetBestSize (wxGrid &grid, wxGridCellAttr &attr, wxDC &dc, int row, int col) override
 

Detailed Description

A text renderer that can unescape text for display This is useful where it's desired to keep the underlying storage escaped.

Definition at line 57 of file grid_text_helpers.h.

Constructor & Destructor Documentation

◆ GRID_CELL_ESCAPED_TEXT_RENDERER()

GRID_CELL_ESCAPED_TEXT_RENDERER::GRID_CELL_ESCAPED_TEXT_RENDERER ( )

Definition at line 77 of file grid_text_helpers.cpp.

Member Function Documentation

◆ Draw()

void GRID_CELL_ESCAPED_TEXT_RENDERER::Draw ( wxGrid &  aGrid,
wxGridCellAttr &  aAttr,
wxDC &  aDC,
const wxRect &  aRect,
int  aRow,
int  aCol,
bool  isSelected 
)
override

Definition at line 82 of file grid_text_helpers.cpp.

References UnescapeString().

◆ GetBestSize()

wxSize GRID_CELL_ESCAPED_TEXT_RENDERER::GetBestSize ( wxGrid &  grid,
wxGridCellAttr &  attr,
wxDC &  dc,
int  row,
int  col 
)
override

Definition at line 99 of file grid_text_helpers.cpp.

References UnescapeString().


The documentation for this class was generated from the following files: