CUGL 2.0
Cornell University Game Library
Public Attributes | List of all members
cugl::scene2::GridLayout::Entry Class Reference

#include <CUGridLayout.h>

Public Attributes

Uint32 x
 
Uint32 y
 
Anchor anchor
 

Detailed Description

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.

Member Data Documentation

◆ anchor

Anchor cugl::scene2::GridLayout::Entry::anchor

The anchor rule to place it in the grid square.

◆ x

Uint32 cugl::scene2::GridLayout::Entry::x

The x offset from the anchor in absolute or relative units

◆ y

Uint32 cugl::scene2::GridLayout::Entry::y

The y offset from the anchor in absolute or relative units


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