We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4823cc1 commit fc66567Copy full SHA for fc66567
imgui.h
@@ -3746,6 +3746,15 @@ struct ImFontGlyph
3746
int PackId; // [Internal] ImFontAtlasRectId value (FIXME: Cold data, could be moved elsewhere?)
3747
3748
ImFontGlyph() { memset(this, 0, sizeof(*this)); PackId = -1; }
3749
+
3750
+#ifdef IMGUI_BUNDLE_PYTHON_API
3751
3752
+ // [ADAPT_IMGUI_BUNDLE]
3753
+ bool isColored() const { return Colored != 0; }
3754
+ bool isVisible() const { return Visible != 0; }
3755
+ unsigned int getCodepoint() const { return Codepoint; }
3756
+ // [/ADAPT_IMGUI_BUNDLE]
3757
+#endif // IMGUI_BUNDLE_PYTHON_API
3758
};
3759
3760
// Helper to build glyph ranges from text/string data. Feed your application strings/characters to it then call BuildRanges().
0 commit comments