mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 17:49:21 +02:00
46 lines
975 B
C
46 lines
975 B
C
#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 AnchorEdge {
|
|
AnchorNone = 0,
|
|
AnchorTop,
|
|
AnchorBottom,
|
|
AnchorLeft,
|
|
AnchorRight,
|
|
AnchorVerticalCenter,
|
|
AnchorHorizontalCenter,
|
|
};
|
|
|
|
|
|
//}
|
|
|
|
#endif
|