-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make imagej.init accept one of three modes
Instead of a headless flag, we now have three modes: HEADLESS, GUI, and INTERACTIVE. And we behave consistently across all platforms as much as we reasonably can. The main exception is that interactive mode is not available on macOS, due to limitations in Apple's app threading model. Of course, it's possible that these supposed limitations are not real, and all we need to do is call AppHelper.stopEventLoop() at the right time or something, but I am clueless about macOS programming, so for now we just apologize and tell people the mode is unavailable. Closes #23. At least: it's good enough for now.
- Loading branch information
Showing
1 changed file
with
84 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters