AboutSection class
#include <Jazz2/UI/Menu/AboutSection.h>
About menu section.
Shows the credits, version, and build information as an auto-scrolling formatted text block.
Base classes
- class MenuSection
- Base class of a menu section.
Constructors, destructors, conversion operators
- AboutSection()
- Creates a new instance.
Public functions
- auto GetClipRectangle(const Recti& contentBounds) -> Recti override
- Allows to override clip rectangle of the middle layer.
- void OnUpdate(float timeMult) override
- Called when the section should be updated.
- void OnDraw(Canvas* canvas) override
- Called when the section should be drawn — the bottom background layer.
- void OnDrawClipped(Canvas* canvas) override
- Called when the section should be drawn — the middle clipped layer.
-
void OnTouchEvent(const nCine::
TouchEvent& event, Vector2i viewSize) override - Called when a touch event is triggered.