'Dear imgui, How to create buttons with icons and text?

I want to create a button with icons and text in the window of dear imgui, but I did not find the relevant interface.enter image description here



Solution 1:[1]

You might take a look on the iconfont

https://github.com/juliettef/IconFontCppHeaders

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Naveen