You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
976 B
46 lines
976 B
#ifndef FRAMEWORK_CONST_H
|
|
#define FRAMEWORK_CONST_H
|
|
|
|
//namespace fw {
|
|
|
|
enum LogLevel {
|
|
LogDebug = 0,
|
|
LogInfo,
|
|
LogWarning,
|
|
LogError,
|
|
LogFatal
|
|
};
|
|
|
|
enum AlignmentFlag {
|
|
AlignLeft = 1,
|
|
AlignRight = 2,
|
|
AlignTop = 4,
|
|
AlignBottom = 8,
|
|
AlignHorizontalCenter = 16,
|
|
AlignVerticalCenter = 32,
|
|
AlignTopLeft = AlignTop | AlignLeft,
|
|
AlignTopRight = AlignTop | AlignRight,
|
|
AlignBottomLeft = AlignBottom | AlignLeft,
|
|
AlignBottomRight = AlignBottom | AlignRight,
|
|
AlignLeftCenter = AlignLeft | AlignVerticalCenter,
|
|
AlignRightCenter = AlignRight | AlignVerticalCenter,
|
|
AlignTopCenter = AlignTop | AlignHorizontalCenter,
|
|
AlignBottomCenter = AlignBottom | AlignHorizontalCenter,
|
|
AlignCenter = AlignVerticalCenter | AlignHorizontalCenter
|
|
};
|
|
|
|
enum AnchorPoint {
|
|
AnchorNone = 0,
|
|
AnchorTop,
|
|
AnchorBottom,
|
|
AnchorLeft,
|
|
AnchorRight,
|
|
AnchorVerticalCenter,
|
|
AnchorHorizontalCenter,
|
|
};
|
|
|
|
|
|
//}
|
|
|
|
#endif
|