CUGL 2.1
Cornell University Game Library
|
#include <CUGridLayout.h>
Public Attributes | |
Uint32 | x |
Uint32 | y |
Anchor | anchor |
This inner class stores the layout information as a struct.
The x and y values must be valid. They are verified when assigned and when the grid size changes.
Anchor cugl::scene2::GridLayout::Entry::anchor |
The anchor rule to place it in the grid square.
Uint32 cugl::scene2::GridLayout::Entry::x |
The x offset from the anchor in absolute or relative units
Uint32 cugl::scene2::GridLayout::Entry::y |
The y offset from the anchor in absolute or relative units