On Mon, 24 Feb 2020 12:15:34 GMT, mark wrote:
At the moment I use
setIconFromFile(filename)to set my game's icon. But I'd like to embed that PNG into the exe so that there are no external dependencies.
Is this possible?
I found a way to do it by embedding an XPM image.
static string ICON_XPM = [ "64 64 163 2 ", " c #000B3F", ". c #3F0B3F", ......... ]; ... setDefaultIcon(new Pixbuf(ICON_XPM));