Public Member Functions | |
| CPaintInfo () | |
| Default constructor. | |
| CPaintInfo (const CPaintInfo &PaintInfo) | |
| CPaintInfo (COLORREF foreColor, COLORREF backColor, CRect visibleRect, CRect virtualRect, CRect clipRect, CFont *font, int leftTextOffset, int rightTextOffset, const CHighlightSettings &settings) | |
| COLORREF | GetForeColor () const |
| Gets foreground color. | |
| COLORREF | GetBackColor () const |
| Gets background color. | |
| const CRect & | GetVisibleRect () const |
| Gets a visible rectangle. | |
| const CRect & | GetVirtualRect () const |
| Gets a virtual rectangle. | |
| const CRect & | GetClipRect () const |
| Gets a clipped rectangle. | |
| CFont * | GetFont () const |
| Gets a font. | |
| int | GetLeftTextOffset () const |
| Gets an offset from the left of a virtual rectangle to paint a text. | |
| int | GetRightTextOffset () const |
| Gets an offset from the right of a virtual rectangle to paint a text. | |
| const CHighlightSettings & | GetHighlightSettings () const |
| Gets highlight settings. | |
| void | SetForeColor (COLORREF color) |
| Sets new foreground color. | |
| void | SetBackColor (COLORREF color) |
| Sets new background color. | |
| void | SetVisibleRect (const CRect &rc) |
| Sets a new visible rectangle. | |
| void | SetVirtualRect (const CRect &rc) |
| Sets a new virtual rectangle. | |
| void | SetClipRect (const CRect &rc) |
| Sets a new clipped rectangle. | |
| void | SetFont (CFont *font) |
| Sets a new font. | |
| void | SetLeftTextOffset (int offset) |
| Sets a new offset to the left of a virtual rectangle to paint a text. | |
| void | SetRightTextOffset (int offset) |
| Sets a new offset to the right of a virtual rectangle to paint a text. | |
| void | SetHighlightSettings (const CHighlightSettings &settings) |
| Sets new highlight settings. | |
| CPaintInfo | ( | const CPaintInfo & | paintInfo | ) |
Copy constructor
| [in] | paintInfo | Paint info to be copied |
| CPaintInfo | ( | COLORREF | foreColor, | |
| COLORREF | backColor, | |||
| CRect | visibleRect, | |||
| CRect | virtualRect, | |||
| CRect | clipRect, | |||
| CFont * | font, | |||
| int | leftTextOffset, | |||
| int | rightTextOffset, | |||
| const CHighlightSettings & | settings | |||
| ) |
Constructor
| [in] | foreColor | Foreground color |
| [in] | backColor | Background color |
| [in] | visibleRect | Visible rectangle |
| [in] | virtualRect | Virtual rectangle |
| [in] | clipRect | Clipped rectangle |
| [in] | font | Pointer to a font object |
| [in] | leftTextOffset | Offset from the left of a virtual rectangle to paint a text |
| [in] | rightTextOffset | Offset from the right of a virtual rectangle to paint a text |
| [in] | settings | Highlight settings |
| COLORREF GetForeColor | ( | ) | const [inline] |
Gets foreground color.
| COLORREF GetBackColor | ( | ) | const [inline] |
Gets background color.
| const CRect & GetVisibleRect | ( | ) | const [inline] |
Gets a visible rectangle.
| const CRect & GetVirtualRect | ( | ) | const [inline] |
Gets a virtual rectangle.
| const CRect & GetClipRect | ( | ) | const [inline] |
Gets a clipped rectangle.
| CFont * GetFont | ( | ) | const [inline] |
Gets a font.
| int GetLeftTextOffset | ( | ) | const [inline] |
Gets an offset from the left of a virtual rectangle to paint a text.
| int GetRightTextOffset | ( | ) | const [inline] |
Gets an offset from the right of a virtual rectangle to paint a text.
| const CHighlightSettings & GetHighlightSettings | ( | ) | const [inline] |
Gets highlight settings.
| void SetForeColor | ( | COLORREF | color | ) | [inline] |
Sets new foreground color.
| [in] | color | Foreground color |
| void SetBackColor | ( | COLORREF | color | ) | [inline] |
Sets new background color.
| [in] | color | Background color |
| void SetVisibleRect | ( | const CRect & | rc | ) | [inline] |
Sets a new visible rectangle.
| [in] | rc | Visible rectangle |
| void SetVirtualRect | ( | const CRect & | rc | ) | [inline] |
Sets a new virtual rectangle.
| [in] | rc | Virtual rectangle |
| void SetClipRect | ( | const CRect & | rc | ) | [inline] |
Sets a new clipped rectangle.
| [in] | rc | Clipped rectangle |
| void SetFont | ( | CFont * | font | ) | [inline] |
Sets a new font.
| [in] | font | Pointer to a font object |
| void SetLeftTextOffset | ( | int | offset | ) | [inline] |
Sets a new offset to the left of a virtual rectangle to paint a text.
| [in] | offset | Offset from the left of a virtual rectangle to paint a text |
| void SetRightTextOffset | ( | int | offset | ) | [inline] |
Sets a new offset to the right of a virtual rectangle to paint a text.
| [in] | offset | Offset from the right of a virtual rectangle to paint a text |
| void SetHighlightSettings | ( | const CHighlightSettings & | settings | ) | [inline] |
Sets new highlight settings.
| [in] | settings | Highlight settings |
| Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |