realbasic-nug
[Top] [All Lists]

Re: Animated Lock icon?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Animated Lock icon?
From: Charles Yeomans <charles@declareSub.com>
Date: Tue, 31 Mar 2009 23:36:41 -0400
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <C5F864AC.54F2D%markus_winter@online.de>
References: <C5F864AC.54F2D%markus_winter@online.de>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On Mar 31, 2009, at 6:24 PM, Markus Winter wrote:

Hi,

is it possible to use an animated lock icon (like in Apple's user control
panel)? How is that done? Animated gif?


It's most likely implemented using an SFAuthorizationView. It looks like the SFAuthorizationView loads several .tif files from /System/ Library/Frameworks/SecurityInterface.framework/Versions/A/Resources and draws the animation.

I amused myself while waiting for my wife's flight by implementing a REALbasic knockoff. You can get the project at <http://github.com/declaresub/maclockbutton/tree/master >. There is a download option in case you don't want to fool with git.

Charles Yeomans

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>