typedef enum
{
ID_TOOL_PAINT_BRUSH = 30001,
ID_TOOL_PAINT_SHAPE_LINE = 30002,
ID_TOOL_PAINT_SHAPE_RECT = 30003,
ID_TOOL_PAINT_SHAPE_ROUNDRECT = 30004,
ID_TOOL_PAINT_SHAPE_ELLIPSE = 30005,
ID_TOOL_PAINT_SHAPE_POLYGON = 30006,
ID_TOOL_PAINT_SHAPE_BEZIER = 30007,
ID_TOOL_PAINT_REGION_RECT = 30008,
ID_TOOL_PAINT_REGION_ROUNDRECT = 30009,
ID_TOOL_PAINT_REGION_ELLIPSE = 30010,
ID_TOOL_PAINT_REGION_POLYGON = 30011,
ID_TOOL_PAINT_REGION_SURFACE = 30012,
ID_TOOL_PAINT_REGION_BORDER = 30013,
ID_TOOL_PAINT_REGION_COLOR = 30014,
ID_TOOL_PAINT_FILL_SURFACE = 30015,
ID_TOOL_PAINT_FILL_BORDER = 30016,
ID_TOOL_PAINT_FILL_COLORREPLACE = 30017,
ID_TOOL_PAINT_TEXT = 30018,
ID_TOOL_PAINT_ZOOM = 30019,
ID_TOOL_PAINT_BORDERCOLORPICKER = 30020,
ID_TOOL_PAINT_MOVER = 30021,
ID_TOOL_PAINT_COUNT = 21,
ID_TOOL_VECTOR_NONE = 30101,
ID_TOOL_VECTOR_SELECT = 30102,
ID_TOOL_VECTOR_VERTEX = 30103,
ID_TOOL_VECTOR_LINE = 30104,
ID_TOOL_VECTOR_RECTANGLE = 30105,
ID_TOOL_VECTOR_POLYLINE = 30106,
ID_TOOL_VECTOR_POLYBEZIER = 30107,
ID_TOOL_VECTOR_POLYGON = 30108,
ID_TOOL_VECTOR_ELLIPSE = 30109,
ID_TOOL_VECTOR_CIRCLE = 30110,
ID_TOOL_VECTOR_ARC = 30111,
ID_TOOL_VECTOR_TEXT = 30112,
ID_TOOL_VECTOR_PIE = 30113,
ID_TOOL_VECTOR_CHORD = 30114,
ID_TOOL_VECTOR_RASTER = 30115,
ID_TOOL_VECTOR_ROTATE = 30116,
ID_TOOL_VECTOR_PAN = 30117,
ID_TOOL_VECTOR_COUNT = 17
} TOOLBARBUTTONID ;
Contains information about a tool associated with a button in a toolbar.
Member |
Description |
ID_TOOL_PAINT_BRUSH |
Paintbrush tool |
ID_TOOL_PAINT_SHAPE_LINE |
Line shape tool |
ID_TOOL_PAINT_SHAPE_RECT |
Rectangle shape tool |
ID_TOOL_PAINT_SHAPE_ROUNDRECT |
Rounded rectangle shape tool |
ID_TOOL_PAINT_SHAPE_ELLIPSE |
Ellipse shape tool |
ID_TOOL_PAINT_SHAPE_POLYGON |
Polygon shape tool |
ID_TOOL_PAINT_SHAPE_BEZIER |
Bezier shape tool |
ID_TOOL_PAINT_REGION_RECT |
Region rectangle tool |
ID_TOOL_PAINT_REGION_ROUNDRECT |
Rounded rectangle region tool |
ID_TOOL_PAINT_REGION_ELLIPSE |
Ellipse region tool |
ID_TOOL_PAINT_REGION_POLYGON |
Polygon region tool |
ID_TOOL_PAINT_REGION_SURFACE |
Surface region tool |
ID_TOOL_PAINT_REGION_BORDER |
Border region tool |
ID_TOOL_PAINT_REGION_COLOR |
Color region tool |
ID_TOOL_PAINT_FILL_SURFACE |
Surface fill tool |
ID_TOOL_PAINT_FILL_BORDER |
Border fill tool |
ID_TOOL_PAINT_FILL_COLORREPLACE |
Color replace tool |
ID_TOOL_PAINT_TEXT |
Text tool |
ID_TOOL_PAINT_ZOOM |
Zoom tool |
ID_TOOL_PAINT_BORDERCOLORPICKER |
Border color picker tool |
ID_TOOL_PAINT_MOVER |
Mover tool |
ID_TOOL_PAINT_COUNT |
Number of toolbar buttons |
|
|
ID_TOOL_VECTOR_NONE Neutral |
(No tool selected) |
ID_TOOL_VECTOR_SELECT |
Select object(s) |
ID_TOOL_VECTOR_VERTEX |
Vertex |
ID_TOOL_VECTOR_LINE |
Line |
ID_TOOL_VECTOR_RECTANGLE |
Rectangle |
ID_TOOL_VECTOR_POLYLINE |
Polyline |
ID_TOOL_VECTOR_POLYBEZIER |
Polybezier |
ID_TOOL_VECTOR_POLYGON |
Polygon |
ID_TOOL_VECTOR_ELLIPSE |
Ellipse |
ID_TOOL_VECTOR_CIRCLE |
Circle |
ID_TOOL_VECTOR_ARC |
Arc |
ID_TOOL_VECTOR_TEXT |
Text |
ID_TOOL_VECTOR_PIE |
Pie |
ID_TOOL_VECTOR_CHORD |
Chord |
ID_TOOL_VECTOR_RASTER |
Raster |
ID_TOOL_VECTOR_ROTATE |
Rotate |
ID_TOOL_VECTOR_PAN |
Pan |
ID_TOOL_VECTOR_COUNT |
Number of toolbar buttons |
The values in this enumeration represent the IDs of all buttons for the vector and paint toolbars.