xaos-project / XaoS

Real-time interactive fractal zoomer
https://xaos-project.github.io/
GNU General Public License v2.0
505 stars 59 forks source link

Support for Multiple Windows #29

Open jblang opened 10 years ago

jblang commented 10 years ago

From jb.langs...@gmail.com on July 27, 2009 13:55:31

Currently the UI only supports one window per process. We would like to support multiple Windows open at once for the same process.

Original issue: http://code.google.com/p/gnuxaos/issues/detail?id=30

jblang commented 4 years ago

Most of the groundwork for this has been laid now that the UIH context is owned by the MainWindow class. The only reason it won't work currently is that SFFE requires a global UI context to access the formula parser. This should be moved to the fractal context where it could be more easily accesible from the fractal formulas. However, it would still require adding some parameters to pass the fractal context into the formulas.

jblang commented 4 years ago

After further research there are other places with global state that would prevent this from working. For example, there is a global fractal context in zoom.c.