NAME
EZ_TreeSetFGColor, EZ_TreeSetBGColor - set the fore-
ground/background color for a tree
SYNOPSIS
#include <EZ.h>
void EZ_TreeSetFGColor(EZ_TreeNode *root, unsigned long pv)
void EZ_TreeSetBGColor(EZ_TreeNode *root, unsigned long pv)
void EZ_TreeSetFGColor(EZ_TreeNode *root, char *colorname)
void EZ_TreeSetBGColor(EZ_TreeNode *root, char *colorname)
ARGUMENTS
root Specifies a tree node, the root of a subtree.
pv Specifies a pixel value.
colorname Specifies a color.
DESCRIPTION
EZ_TreeSetFGColor travers the subtree rooted at root and
set the forground color for each node to the specified
color.
EZ_TreeSetBGColor travers the subtree rooted at root and
set the background color for each node to the specified
color.
EZ_TreeSetFGColorName and EZ_TreeSetBGColorName do the
same work except they use color names instead of pixel
values.
SEE ALSO
EZ_CreateTreeNode(3), EZ_TreeTraverseTree(3),
EZ_TreeSetCharacter(3)