Menu

#3 Free-rotating CD covers

open
nobody
2
2004-05-31
2004-05-31
No

Some people have asked to be able to rotate CD covers by
arbitrary angles, to make them look even more cluttered.

Discussion

  • Freek Dijkstra

    Freek Dijkstra - 2004-06-02

    Logged In: YES
    user_id=249025

    I guess there are two solutions to do this. Either, just rotate the image,
    and keep the window square or adjust the window region. I read
    somewhere that there is a way in cocoa to simply override a method (in
    NSWindow?) to return a different shape (region) of window. However, I
    couldn't find it and I may be misinformed.

    A second approach is just to rotate the whole window, including
    everything! Normally, this would also rotate the titlebar, but there is
    none. For details, have a look at
    http://www.atzenbeck.de/research/wildWindows/ (got some great
    screenshots and nice sample code) and http://
    homepage.cs.latrobe.edu.au/wjtregaskis/
    However, I recommend the first approach if possible, since the latter
    uses undocumented features, and may not be as reliable.

     
  • Anonymous

    Anonymous - 2004-06-02

    Logged In: YES
    user_id=1042909

    I'm told that transforming the window itself puts extra load on the
    window server, because it has to run the window's pixels through the
    transform whenever it has to draw it.
    Rotating just the image wouldn't be hard -- you just have to make the
    window a bit larger, and transparent. I believe the window server will
    automatically do the right hit-testing.

     
  • Patrick Lemmens

    Patrick Lemmens - 2004-06-24

    Logged In: YES
    user_id=283266

    This would be very very cool. Consider a option to just trow your cd's in
    (pseudo) random order and orientation on the desktop as if scattered on
    the floor.

     

Log in to post a comment.