EventGizmos.h file
Namespaces
- namespace Jazz2
- Root namespace of Jazz² Resurrection.
- namespace Jazz2::Editor
Classes
- struct Jazz2::Editor::EventGizmo
- A handle in the view that changes a parameter of an event by dragging it.
- class Jazz2::Editor::EventGizmos
- Finds the handles of events and changes their parameters by them.
Enums
-
enum class EventGizmoKind : std::
uint8_t { Radius, ChainLength, BridgeWidth, Offset, WaterLevel, CameraLeft, CameraWidth, Direction } - What a handle of an event changes.
Enum documentation
enum class EventGizmoKind : std:: uint8_t
What a handle of an event changes.
| Enumerators | |
|---|---|
| Radius |
A distance from the event in pixels, as the radius of a light |
| ChainLength |
A distance from the event in links of a chain, 12 px each |
| BridgeWidth |
The width of a bridge to the right of the event, in steps of 16 px |
| Offset |
Both offsets of the event from the center of its tile, in pixels |
| WaterLevel |
A height from the top of the level in pixels, as of the water |
| CameraLeft |
The left edge of the view in tiles, 0 is the column of the event |
| CameraWidth |
The width of the view in tiles from its left edge, 0 reaches to the right edge of the level |
| Direction |
The values of a group of directions, the tip of its arrow, as of the speed of a tube or a belt, see EventParamField:: |