EG/TransformGizmo/events.py
2026-02-25 11:53:06 +08:00

22 lines
526 B
Python

class GizmoEvent:
"""String constants for gizmo event hook names."""
DRAG_START = "drag_start"
DRAG_MOVE = "drag_move"
DRAG_END = "drag_end"
ALL = (DRAG_START, DRAG_MOVE, DRAG_END)
class TransformGizmoMode:
"""Simple string constants for gizmo modes."""
NONE = "none"
MOVE = "move"
ROTATE = "rotate"
SCALE = "scale" # reserved for future implementation
ALL = "all" # move + rotate together (matches existing UI semantics)
__all__ = ["GizmoEvent", "TransformGizmoMode"]