#include <outline.h>
Public Methods | |
TNode (char *aText) | |
TNode (char *aText, TNode *aChildren, TNode *aNext, Boolean initialState=True) | |
virtual | ~TNode () |
Public Attributes | |
TNode* | next |
char* | text |
TNode* | childList |
Boolean | expanded |
Definition at line 33 of file outline.h.
|
Creates a node for an outline list. |
|
Creates a node for an outline list. Sets the new node's text, childList, and next fields to `aText', `aChildren', and `aNext', respectively. |
|
Disposes of an outline node. |
|
Field childList points to the first in a list of subordinate nodes, or holds 0 if there are no items subordinate to the node. |
|
Field expanded is True if the outline view shows the subordinate views listed in childList or False if the subordinate nodes are hidden. |
|
Field next points to the next node at the same outline level as the current node. |
|
Each node record holds the text for that item in the outline in its text field. |