Passed to delegate for OnDrawItem(). More...
#include <mgui/formlist.h>
Public Member Functions | |
| const COLOR & | GetColorBackground () const |
| const COLOR & | GetColorText () const |
| int | GetFieldNum () const |
| MGD::CONTEXT * | GetGC () const |
| int | GetItemNum () const |
| const LRECT2D & | GetRect () const |
| bool | HasSetColorBackground () const |
| bool | HasSetColorText () const |
| void | SetColorBackground (const COLOR &color) |
| void | SetColorText (const COLOR &color) |
| void | SetRect (const LRECT2D &rect) |
Passed to delegate for OnDrawItem().
| const COLOR& MGUI::FORM_LIST::CUSTOMDRAW::GetColorBackground | ( | ) | const [inline] |
Get color for drawing background.
| const COLOR& MGUI::FORM_LIST::CUSTOMDRAW::GetColorText | ( | ) | const [inline] |
Get color for drawing text.
| int MGUI::FORM_LIST::CUSTOMDRAW::GetFieldNum | ( | ) | const [inline] |
Get field number to draw.
| MGD::CONTEXT* MGUI::FORM_LIST::CUSTOMDRAW::GetGC | ( | ) | const [inline] |
| int MGUI::FORM_LIST::CUSTOMDRAW::GetItemNum | ( | ) | const [inline] |
Get item number to draw.
| const LRECT2D& MGUI::FORM_LIST::CUSTOMDRAW::GetRect | ( | ) | const [inline] |
Get rectangle on canvas for field, may not be entirely inside canvas.
| bool MGUI::FORM_LIST::CUSTOMDRAW::HasSetColorBackground | ( | ) | const [inline] |
Determine if background color has been set.
| bool MGUI::FORM_LIST::CUSTOMDRAW::HasSetColorText | ( | ) | const [inline] |
Determine if text color has been set.
| void MGUI::FORM_LIST::CUSTOMDRAW::SetColorBackground | ( | const COLOR & | color | ) | [inline] |
Set color for drawing background, use to override standard drawing.
| void MGUI::FORM_LIST::CUSTOMDRAW::SetColorText | ( | const COLOR & | color | ) | [inline] |
Set color for drawing text, use to override standard drawing.
| void MGUI::FORM_LIST::CUSTOMDRAW::SetRect | ( | const LRECT2D & | rect | ) | [inline] |
Set rectangle for field.
1.6.1