Drawing hidden NSWindow to NSImage then to a NSView
Drawing hidden NSWindow to NSImage then to a NSView
- Subject: Drawing hidden NSWindow to NSImage then to a NSView
- From: Dean Davis <email@hidden>
- Date: Mon, 12 Aug 2002 11:01:08 -0700 (PDT)
I need some general newbie direction...
I want to create a screen saver that displays a
"representation" of a normal window.
As a "proof of concept" project, I have created a
ScreenSaver project and a NIB file with one window.
The window only contains static text.
In the initWithFrame method I have a
NSWindowController class. Using that class I'm trying
to initWithWindowNibName my NIB file but console is
reporting that it can't open the NIB file. Any
suggestions on this?
Also is my direction correct? If I can get my saver to
load the NIB will I be able to fill in the hidden
window's static text fields with custom text, "print"
the window to a NSData (as PDF), transfer this to an
NSImage and draw the NSImage to the screen saver?
Thanks for any help anyone can give.
Dean
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.