Cocoa and semi-transparent rounded windows

Ask a Question related to Mac Programming, Design and Development.

  1. #1

    Default Cocoa and semi-transparent rounded windows

    Hi

    I guess some of you might have tried a preference-pane called "synergy"
    which shows a semi-transparent window with an icon and some text when iTunes
    starts playing a MP3.

    The same kind of window is used in Salling Clicker to display what the
    AppleScripts returned value is. You also see it when you click on a phone
    number in Address Book and choose "Zoom" or whatever.

    How do you make this kind of window?

    ---
    Ronny Salomonsen, rsalomon(a)online.no

    Ronny Salomonsen Guest

  2. Similar Questions and Discussions

    1. Semi-Transparent Overlay?
      I have a circle (10% Black fill) that is being overlapped by a triangle (CVC Yellow 100% fill, on a separate layer). I am trying to make the fill...
    2. Printing to PDF - layers remain semi-transparent
      I am using InDesign CS to make a postcard. One of the designs has a grid in the back with white feathered circles on top of it. Another layer on top...
    3. Semi-Transparent Sliding Menu?
      Hi, all! Firstly, I wanted to thank some of the users here for their help. You gave me great advice on creating rippling text, as well as using...
    4. Pop up menus semi-transparent menu background
      I am trying to create a menu with a semi-transparent background using Fireworks MX 2004 and Dreamweaver MX. The effect I am trying to recreate is...
    5. semi transparent background to dropdown menus?
      http://webforums.macromedia.com/fireworks/messageview.cfm?catid=193&threadid=662716
  3. #2

    Default Re: Cocoa and semi-transparent rounded windows

    In article <BB3AE1CB.22E2%rsalomon@online.no>,
    Ronny Salomonsen <rsalomon@online.no> wrote:
    > How do you make this kind of window?
    [url]http://developer.apple.com/samplecode/Sample_Code/Cocoa/RoundTransparentW[/url]
    indow.htm
    Doc O'Leary Guest

  4. #3

    Default Re: Cocoa and semi-transparent rounded windows

    On 16-07-03 14:00, in article
    [email]droleary.usenet-0976A5.07000816072003@corp.supernews.com[/email], "Doc O'Leary"
    <droleary.usenet@subsume.com> wrote:
    > In article <BB3AE1CB.22E2%rsalomon@online.no>,
    > Ronny Salomonsen <rsalomon@online.no> wrote:
    >
    >> How do you make this kind of window?
    >
    > [url]http://developer.apple.com/samplecode/Sample_Code/Cocoa/RoundTransparentW[/url]
    > indow.htm
    I found it about 15 minuter after posting this thread, but thank you anyway
    :)

    :: Ronny

    Ronny Salomonsen Guest

  5. #4

    Default Re: Cocoa and semi-transparent rounded windows

    In article <BB3AE1CB.22E2%rsalomon@online.no>,
    Ronny Salomonsen <rsalomon@online.no> wrote:
    > I guess some of you might have tried a preference-pane called "synergy"
    > which shows a semi-transparent window with an icon and some text when iTunes
    > starts playing a MP3.
    >
    ....
    >
    > How do you make this kind of window?
    The basic trick is to "setOpaque:NO", but you also want to consider
    "setAlphaValue:X", for X < 1.0. You can see a complete example at
    <[url]ftp://ftp.apple.com/developer/Sample_Code/Cocoa/RoundTransparentWindow.s[/url]
    it>
    No Spam Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139