We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f113c20 commit 9fa6f00Copy full SHA for 9fa6f00
imgui.h
@@ -3768,6 +3768,15 @@ struct ImFontGlyph
3768
int PackId; // [Internal] ImFontAtlasRectId value (FIXME: Cold data, could be moved elsewhere?)
3769
3770
ImFontGlyph() { memset(this, 0, sizeof(*this)); PackId = -1; }
3771
+
3772
+#ifdef IMGUI_BUNDLE_PYTHON_API
3773
3774
+ // [ADAPT_IMGUI_BUNDLE]
3775
+ bool isColored() const { return Colored != 0; }
3776
+ bool isVisible() const { return Visible != 0; }
3777
+ unsigned int getCodepoint() const { return Codepoint; }
3778
+ // [/ADAPT_IMGUI_BUNDLE]
3779
+#endif // IMGUI_BUNDLE_PYTHON_API
3780
};
3781
3782
// Helper to build glyph ranges from text/string data. Feed your application strings/characters to it then call BuildRanges().
0 commit comments