MGUI::CUSTOMDRAW_TREE Class Reference

Custom drawing parameters for CTRL_TREE. More...

#include <mgui/tree.h>

Inheritance diagram for MGUI::CUSTOMDRAW_TREE:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CUSTOMDRAW_TREE ()
 ~CUSTOMDRAW_TREE ()
MGD::PIXEL GetBackgroundPixel () const
CTRL_TREE::ITEMHND GetItemHnd () const
int GetLevel () const
MGD::PIXEL GetTextPixel () const
void SetBackgroundColor (const COLOR &color)
void SetBackgroundPixel (MGD::PIXEL pixel)
void SetTextColor (const COLOR &color)
void SetTextPixel (MGD::PIXEL pixel)

Detailed Description

Custom drawing parameters for CTRL_TREE.


Constructor & Destructor Documentation

MGUI::CUSTOMDRAW_TREE::CUSTOMDRAW_TREE (  ) 

Default constructor.

MGUI::CUSTOMDRAW_TREE::~CUSTOMDRAW_TREE (  ) 

Destructor.


Member Function Documentation

MGD::PIXEL MGUI::CUSTOMDRAW_TREE::GetBackgroundPixel (  )  const [inline]

Get background pixel value.

CTRL_TREE::ITEMHND MGUI::CUSTOMDRAW_TREE::GetItemHnd (  )  const

Get handle for item being drawn if applicable.

int MGUI::CUSTOMDRAW_TREE::GetLevel (  )  const [inline]

Get level (depth) of item being drawn.

Returns:
Level of item, root is level 0.
MGD::PIXEL MGUI::CUSTOMDRAW_TREE::GetTextPixel (  )  const [inline]

Get text color.

void MGUI::CUSTOMDRAW_TREE::SetBackgroundColor ( const COLOR color  ) 

Set background color.

Parameters:
color Color to set
void MGUI::CUSTOMDRAW_TREE::SetBackgroundPixel ( MGD::PIXEL  pixel  )  [inline]

Set background pixel value.

Parameters:
pixel Pixel value to set
void MGUI::CUSTOMDRAW_TREE::SetTextColor ( const COLOR color  ) 

Set text color.

Parameters:
color Color to set
void MGUI::CUSTOMDRAW_TREE::SetTextPixel ( MGD::PIXEL  pixel  )  [inline]

Set text pixel value.

Parameters:
pixel Pixel value to set

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

Generated on Sun Oct 7 21:35:40 2012 for TNTsdk 2012 by  doxygen 1.6.1