Does this function work correctly for others (regardless of platform)?Robin wrote:Well, there's three different things that are independent from each other: the window icon (setIcon), the taskbar/dock/unity icon (???), the launcher/file explorer icon (ResHacker/.icns/.desktop, depending on platform).
Search found 44 matches
- Wed Apr 16, 2014 2:07 pm
- Forum: General
- Topic: Setting Icon
- Replies: 14
- Views: 10728
Re: Setting Icon
- Wed Apr 16, 2014 10:05 am
- Forum: General
- Topic: Setting Icon
- Replies: 14
- Views: 10728
Re: Setting Icon
Seems hacky when there's a built in SDL to-do exactly this (and works perfectly with my projects on Linux/Windows with c++ which use SDL2).
- Wed Apr 16, 2014 12:23 am
- Forum: General
- Topic: Setting Icon
- Replies: 14
- Views: 10728
Re: Setting Icon
Oh right sorry, updated post with info. But just to place it here as-well, Linux & the icon size is 32x32Robin wrote:It might help to know what OS you're on and how large icon.png is, in terms of resolution.
Also: yay, 6000 posts!
- Tue Apr 15, 2014 10:56 pm
- Forum: General
- Topic: Setting Icon
- Replies: 14
- Views: 10728
Setting Icon
Hey, Just wondering how exactly you go about setting the window icon using Love? I've tried using both love.window.setIcon() & supplying the file-path to my image in my config.lua file but both to no avail :/. -- Set Window Icon icon = love.graphics.newImage("Content/Images/icon.png");...