HorizontalAlign and VerticalAlign enums;
@@ -97,10 +97,10 @@ StringEntry lovrFilterMode[] = {
{ 0 }
};
-StringEntry lovrVertexMode[] = {
- [VERTEX_POINTS] = ENTRY("points"),
- [VERTEX_LINES] = ENTRY("lines"),
- [VERTEX_TRIANGLES] = ENTRY("triangles"),
+StringEntry lovrHorizontalAlign[] = {
+ [ALIGN_LEFT] = ENTRY("left"),
+ [ALIGN_CENTER] = ENTRY("center"),
+ [ALIGN_RIGHT] = ENTRY("right"),
{ 0 }
};
@@ -169,6 +169,20 @@ StringEntry lovrTextureUsage[] = {
{ 0 }
};
+StringEntry lovrVertexMode[] = {
+ [VERTEX_POINTS] = ENTRY("points"),
+ [VERTEX_LINES] = ENTRY("lines"),
+ [VERTEX_TRIANGLES] = ENTRY("triangles"),
+ { 0 }
+};
+
+StringEntry lovrVerticalAlign[] = {
+ [ALIGN_TOP] = ENTRY("top"),
+ [ALIGN_MIDDLE] = ENTRY("middle"),
+ [ALIGN_BOTTOM] = ENTRY("bottom"),
+ { 0 }
+};
+
StringEntry lovrWinding[] = {
[WINDING_COUNTERCLOCKWISE] = ENTRY("counterclockwise"),
[WINDING_CLOCKWISE] = ENTRY("clockwise"),
