#pragma once #include "Event.h" // Fired when the game world view's scroll position actually moved (REQ-UI-SCROLL), once // per frame at most and not at all while the view sits still. Carries no payload: what it // says is that the world-to-widget transform has changed, and whoever cares re-reads it. // // It exists for the widgets that keep a place in the world rather than on the screen -- // the asteroid expansion button, which stands on the columns it would buy // (REQ-UI-EXPAND-BUTTON). The floating panels need nothing of the sort: they are placed // against the screen and stay put as the view moves under them (ui/FloatingPanel.h). class ViewScrolledEvent : public Event { };