OD_STATE

enum OD_STATE {
	OD_SELECT_READY,
	OD_SELECT_START,
	OD_SELECTING,
	OD_ROTATE_READY,
	OD_ROTATE_START,
	OD_ROTATING,
	OD_MOVE_START,
	OD_MOVING,
	OD_SCALE_START,
	OD_SCALING,
	OD_RECT_READY,
	OD_RECT_START,
	OD_RECT_DRAW,
	OD_LINE_READY,
	OD_LINE_START,
	OD_LINE_DRAW,
	OD_POLYLINE_READY,
	OD_POLYLINE_START,
	OD_POLYLINE_DRAW,
	OD_POLYGON_READY,
	OD_POLYGON_START,
	OD_POLYGON_DRAW,
	OD_POLYCURVE_READY,
	OD_POLYCURVE_START,
	OD_POLYCURVE_DRAW,
	OD_CLOSEDCURVE_READY,
	OD_CLOSEDCURVE_START,
	OD_CLOSEDCURVE_DRAW,
	OD_ELLIPSE_READY,
	OD_ELLIPSE_START,
	OD_ELLIPSE_DRAW,
	OD_TEXT_READY,
	OD_IMAGE_READY,
	OD_PORT_READY,
	OD_SYMBOL_INSERT,
	OD_SYMBOL_READY,
	OD_SYMBOL_START,
	OD_SYMBOL_DRAW,
	OD_MOVE_VERTEX_START,
	OD_MOVING_VERTEX,
	OD_LINK_READY,
	OD_LINK_START,
	OD_LINK_DRAW,
	OD_ZOOM_READY,
	OD_ZOOM_START,
	OD_ZOOM_RECT,
	OD_PAN_READY,
	OD_PAN_START,
	OD_PANNING,
	OD_MOVE_PORT_START,
	OD_MOVING_PORT,
};
State of the controller.

Defined in: OdController.h

Members

OD_SELECT_READY

Ready to select.

OD_SELECT_START

Start a rectangle selection.

OD_SELECTING

Selecting with a rectangle.

OD_ROTATE_READY

Ready to rotate.

OD_ROTATE_START

Start a rotation operation.

OD_ROTATING

In the process of rotating.

OD_MOVE_START

Start a move operation.

OD_MOVING

In the process of moving.

OD_SCALE_START

Start a scale operation.

OD_SCALING

In the process of scaling.

OD_RECT_READY

Ready to create a rectangle.

OD_RECT_START

Start the creation of a rectangle.

OD_RECT_DRAW

In the process of creating a rectangle.

OD_LINE_READY

Ready to create a line.

OD_LINE_START

Start the creation of a line.

OD_LINE_DRAW

In the process of creating a line.

OD_POLYLINE_READY

Ready to create a polyline.

OD_POLYLINE_START

Start the creation of a link.

OD_POLYLINE_DRAW

In the process of creating a link.

OD_POLYGON_READY

Ready to create a polygon.

OD_POLYGON_START

Start the creation of a polygon.

OD_POLYGON_DRAW

In the process of creating a polygon.

OD_POLYCURVE_READY

Ready to create a polycurve.

OD_POLYCURVE_START

Start the creation of a polycurve.

OD_POLYCURVE_DRAW

In the process of creating a polycurve.

OD_CLOSEDCURVE_READY

Ready to create a closed curve.

OD_CLOSEDCURVE_START

Start the creation of a closed curve.

OD_CLOSEDCURVE_DRAW

In the process of creating a closed curve.

OD_ELLIPSE_READY

Ready to create an ellipse.

OD_ELLIPSE_START

Start the creation of an ellipse.

OD_ELLIPSE_DRAW

In the process of creating an ellipse.

OD_TEXT_READY

Ready to insert text.

OD_IMAGE_READY

Ready to insert an image.

OD_PORT_READY

Ready to insert a port.

OD_SYMBOL_INSERT

Ready to insert a symbol.

OD_SYMBOL_READY

Ready to insert a symbol.

OD_SYMBOL_START

Start drawing a symbol.

OD_SYMBOL_DRAW

In the process of drawing a symbol.

OD_MOVE_VERTEX_START

Start moving a vertex.

OD_MOVING_VERTEX

In the process of moving a vertex.

OD_LINK_READY

Ready to create a link.

OD_LINK_START

Start the creation of a link.

OD_LINK_DRAW

In the process of drawing a link.

OD_ZOOM_READY

Ready to zoom in or out.

OD_ZOOM_START

Start the rectangle for zoom-to-rect.

OD_ZOOM_RECT

In the process of drawing the rectangle for zoom-to-rect.

OD_PAN_READY

Ready to pan the diagram.

OD_PAN_START

Start panning the diagram.

OD_PANNING

In the process of panning the diagram.

OD_MOVE_PORT_START

Start moving a port.

OD_MOVING_PORT

In the process of moving a port.