|
Remember that Microsoft, in their seemingly infinite stupidity, now has some windows that become transparent when they gain focus. Unlike (2000-era?) when they became transparent when they were in the background, and lost transparency upon focus. That was the only logical method, but some fool thought transparency is so cool that it should be in our faces. In other words, it is up to you. But I'm against transparency in the top-level window.
|
|
|
|
|
There are no windows on this. Just a little LCD display
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: Are there good reasons you can think of that it might need to be drawn partially see-through against a background? One of those things that really depends on the use case. Generally speaking, contrast is good from a usability standpoint. Not everyone has perfect version. It doesn't have to be a stark contrast, but using transparency to show a state change for instance is usually not a good thing as it's either too subtle or too much and you can't see the icon anyway. So, if it's something like a menu icon then it's a bad idea to use transparency effects.
That being said, if the purpose of the icon is to not have state or be interacted with like a menu the rules change. If it's larger than 32x32 then things change, etc. Say for instance you're making an On-Screen Display (OSD) application that would take up 25% of the screen and your icon is showing a logo, status effect, etc. In that case, transparency effects would be a necessity since so much of the screen real estate is now covered.
There's rarely one size that fits all in development.
Jeremy Falcon
modified 31-Jan-23 18:38pm.
|
|
|
|
|
Quote: Can you think of reasonable use cases to adjust the transparency
Maybee adjusting for themes?
|
|
|
|
|
Gold plating.
But I'm an old coot that still uses win7 defiantly.
|
|
|
|
|
He even argues that the moon is flat as well!
|
|
|
|
|
Mosdef useful. We often seen disabled text e.g. save as semitransparent (when there are no changes to save). So that is useful for icons as well.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Since I asked the question I realized something.
You can already accomplish semi-transparent icons by drawing them with a forecolor pixel that has an alpha channel.
However, that didn't work as it should have due to an implementation issue in my code.
So I fixed that, and answered the question at the same time.
A separate parameter for an alpha factor is not necessary after all.
Too bad I didn't think of that until later that night.
To err is human. Fortune favors the monsters.
|
|
|
|
|
If this is to show the icon disabled, whats the difference between grayed out and say, 50% transparency? I'm thinking work/code wise. Feels like they would be similar, but if you are going for disabled then grayed out is the standard and easier to see for old eyes.
Are there other uses for it other than showing disabled?
Jack of all trades, master of none, though often times better than master of one.
|
|
|
|
|
I was sent this: A flat earther explains ...[^]
What can I say? Please, don facepalm protection before watching.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
So nice of you to become a parent to these orphaned threads. 
|
|
|
|
|
Slacker007 wrote: So nice of you to become a parent to these orphaned threads
Let me see if i can also be given the guardian medal.
|
|
|
|
|
It does seem to be becoming a habit, doesn't it?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
"the sun goes from the east to west..." - Good thing all cameras automatically orient themselves to 'north = up'.
Even with your warning, I think I hurt something. But thanks for trying to keep us unharmed.
|
|
|
|
|
"This should be dark, cuz it's in the shadow of the sun ..."
I think he broke something as well.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
He further broke my faith in humanity. These last years have crushed that belief.
|
|
|
|
|
Yeah... good luck having a flat earther explain how time zones work. They can't. Somehow they can't wrap their head around the fact a flat Earth would make half the world day and half the world night at the same time.
Jeremy Falcon
|
|
|
|
|
Yeah. Or that if you go north long enough, you will be going south. Or that if you were a foot away from the North or South Poles you don't have to travel for thousands of miles to circle that pole... Our education system has failed us badly.
|
|
|
|
|
Thanks, I needed that laugh.
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
|
|
|
|
|
Bear in mind how unintelligent the median human is. Be warned that 50% of humans are more unintelligent than that!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
"Report as trolling" it is then.
|
|
|
|
|
I'm afraid to click the link. I've had "conversations" with flat earthers not too long ago, and I still haven't recovered from it. Shudder.
I need a hug.
Jeremy Falcon
|
|
|
|
|
This one is dimmer than most. Certainly, the gene pool needs some Chlorine.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Jeremy Falcon wrote: I need a hug.
Not to mention going to your happy place. 
|
|
|
|
|
The worst part about this is that I know people that would buy his "logic."
|
|
|
|