Really Big Windows and Interrupting computations?
Really Big Windows and Interrupting computations?
- Subject: Really Big Windows and Interrupting computations?
- From: Jerry LeVan <email@hidden>
- Date: Tue, 22 Jun 2004 16:16:37 -0400
Hi,
I am trying to figure out how to do a slide show using the
full screen. ( I an do the slide show now but in a regular
window).
Is a possible solution to build a "borderless" window that
floats above the desktop and menubar and is the same size
as the underlying screen and draw into an imageview contained
therein? Would menu accelerators still work ( in order to get
rid of the big window)?
******
I have a tight loop that looks like
put up a progress window
quit=NO
for i = 1 to some (possibly) big number
a(i) = some (upto )several second computation ( scaling big images )
force update of progress window with "displayIfNeeded"
if (quit) break
end
The progress window has a quit button which (if the action
routine ever gets called) would set quit to YES. The above
loop never lets the events "flow".
Tk has an "update" command that allows the Run Loop to dispatch
events. As far as I can tell there does not seem to be an
equivalent thingee in Cocoa.
I think this means I might have to come to grips with threads for
the first time...
Seems like this ought to be fairly common example, could someone
point me in the right direction?
Should I place the whole loop in a thread (but I can't do any further
processing until the computations are done or aborted ...)
Thanks,
Jerry
_______________________________________________
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.