GRAPHICLIST Class Reference

#include <mi32/grlist.h>

List of all members.

Classes

struct  MSG

Public Types

enum  FLAGS { FLAG_NoScrollHorizontal = 0x00000001, FLAG_AllowItemSelection = 0x00000002, FLAG_AllowMultiSelection = 0x00000004, FLAG_NoAutoTraversal = 0x00000008 }
typedef void(* MSGHANDLER )(MSG *)

Public Member Functions

 ~GRAPHICLIST ()
void DisableRedraw ()
void EnableRedraw (bool redraw=true)
INT16 GetItemHeight () const
int GetMaxVisible () const
int GetNumItems () const
int GetSelectedItem () const
void Redraw (LRECT2D *rect=0)
void RedrawItem (int itemnum)
void SelectItem (int itemnum, bool exclusive=true)
void SetChanged ()
void SetFirstVisibleItem (int itemnum)
void SetItemChanged (int itemnum)
void SetItemHeight (int height)
void SetItemSpacing (int spacing)
void SetItemWidth (int width)
void SetNumItems (int numitems)

Member Typedef Documentation

typedef void(* GRAPHICLIST::MSGHANDLER)(MSG *)

Member Enumeration Documentation

Enumerator:
FLAG_NoScrollHorizontal 

Don't include horizontal scrollbar.

FLAG_AllowItemSelection 
FLAG_AllowMultiSelection 
FLAG_NoAutoTraversal 

Don't traverse to DrawingArea on EnterNotify.


Constructor & Destructor Documentation

GRAPHICLIST::~GRAPHICLIST (  ) 

Destructor.


Member Function Documentation

void GRAPHICLIST::DisableRedraw (  )  [inline]

Disable redraws.

void GRAPHICLIST::EnableRedraw ( bool  redraw = true  )  [inline]

Enable redraws.

INT16 GRAPHICLIST::GetItemHeight (  )  const [inline]

Get height of items in list.

int GRAPHICLIST::GetMaxVisible (  )  const [inline]

Get maximum number of visible items.

int GRAPHICLIST::GetNumItems (  )  const [inline]

Get number of items in list.

int GRAPHICLIST::GetSelectedItem (  )  const [inline]

Get currently-selected item.

void GRAPHICLIST::Redraw ( LRECT2D rect = 0  ) 

Redraw GRAPHICLIST.

void GRAPHICLIST::RedrawItem ( int  itemnum  ) 

Redraw specified item.

void GRAPHICLIST::SelectItem ( int  itemnum,
bool  exclusive = true 
)

Selected specified item.

void GRAPHICLIST::SetChanged (  ) 

Set list as "changed" so recomputes all item sizes on next redraw.

void GRAPHICLIST::SetFirstVisibleItem ( int  itemnum  ) 

Set first visible item in list.

void GRAPHICLIST::SetItemChanged ( int  itemnum  ) 

Set item as "changed" so recomputes size on next redraw.

void GRAPHICLIST::SetItemHeight ( int  height  ) 

Set height of items in pixels.

void GRAPHICLIST::SetItemSpacing ( int  spacing  ) 

Set spacing between items in pixels.

void GRAPHICLIST::SetItemWidth ( int  width  ) 

Set width of items in pixels.

void GRAPHICLIST::SetNumItems ( int  numitems  ) 

Set number of list items.


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

Generated on Sun Oct 7 21:33:28 2012 for TNTsdk 2012 by  doxygen 1.6.1