enum Tool_Types { TOOL_TYPE_PENCIL, TOOL_TYPE_ERASER, TOOL_TYPE_FILL, TOOL_TYPE_ZOOMIN, TOOL_TYPE_ZOOMOUT, TOOL_TYPE_CLOWN, TOOL_TYPE_CPICKER, TOOL_TYPE_UNDO, TOOL_TYPE_REDO, TOOL_TYPE_EMPTY, }; extern unsigned char tool_array[]; extern unsigned char tool_cur; void tool_change(unsigned char); unsigned char tool_array_size();