Expand description
§roost emitters
Emitters are the interactive bridge between user input and component behavior.
Each emitter listens for raw input events and translates them into meaningful, component-specific events.
Structs§
- Button
- The
Buttonemitter wraps a drawable component and converts mouse input into a small set of semantic button states: - Selectable
- The
Selectableemitter allows one item in a group to be active at a time. When pressed, it emits an event with its unique ID and group ID, allowing other components in the same group to update their state accordingly. - Slider
- The
Slideremitter wraps a drawable component and converts mouse input into a small set of semantic slider states: - Text
Input - The
TextInputemitter wraps a drawable component and converts raw input into a small set of semantic text input states: