#include <mi32/grtree.h>
Public Types | |
| enum | FLAGS { FirstAtTop = 0x00000000, FirstAtBottom = 0x00000001, NoScrollHorizontal = 0x00000002, AllowChildSelection = 0x00000004, AllowChildReorder = 0x00000008, IncludeExpandIcons = 0x00000010, ItemMayHaveChildren = 0x00000020, SingleSelectionOnly = 0x00000040, ChildrenHidden = 0x00000080 } |
Public Member Functions | |
| void | DeleteChildren (void *ParentReference, UINT32 ParentRefIndex, bool redraw=true) |
| ITEM * | FindItemByRef (const void *RefPointer, UINT32 RefIndex) const |
| void * | GetActiveChild (void *ParentReference, UINT32 ParentRefIndex) |
| ITEM * | GetActiveItem () const |
| Widget | GetDrawingArea () const |
| void * | GetFirstItem (void *ParentReference, UINT32 ParentRefIndex) const |
| void * | GetNextItem (void *ItemReference, UINT32 ItemRefIndex) const |
| void * | GetParentItem (void *ItemReference, UINT32 ItemRefIndex) const |
| void * | GetPrivData () const |
| const ITEM * | GetRootItem () const |
| Widget | GetWidget () const |
| GRAPHICTREE (Widget parent, const char *sizefield, Arg *arglist, int argcount, FLAGS flags=FirstAtTop) | |
| ITEM * | ItemAdd (void *ItemReference, UINT32 ItemRefIndex, void(*MsgHandler)(ITEM::MSG *), int position, FLAGS flags=FirstAtTop) |
| ITEM * | ItemAdd (void *ParentReference, UINT32 ParentRefIndex, void *ItemReference, UINT32 ItemRefIndex, void(*MsgHandler)(ITEM::MSG *), int position, FLAGS flags=FirstAtTop) |
| bool | ItemAreChildrenVisible (void *ItemReference, UINT32 ItemRefIndex) |
| bool | ItemDelete (void *ItemReference, UINT32 ItemRefIndex, bool redraw=true) |
| bool | ItemExists (void *ItemReference, UINT32 ItemRefIndex) |
| int | ItemGetPosition (void *ItemReference, UINT32 ItemRefIndex) |
| void * | ItemGetPrivPtr (void *ItemReference, UINT32 ItemRefIndex) |
| bool | ItemIsVisible (void *ItemReference, UINT32 ItemRefIndex) |
| void | ItemNotifyChanged (void *ItemReference, UINT32 ItemRefIndex, bool redraw=true) |
| void | ItemRedraw (void *ItemReference, UINT32 ItemRefIndex) |
| void | ItemSetChildMarginBottom (void *ItemReference, UINT32 ItemRefIndex, UINT8 Margin) |
| void | ItemSetChildMarginLeft (void *ItemReference, UINT32 ItemRefIndex, UINT8 Margin) |
| void | ItemSetChildMarginRight (void *ItemReference, UINT32 ItemRefIndex, UINT8 Margin) |
| void | ItemSetChildMarginTop (void *ItemReference, UINT32 ItemRefIndex, UINT8 Margin) |
| void | ItemSetChildrenVisible (void *ItemReference, UINT32 ItemRefIndex, bool visible, bool redraw=true) |
| void | ItemSetChildSpacing (void *ItemReference, UINT32 ItemRefIndex, UINT8 Spacing) |
| void | ItemSetPosition (void *ItemReference, UINT32 ItemRefIndex, int position, bool redraw=true) |
| void | ItemSetPrivPtr (void *ItemReference, UINT32 ItemRefIndex, void *PrivPtr) |
| void | ItemSetVisible (void *ItemReference, UINT32 ItemRefIndex, bool visible, bool redraw=true) |
| void | NotifyChanged (bool redraw=true) |
| void | Redraw (LRECT2D *rect=0) |
| void | RedrawDisable () |
| void | RedrawEnable (bool redraw=true) |
| void | ScrollToItem (ITEM *item) |
| void | SetActiveChild (void *ParentReference, void *ItemReference) |
| void | SetActiveChild (void *ParentReference, UINT32 ParentRefIndex, void *ItemReference, UINT32 ItemRefIndex) |
| void | SetActiveItem (ITEM *item) |
| void | SetPrivData (void *data) |
| ~GRAPHICTREE () | |
Definition at line 164 of file grtree.h.
|
|
||||||||||||||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||||||
|
Delete all children of specified parent.
|
|
||||||||||||
|
Find item matching specified reference pointer and index.
|
|
||||||||||||
|
Get "active" child for given parent if any.
|
|
|
get 'active' item in single-selection mode.
|
|
|
Get DrawingArea widget for GraphicTree.
|
|
||||||||||||
|
Get first child for given parent.
|
|
||||||||||||
|
Get next "sibling" item.
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Get widget.
|
|
||||||||||||||||||||||||
|
Add item to GRAPHICTREE as child of root.
|
|
||||||||||||||||||||||||||||||||
|
Add item to GRAPHICTREE as child of specified item.
|
|
||||||||||||
|
Determine if item's children are visible.
|
|
||||||||||||||||
|
Delete item and all children.
|
|
||||||||||||
|
Determine if specified item exists.
|
|
||||||||||||
|
Get position of item in parent's list of children.
|
|
||||||||||||
|
Get private pointer for item.
|
|
||||||||||||
|
Determine visibility for item.
|
|
||||||||||||||||
|
Notify GRAPHICTREE that item has changed so will update size.
|
|
||||||||||||
|
Redraw specified item.
|
|
||||||||||||||||
|
Set bottom margin for child list.
|
|
||||||||||||||||
|
Set left margin for child list.
|
|
||||||||||||||||
|
Set right margin for child list.
|
|
||||||||||||||||
|
Set top margin for child list.
|
|
||||||||||||||||||||
|
Set visibility for children of item.
|
|
||||||||||||||||
|
Set spacing between children.
|
|
||||||||||||||||||||
|
Set item position in list.
|
|
||||||||||||||||
|
Set private pointer for item.
|
|
||||||||||||||||||||
|
Set visiblity for item.
|
|
|
Notify GraphicTree that item has changed so can recompute size/position.
|
|
|
Redraw GRAPHICTREE.
|
|
|
Disable redraw.
|
|
|
Enable redraw.
|
|
|
Scroll to make specified item visible.
|
|
||||||||||||
|
Set active child item.
|
|
||||||||||||||||||||
|
Set active child item.
|
|
|
Set active item in single-selection mode.
|
|
|
|
1.3.8-20040913