From 0d8e49ef645608be63225b7c18ab011ea2d90dd9 Mon Sep 17 00:00:00 2001 From: Susko3 Date: Mon, 23 Jun 2025 22:15:01 +0200 Subject: [PATCH] Add missing enum typedef in SDL_ttf --- SDL3_ttf-CS/SDL3_ttf/SDL_ttf.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/SDL3_ttf-CS/SDL3_ttf/SDL_ttf.cs b/SDL3_ttf-CS/SDL3_ttf/SDL_ttf.cs index fdec2f3..4ebb114 100644 --- a/SDL3_ttf-CS/SDL3_ttf/SDL_ttf.cs +++ b/SDL3_ttf-CS/SDL3_ttf/SDL_ttf.cs @@ -5,6 +5,17 @@ using System; namespace SDL { + [Flags] + [Typedef] + public enum TTF_FontStyleFlags : UInt32 + { + TTF_STYLE_NORMAL = SDL3_ttf.TTF_STYLE_NORMAL, + TTF_STYLE_BOLD = SDL3_ttf.TTF_STYLE_BOLD, + TTF_STYLE_ITALIC = SDL3_ttf.TTF_STYLE_ITALIC, + TTF_STYLE_UNDERLINE = SDL3_ttf.TTF_STYLE_UNDERLINE, + TTF_STYLE_STRIKETHROUGH = SDL3_ttf.TTF_STYLE_STRIKETHROUGH, + } + [Flags] [Typedef] public enum TTF_SubStringFlags : UInt32