osb/source/rendering/StarAnchorTypes.hpp
2023-06-20 14:33:09 +10:00

25 lines
385 B
C++

#ifndef STAR_ANCHOR_TYPES_HPP
#define STAR_ANCHOR_TYPES_HPP
#include "StarBiMap.hpp"
namespace Star {
enum class HorizontalAnchor {
LeftAnchor,
HMidAnchor,
RightAnchor
};
extern EnumMap<HorizontalAnchor> const HorizontalAnchorNames;
enum class VerticalAnchor {
BottomAnchor,
VMidAnchor,
TopAnchor
};
extern EnumMap<VerticalAnchor> const VerticalAnchorNames;
}
#endif