Displaying 1 result from an estimated 1 matches for "setneedsdisplay".
2008 Sep 01
1
Porting Swfdec to Mac OS X & Timing question
...dvance(_private->_player, millisecondsToNextEvent);
if (swfdec_player_is_initialized(_private->_player))
{
unsigned int width, height;
swfdec_player_get_default_size(_private->_player, &width, &height);
[self setBounds:NSMakeRect(0.0, 0.0, width, height)];
[self setNeedsDisplay:YES];
}
[[NSRunLoop currentRunLoop]
performSelector:@selector(scheduleNextEvent) target:self argument:nil
order:100 modes:[NSArray arrayWithObject:NSDefaultRunLoopMode]];
}
else
{
NSTimeInterval fMillisecondsToNextEvent = millisecondsToNextEvent;
fMillisecondsToNextEvent /= 100000...