Pen Object Library: 3 InkControlClass

Up: GEOS SDK TechDocs | Up | Prev: 2 Working with the Ink DB

InkControlClass , a subclass of GenControlClass , provides a menu which allows the user to select an Ink tool for use with an Ink object.

Code Display 21-2 InkControlClass Features

  typedef ByteFlags 	InkControlFeatures;
/* These features may be combined using | and &:
	ICF_PENCIL_TOOL,
	ICF_ERASER_TOOL 
	ICF_SELECTION_TOOL */
  typedef ByteFlags 	InkControlToolboxFeatures;
/* These features may be combined using | and &:
	ICTF_PENCIL_TOOL,
	ICTF_ERASER_TOOL 
	ICTF_SELECTION_TOOL */
#define  IC_DEFAULT_FEATURES 					(ICF_PENCIL_TOOL | ICF_ERASER_TOOL | \
					 ICF_SELECTION_TOOL)
#define  IC_DEFAULT_TOOLBOX_FEATURES 					(ICTF_PENCIL_TOOL | ICTF_ERASER_TOOL | \
					 ICTF_SELECTION_TOOL)
/* Add this controller to the application's self-load options GCN list. */   

Up: GEOS SDK TechDocs | Up | Prev: 2 Working with the Ink DB