I'd just like to add some of my obvious, possible use cases for this: - Pretty rounded-off notifications (heck, with a composite manager and a bit more magic, it would be easy to actually make them fade in/out as is popular with notifications these days) - Imagine you had a top-docked wibox -- you could round off the corners furthest away from the top to make it look like it's tidily attached to the top. Very fancy, I guess this is what the Mac top panel looks like? (Also this would look even cooler if you made it slide in/out for hiding or on startup) - Could maybe round off menus too? this might not be as nice though.
Thanks a lot, Uli (and Plagman). I'm really surprised you've put it so much effort to do all this on a whimsical request, but I'm very grateful. Cheers, -Andrei "Garoth" Thorp On Sat, May 30, 2009 at 2:22 AM, Uli Schlachter <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Julien Danjou wrote: >> At 1243673434 time_t, Uli Schlachter wrote: >>> P.S.: Since a 1bit pixmap is used there can be no gray involved and thus no >>> anti-aliasing is possible. I'd doubt if some fancy-shape window with rough >>> corners would look good... >> >> Depends, if you want to draw a triangle, it's enough. :-) > > Ok, here is the deal: > XRender can also make parts of a window transparent and cairo supports this. > XRender also allows stuff like 23.3% transparent, so there can also be some > anti-aliasing, BUT this requires a running composite manager. > > When everyone is running composite managers I'll come up with some lua API for > making triangle-shaped wiboxes. :P > > Cheers, > Uli > - -- > "Do you know that books smell like nutmeg or some spice from a foreign land?" > -- Faber in Fahrenheit 451 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iQEcBAEBCAAGBQJKIPrCAAoJECLkKOvLj8sG6rQIAMpw1oEjtvpcT0msBC2Xatal > UAFrsV4qbntboGrzl4AyhEVSpvwVnAO0aD0vi83PJN7jDoha4Dvvg5NVr+4I6sYg > Uq611SDQ9EYP1LZ2iiI9fHVErGqJkZrtzfAMA7M/FrtiRyJKtNEEqDNjmrkLWZDe > fX6rvC11vsI5j6yqr8f5PaY+OTpRitSMPvCa8basqfN7uZB1ekPb/oss2oVXodPL > iTKLqr4+BlnjXQokAVLkBmy/TQumERP00Ivg0rUs2B5u3nL0AwqRq/tYXqUTx+4j > L4eKwQVSMC/Fdn/ugEB+wkDVp42geiE9Jemullaa0iemVMiDN4g4ttjCGCDqhOM= > =2gQO > -----END PGP SIGNATURE----- > > -- > To unsubscribe, send mail to [email protected]. > -- To unsubscribe, send mail to [email protected].
