MGUI::FORM_LIST::CUSTOMDRAW Class Reference

Passed to delegate for OnDrawItem(). More...

#include <mgui/formlist.h>

List of all members.

Public Member Functions

const COLORGetColorBackground () const
const COLORGetColorText () const
int GetFieldNum () const
MGD::CONTEXTGetGC () const
int GetItemNum () const
const LRECT2DGetRect () const
bool HasSetColorBackground () const
bool HasSetColorText () const
void SetColorBackground (const COLOR &color)
void SetColorText (const COLOR &color)
void SetRect (const LRECT2D &rect)

Detailed Description

Passed to delegate for OnDrawItem().


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:36:02 2012 for TNTsdk 2012 by  doxygen 1.6.1