Browse Source

added missing enums

GuiTextAlignmentVertical and GuiTextWrapMode
Michael 1 year ago
parent
commit
0091193c04
1 changed files with 13 additions and 1 deletions
  1. 13 1
      vendor/raylib/raygui.odin

+ 13 - 1
vendor/raylib/raygui.odin

@@ -72,6 +72,18 @@ GuiTextAlignment :: enum c.int {
 	TEXT_ALIGN_RIGHT,
 }
 
+GuiTextAlignmentVertical :: enum c.int {
+	TEXT_ALIGN_TOP = 0,
+	TEXT_ALIGN_MIDDLE,
+	TEXT_ALIGN_BOTTOM,
+}
+
+GuiTextWrapMode :: enum c.int {
+	TEXT_WRAP_NONE = 0,
+	TEXT_WRAP_CHAR,
+	TEXT_WRAP_WORD,
+}
+
 // Gui controls
 GuiControl :: enum c.int {
 	// Default -> populates to all controls when set
@@ -574,4 +586,4 @@ GuiIconName :: enum c.int {
 	ICON_253                      = 253,
 	ICON_254                      = 254,
 	ICON_255                      = 255,
-}
+}