setIcon is acting weird
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
setIcon is acting weird
This is the result I get when I attempt to set the icon as a solid 16x16 square of magenta 100% transparent... It looks identical to the result of setting a blank 16x16 ImageData as the icon, but the pixels that are visible are magenta instead of black. "true" is the output of setIcon.
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: setIcon is acting weird
Try setting black or white transparent instead of magenta transparent
Re: setIcon is acting weird
The exact same thing happens except the pixels visible are black or white.
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: setIcon is acting weird
What format is the image ?
Re: setIcon is acting weird
It is ImageData...
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: setIcon is acting weird
But do you load it from an image ? png, jpg, bmp...
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: setIcon is acting weird
Hmmmm... Devs, can any of you shed some light in here ?
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: setIcon is acting weird
Please share a .love that replicates this issue.
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Re: setIcon is acting weird
This is doing it.
- Attachments
-
- icon.love
- (271 Bytes) Downloaded 156 times
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest