New topic: 

Accessing Mac OS X Linen Texture Programmically

<http://forums.realsoftware.com/viewtopic.php?t=47361>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        Searchware Solutions          Post subject: Accessing Mac OS X 
Linen Texture ProgrammicallyPosted: Thu Mar 21, 2013 10:20 am                   
      
Joined: Fri Dec 23, 2005 7:59 pm
Posts: 33                I am wanting to use the Mac OS X Linen Texture (such 
as that found in the back of the Notifcations Pane in Mac OS X Mountain Lion) 
as the backdrop of a window in an application.

This texture can be found at

/System/Library/Frameworks/AppKit.framework/Versions/C/Resources/NSTexturedFullScreenBackgroundColor.png

There are a few options, as I see it, available to me:

1. Add that graphic to my app itself at just reference it internally. I'm not 
really sure of the legalities of this, plus if Apple ever updates this graphic 
in a future update to Mac OS X, my app would have to be updated to show the new 
version as well.

2. Access the graphic directly by hard-coding the folderitem path into the 
application. The problem with this is that, again, if Apple ever changes the 
location of the graphic, this breaks my app. In addition, If I use
dim f as FolderItem = Volume( 0 ).Child( "System" ).Child( "Library" ).Child( 
"Frameworks" ).Child( "AppKit.framework" ).Child( "Versions" ).Child( "C" 
).Child( "Resources" ).Child( "NSTexturedFullScreenBackgroundColor.png" )
that doesn't take into account localized versions of the OS. Do these folder 
names change with the language of the OS, or are they static no matter what?

3. Use some sort of system call to retrieve the graphic from the system. But, I 
have no idea if such a critter exists let alone how to use it with Real.Studio.
Does anyone have any thoughts or suggestions here?

Thank you!      
_________________
Searchware Solutions 
Simply Great Software 
http://www.searchwaresolutions.com  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to