From 0091193c049a2f9827235e468f749db433549163 Mon Sep 17 00:00:00 2001 From: Michael <132351311+perogycook@users.noreply.github.com> Date: Sun, 26 Nov 2023 01:45:55 -0700 Subject: [PATCH] added missing enums GuiTextAlignmentVertical and GuiTextWrapMode --- vendor/raylib/raygui.odin | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/vendor/raylib/raygui.odin b/vendor/raylib/raygui.odin index 7966987c5..e9c483948 100644 --- a/vendor/raylib/raygui.odin +++ b/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, -} \ No newline at end of file +}