Coconut Data Framework
beta
|
Define CNAlign type. More...
#import <Coconut/Coconut.h>
#import <OpenGL/gltypes.h>
Go to the source code of this file.
Defines | |
#define | CNHolizAlignMask 0x000f |
#define | CNVertAlignMask 0x00f0 |
Enumerations | |
enum | CNAlign { CNNoAlign = 0x0000, CNHolizLeftAlign = 0x0000, CNHolizRightAlign = 0x0001, CNHolizCenterAlign = 0x0002, CNVertTopAlign = 0x0000, CNVertBottomAlign = 0x0010, CNVertMiddleAlign = 0x0020 } |
Functions | |
static CNAlign | CNHolizAlign (CNAlign src) |
Get align attribute for holizontal. | |
static CNAlign | CNVertAlign (CNAlign src) |
Get align attribute for vertical. |
Define CNAlign type.
#define CNHolizAlignMask 0x000f |
Mask for holizontal align attribute
Referenced by CNHolizAlign().
#define CNVertAlignMask 0x00f0 |
Mask for vertical align attribute
Referenced by CNVertAlign().
enum CNAlign |
Type to present the kind of alignment
Get align attribute for holizontal.
src | Alignment attribute |
References CNHolizAlignMask.
Get align attribute for vertical.
src | Alignment attribute |
References CNVertAlignMask.