Data Attributes - LiruJ/GuiCookie GitHub Wiki
In order for GuiCookie to read and use XML files, it has to understand the data it is reading. The classes and enums on this page are all used to parse and store data from XML attributes.
GuiCookie uses LiruGameHelperMonoGame, which includes a variety of parsers used to read MonoGame types from string.
These enum types are used throughout GuiCookie in various points and can be used for custom controllers and components. Enums are automatically handled by GuiCookie and do not need custom parsers or classes, so each enum is just listed here with its general usage.
Used by the AspectRatioFitter to determine how to fit the element to an aspect.
Used by the Space structure to determine which axes are relative. This is a flag enum.
Used by the MouseHandler component to determine how mouse inputs are used.
Used by the ImageBlock component to determine how its image should be clipped.
Used in various places to determine the direction of something, usually a layout.
Used in various places to describe a combination of directions, for example; the resize direction of an element. This is a flag enum.
Used to save the state of an element's initialisation, basically which initialisation functions have run. This is a flag enum.
Used to refer to a corner, edge, or centre of a rectangle. Mainly used in the NineSlice structure.
Used to refer to the edges of a rectangle. Mainly used in the Sides structure. This is a flag enum.