#include <mgui/tree.h>
Public Member Functions | |
| CHILDPRESENCE | GetChildPresence () const |
| ITEMHND | GetHandle () const |
| int | GetHeightMult () const |
| ID | GetID () const |
| int | GetImageNormal () const |
| int | GetImagePrimary () const |
| int | GetImageSelected () const |
| int | GetImageState () const |
| ITEMSTATUS | GetStatus () const |
| ITEMSTYLE | GetStyle () const |
| const MISTRING & | GetText () const |
| ITEMVALUES | GetValidValues () const |
| ITEMINFO (const MISTRING &text, ID id=0) | |
| ITEMINFO () | |
| void | Set (const ITEMINFO &iteminfo) |
| void | SetBold (bool bold=true) |
| void | SetChildPresence (CHILDPRESENCE ChildPresence) |
| void | SetHeightMult (int HeightMult) |
| void | SetID (ID id) |
| void | SetImageNormal (int IdxNormal) |
| void | SetImageSelected (int IdxSelected) |
| void | SetImageState (unsigned int IdxState) |
| void | SetRetainImages () |
| void | SetRetainText () |
| void | SetStatus (ITEMSTATUS status) |
| void | SetStyle (ITEMSTYLE style) |
| void | SetText (const MISTRING &text) |
| ~ITEMINFO () | |
Used for efficient setting an retrieval of various item information.
Definition at line 134 of file tree.h.
|
|
Default constructor.
|
|
||||||||||||
|
|
|
|
Destructor.
|
|
|
Get child presence.
|
|
|
Get item handle.
|
|
|
Get height multiplier.
|
|
|
Get ID for attaching external information to item.
|
|
|
Get index for 'normal' image.
|
|
|
Get primary image index based on current status.
|
|
|
Get index for 'selected' image.
|
|
|
Get 'state' image index.
|
|
|
Get item status.
|
|
|
Get item style.
|
|
|
Get item text. If item text retained by owner the returned string will be empty. |
|
|
Get enumeration of valid values.
|
|
|
Set 'externally settable' members from ITEMINFO.
|
|
|
Set item 'bold' status.
|
|
|
Set whether item 'might' have children. This setting has no effect if item already has children.
|
|
|
Set height multiplier. Actual item height will be base height * multiplier.
|
|
|
Set ID for attaching external information to item.
|
|
|
Set primary image index for 'normal' status.
|
|
|
Set primary image index for 'selected' status.
|
|
|
Set 'state' image index.
|
|
|
Set to retain returned images so not requested again. Used in v_OnGetItemInfo(). |
|
|
Set to retain returned text so not requested again. Used in v_OnGetItemInfo(). |
|
|
Set item status.
|
|
|
Set item style for insertion. Has no effect for existing items. |
|
|
Set item text.
|
1.3.8-20040913