JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
ScrollArea Class Reference

Public Member Functions

 ScrollArea (float height)
 
void stepAndTransformInput ()
 Call this method during step of your Scene.
 
void updateModelview (Mat3 &modelview) const
 Call this method during draw of your Scene. It updates the passed Modelview matrix.
 

Detailed Description

Definition at line 9 of file ScrollArea.hpp.

Member Function Documentation

◆ stepAndTransformInput()

void stepAndTransformInput ( )

Call this method during step of your Scene.

It adjusts the jngl::input() by calling MouseInfo::transform.


The documentation for this class was generated from the following file: