Demonstrate intensive attribute usage in grid sample

Add options to fill grid either half (checkered cells) or fully (all
cells coloured) with attributes. Available from Grid > "Toggle Checkered
Cells" and "Toggle Coloured Cells".
This commit is contained in:
Dimitri Schoolwerth
2021-02-09 19:48:29 +01:00
parent b5edfa2872
commit 823d79ce06
2 changed files with 93 additions and 0 deletions

View File

@@ -49,6 +49,8 @@ class GridFrame : public wxFrame
void AutoSizeCols( wxCommandEvent& );
void CellOverflow( wxCommandEvent& );
void ResizeCell( wxCommandEvent& );
void ToggleCheckeredCells( wxCommandEvent& );
void ToggleColouredCells( wxCommandEvent& );
void SetLabelColour( wxCommandEvent& );
void SetLabelTextColour( wxCommandEvent& );
void SetLabelFont(wxCommandEvent &);
@@ -153,6 +155,8 @@ public:
ID_TOGGLEGRIDLINES,
ID_AUTOSIZECOLS,
ID_CELLOVERFLOW,
ID_TOGGLE_CHECKERED_CELLS,
ID_TOGGLE_COLOURED_CELLS,
ID_HIDECOL,
ID_SHOWCOL,
ID_HIDEROW,