raysan5 / raygui

A simple and easy-to-use immediate-mode gui library
zlib License
3.26k stars 280 forks source link

Allow passing icons in GuiTabBar #410

Closed PasVegan closed 1 week ago

PasVegan commented 4 weeks ago

Currently the icon is set to ICON_FILETYPE_IMAGE for every tab, I don't know why. But I think it's better for the user to set his own icons

raysan5 commented 1 week ago

@PasVegan Actually there is no need to add new function parameters, icons can be added by user on text string for every tab.