Displaying 1 result from an estimated 1 matches for "fmillisecondstonextev".
2008 Sep 01
1
Porting Swfdec to Mac OS X & Timing question
...;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 /= 1000000.0; // translate to seconds so we
can use NSTimer
_private->_timeOfLastTimer = CFAbsoluteTimeGetCurrent();
_private->_nextEventTimer = [[NSTimer
scheduledTimerWithTimeInterval:fMillisecondsToNextEvent target:self...