Re: two things (newbie)
Re: two things (newbie)
- Subject: Re: two things (newbie)
- From: John Terranova <email@hidden>
- Date: Wed, 9 Jun 2004 22:35:39 -0700
On Jun 9, 2004, at 9:34 PM, Rolando Abarca wrote:
1)
I'm implementing a CD+G (karaoke) viewer, and currently this is my
approach:
In a window I have a custom view (NSView Subclass) that has a method
(loadCDG) that instantiates a timer, wich calls readCDG.
readCDG fills a buffer from a file, and then it needs to update the
content of the view, for that it calls [self display]. Apparently this
is not the way to go, because it's not displaying all the changes...
(I put my draw code in drawRect: and it's not called every time I call
[self display]).
[self setNeedsDisplay:YES]; // ??
--
john terranova, email@hidden
"More than a quarter of journalists polled said they had avoided
pursuing
newsworthy stories that might conflict with the financial interests of
their
news organizations or advertisers."
-- Bill Moyers, on a study conducted by the Pew Research Center
for the Columbia Journalism Review, The Nation, May 7, 2001.
_______________________________________________
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.