64 CustomGrid(wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
65 const wxSize& size,
long style,
const wxString& name);
69 void GetFirstVisibleCell(
int& frow,
int& fcol);
70 void GetLastVisibleCell(
int& lrow,
int& lcol);
71 void SetNumericalRow(
int row,
int col,
int datatype,
double value);
76 void DrawColLabel(wxDC& dc,
int col);
77 void DrawRowLabel(wxDC& dc,
int row);
78 void DrawCornerLabel(wxDC& dc);
79 void OnScroll(wxScrollEvent& event);
80 void OnMouseEvent(wxMouseEvent& event);
81 void OnResize(wxSizeEvent& event);
82 void OnLabeClick(wxGridEvent& event);
83 void OnRefreshTimer(wxTimerEvent& event);
84 bool IsRowVisible(
int row);
85 int GetRowIndex(
int row);
87 wxTimer m_tRefreshTimer;
88 wxColour m_greenColour;
89 wxColour m_greyColour;
91 std::vector<std::vector<double> > m_NumRowVal;
92 std::vector<int> m_NumRow;
106 : wxGridCellRenderer(), m_dDir(dir), m_IsDigit(isdigit) {}
108 virtual void Draw(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
109 const wxRect& rect,
int row,
int col,
bool isSelected);
111 wxSize GetBestSize(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc,
int row,
113 return wxSize(-1, -1);
115 wxGridCellRenderer* Clone()
const {
120 void GetArrowsPoints(
double si,
double co,
int di,
int dj,
int i,
int j,
121 int k,
int l,
double& ii,
double& jj,
double& kk,