ericoporto / ImGi

AGS Script Module for Immediate Gui (based on rxi's Microui)
https://www.adventuregamestudio.co.uk/forums/index.php?topic=58842.0
Other
2 stars 2 forks source link

Enhancement: Support custom sprites in buttons #10

Closed ericoporto closed 3 years ago

ericoporto commented 3 years ago

I could make the default icons have negative index and having 0 as no icon, in this way, graphics could be passed directly in the icon parameter.

Also maybe adding something like the Label but for sprites and name it Image.

Need ways to configure if the image should auto adjust to the layout or not. You probably won't want auto-adjusting in game windows but auto-adjusting is useful in debug windows

ericoporto commented 3 years ago

Done in https://github.com/ericoporto/ImGi/commit/b195f4908f7ce42a8024fa36732e1490dc4e163a