Add some of the Draw* methods that have been available in wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4459,6 +4459,28 @@ public:
|
|||||||
|
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
|
|
||||||
|
virtual void DrawCellHighlight( wxDC& dc, const wxGridCellAttr *attr );
|
||||||
|
|
||||||
|
virtual void DrawRowLabels( wxDC& dc, const wxArrayInt& rows );
|
||||||
|
virtual void DrawRowLabel( wxDC& dc, int row );
|
||||||
|
|
||||||
|
virtual void DrawColLabels( wxDC& dc, const wxArrayInt& cols );
|
||||||
|
virtual void DrawColLabel( wxDC& dc, int col );
|
||||||
|
|
||||||
|
virtual void DrawCornerLabel(wxDC& dc);
|
||||||
|
|
||||||
|
void DrawTextRectangle( wxDC& dc, const wxString& text, const wxRect& rect,
|
||||||
|
int horizontalAlignment = wxALIGN_LEFT,
|
||||||
|
int verticalAlignment = wxALIGN_TOP,
|
||||||
|
int textOrientation = wxHORIZONTAL ) const;
|
||||||
|
|
||||||
|
void DrawTextRectangle( wxDC& dc, const wxArrayString& lines, const wxRect& rect,
|
||||||
|
int horizontalAlignment = wxALIGN_LEFT,
|
||||||
|
int verticalAlignment = wxALIGN_TOP,
|
||||||
|
int textOrientation = wxHORIZONTAL ) const;
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/**
|
/**
|
||||||
Returns @true if this grid has support for cell attributes.
|
Returns @true if this grid has support for cell attributes.
|
||||||
|
Reference in New Issue
Block a user