Fast Alpha-Blending In Your GUI 592
visnu writes: "I've been waiting for this for 2 years now -- a REAL glass-like windowing system. And yes, it's Microsoft to do it. Ever since W2k came out, and they included alpha-blending in the GDI, I was tempted to write a little tool to turn on any window's transparency, but of course I'm way too lazy to do that. These guys weren't though: glass2k runs in the systray and handles turning on any window's transparency. yes, here's a screenshot. I'm not too sure about the speed in W2k, but in XP w/ the newest Nvidia drivers and a somewhat recent video card, it's hardware accelerated, and yes, you should be drooling." Update: 11/26 19:00 GMT by T : Links updated, so hopefully you'll be able to actually get to the content again :)
Great for always on top windows (Score:4, Insightful)
Great stuff, now implement it for NT4 and win98
It's nice and all that... (Score:5, Insightful)
Looks neat... (Score:2, Insightful)
Heck, I even reverted to non-transparent xterms, because the background made the text in the xterm partly unreadable, which is kinda bad if you're programming
But still a cool heck to impress friends with.
Re:Nothing new (Score:2, Insightful)
Operation Brainfuck (Score:4, Insightful)
as not a good idea
creasingly being interested
ot to be confused with the
i.e. noise. The only purpose it serves is to faster identify the window you're dealing with. This has become unnecessary with the invention of the taskbar. Further additions to this concept, like window summarization and application-specific taskbars [kde.org], make it even easier to use. If you want to view a lot of information simultaneously instead of having everything in full-screen mode, a smart window-manager like ion [students.tut.fi] will rearrange windows automatically in useful tiles. Additional usability can be gained with clever hotkeys for application-switching.
But while overlapping windows are stupid, transparent windows are really part of a vast right-wing conspiracy to stupidify the masses by making computers incapable of displaying information. The next step will be window-spectific screensavers, which turn on after a specific period of inactivity in a single window. Just you wait. Thanks to transparency:
If you like eye-candy, you may "drool" over this one and get your brain fucked by the Illuminati. A frontal lobotomy may be a quicker solution though.
'What's wrong?' (Score:3, Insightful)
!!! YUCK !!! (Score:1, Insightful)
A GUI is supposed to enhance and make things easier -- this app just makes things a complete nightmare. You can barely make out the mess of the ruler on the left side of Word, and the transparent buttons of Calculator are a complete mess.
Can you imagine trying to read a book where all the pages were transparent celluloid? How about the desktop in your workplace where every paper you had was transparent? Can you imagine what a nightmare that would be?
Why in the world would you want to do that to your windowing system then?
And why is this a "newsworthy" item anyway?
Moderators: Please mod this post down, and demonstrate the complete and utter failure of the
Overlapping windows rule (Score:3, Insightful)
What if I want a large workspace, but I'm working on multiple applications? I create two or more windows with a total surface area greater than the desktop size and overlap them. I can switch more easily than via a taskbar (not so far to move the mouse), I can still drag items between windows, I can see what's going on in different windows. Say I'm comparing two lists of contents. Each window may well contain rather more than the list, but that's all I need at that point. So, I lay it out so I can see both lists and compare away, without losing the larger workspace in the primary application.
Or maybe one is performing a task - by just displaying a portion of its GUI, I can monitor that task without losing a potentially large portion of my desktop for its full UI.
The day a desktop GUI bans me from overlapping windows is the day I look for new GUIs.
Re:It's nice and all that... (Score:1, Insightful)
And if it was Linux that did it you'd all be jumping up and down, having a party, and marching in a parade. And of course this post gets a 2 as well. I'd laugh but it's monday.
Glass and icing (Score:5, Insightful)
There might be a very good reason it's taken two years for the glass-like windowing system. And that would be that it isn't a good idea.
Sure it looks pretty. It's technically cool. It's very nice eyecandy. But useful? Hardly.
If our desktops were three-dimensional, there would be a point - in that case you could refocus on a window below your current. When refocusing, the frontmost window would be so blurry to you that it didn't interfere with your view of what was behind it.
But desktops aren't 3D (and "fake" 3D doesn't work, refocusing requires that your desktop is not displayed on a single plane, as that plane only has one focus), and you can't refocus. What you get is just a blur of all windows that happen to be ontop of one another (and the background if you have a background/wallpaper image).
I would guess that the only time that transparent windows help is if you have an OS/wm that does not offer workspaces or similar. The transparency might help cram an extra three windows onto the screen. Using workspaces you can just put those extra three on another workspace instead.
I have yet to see anybody argue how great it would be if all books were printed on plastic rather than paper, so that we could see through them.
Re:Operation Brainfuck (Score:3, Insightful)
It is the brain-dead operation of the GUI in Windows (active window has to be on top) that necessitates such nasty hacks as this. A desktop that allows the active window to be behind another window removes this necessity altogether (for when you are e.g., copying text from one window into another).
Other good systems include multiple desktops, as provided by all good X Windows Managers and various windows hackons. Amiga Screens were another great system. Screens and multiple desktops are like having a large desk (plenty of space to spread your pens, paper, notebook, encyclopaedia, etc), whereas Windows by default is like trying to do all your work on a desk the size of a mousepad.
There are times of course when overlapping windows are not required. Multiple webbrowser windows when a tabbed interface within a single browser is adequate, for example. Need to display 2 web pages at once - explicitly open two windows, or split the current web page view in two horizontally or vertically, a function provided by Konqueror.
Yup, 'tis an easy thing to do (Score:3, Insightful)
Easy-peasy, done in an hour or so, back when w2k came out.
It *is* bloody useless, though, I only use it
Re:Great for always on top windows (Score:5, Insightful)
It is a pretty esy thing to do. For win32 programmers:
1. Find the window handle you want to alpha blend. (say, hwnd).
2. Add the WS_EX_LAYERED extended style to the window with this call:
SetWindowLong (hwnd, GWL_EXSTYLE, GetWindowLong(hwnd, GWL_EXSTYLE) | WS_EX_LAYERED);
3. Call SetLayeredWindowAttributes. Look up MSDN for the info.
Also, this API in Win2k does not seem to work well in some video cards - windows which update themselves a lot will cause problems i.e. an opengl window, etc (my program has a few of them).
kill x11... kill x11... (Score:2, Insightful)
And until we all get supercomputers on our desks, rewrite X or ditch it entirely for something that isn't old and bloated we're going to carry on losing on the eye candy front.
Glass windowing on Linux (Score:5, Insightful)
Re:Drool? Hardly. (Score:2, Insightful)
>actually has this one solved really well. I know
>on the LINUX platform this is an absolute mess and
>pain in the butt.
you're not being offensive, just ignorant. you hilight whatever you want to copy and center-click to paste. it's exactly the same across all apps and even in console. i wish that MS would copy this functionality in windows because the way windows is currently is a complete mess.
Re:Adding functionality not eye-candy (Score:2, Insightful)
I always find that it can be very annoying when you hi-light text then open a pop-up menu and it covers the text that you've just hi-lighted or when you have programs with many nested menus (like Radlight).
The split personalities of /.ers (Score:2, Insightful)
Slashdot would lose half its traffic if it filtered out the Games and Id Software topics by default!
Re:Alpha Blended Pie Menus and Censorship in The S (Score:2, Insightful)
Re:Does anyone here get the point? (Score:2, Insightful)
Second, about the graphics card, it depends on drivers and hardware acceleration. Windows 2K always support this feature whether the graphics card supports it or not.
Ozwald
Re:It's nice and all that... (Score:5, Insightful)