#include <GUICommonEnums.h>
Public Types | |
enum | Alignment_t { ALIGN_TOP , ALIGN_BOTTOM , ALIGN_LEFT , ALIGN_RIGHT } |
Position of control. More... | |
enum | AttributeType { AT_BYTE , AT_UBYTE , AT_INT , AT_UINT , AT_HEX , AT_SHORT , AT_USHORT , AT_FLOAT , AT_BOOL , AT_STRING , AT_OBJECTID , AT_IMAGEID , AT_TEXTID , AT_FONTID , AT_SOUNDID , AT_GENRESID , AT_DATAPOOLID , AT_COMMENT , AT_COLOR , AT_COLORID , AT_PROPERTYID , AT_ANIMATION_CHAIN_ID } |
The possible types of attributes. More... | |
enum | AxisAlignment_t { AA_NONE , AA_HORIZONTAL , AA_VERTICAL , AA_BOTH } |
Axis-alignment for freedom of control. More... | |
enum | AxisStyle_t { AS_LINEAR , AS_LOGARITHMIC } |
Axis-types for displaying values. More... | |
enum | FontWrapper_t { FREETYPE , GLYPHLIB } |
Emumerations for Font-Wrappers. More... | |
enum | GraphicsWrapper_t { BLU , EGML , DAVE , OGL , OGLES } |
Enumeration for Graphics-Wrappers. More... | |
enum | ImageType_t { IMAGE_FORMAT = 0 , ALPHA_8 = 1 << 24 , ALPHA_4 , RGB_565 = 2 << 24 , BGR_565 , ABGR_4444 , BGRA_4444 , RGB_565_A8 , ARGB_4444 , RGBA_4444 , RGB_888 = 3 << 24 , BGR_888 , ARGB_8888 = 4 << 24 , ABGR_8888 , RGBA_8888 , BGRA_8888 , RGB_8888 } |
enum | Orientation_t { OR_HORIZONTAL , OR_VERTICAL } |
orientation of controls More... | |
enum | Rotation_t { RO_0 , RO_90 , RO_180 , RO_270 } |
Enumaration for Rotation. More... | |
Static Public Member Functions | |
static eC_Bool | HasHorizontal (const AxisAlignment_t &eAlignment) |
static eC_Bool | HasVertical (const AxisAlignment_t &eAlignment) |
This class collects various enumerations which are common to multiple controls.
The possible types of attributes.
Enumeration ImageType_t for the loaded format.
A = alpha, R = red, G = green, B = blue. The order of the letters in the abbreviation defines the order of a pixel. The number means the number of bits of each color channel.
For example: RGBA_8888 means Red, Green, Blue, Alpha and every channel has 8 bits. So the whole pixel has 32 bits. Red has the most significant bit and alpha the least significant bits. The order is considered big endian so bytewise read, it forms 0xAA 0xRR 0xGG 0xBB. NOTE: when using DWORD as datatype the oder may be inverse depending on endianess.
|
inlinestatic |
Check if direction has horizonal part
eAlignment | alignment to check |
|
inlinestatic |
Check if direction has vertical part
eAlignment | alignment to check |