Cleave imageviewer.h into two parts, splitting off the IvGL class definition into a separate header file.
OK, you're probably wondering why I did this. This isn't strictly necessary for OIIO or iv at this moment. But I'm building another project on the side (just for my own use, at the moment) that reuses a bunch of components from iv (notably a modified IvGL), and I want to make it easy to port IvGL fixes and improvements between the two projects. And I can see in the future desiring IvGL to be publicly exposed (as a Qt widget that displays an ImageBuf with OCIO color correction and pan/zoom controls), rather than being strictly internal to the iv program. You can merge this Pull Request by running: git pull https://github.com/lgritz/oiio lg-iv Or you can view, comment on it, or merge it online at: https://github.com/OpenImageIO/oiio/pull/405 -- Commit Summary -- * iv refactoring: Split IvGL class definition into ivgl.h (from imageviewer.h). -- File Changes -- M src/iv/CMakeLists.txt (10) M src/iv/imageviewer.cpp (1) M src/iv/imageviewer.h (176) M src/iv/ivgl.cpp (17) A src/iv/ivgl.h (235) -- Patch Links -- https://github.com/OpenImageIO/oiio/pull/405.patch https://github.com/OpenImageIO/oiio/pull/405.diff --- Reply to this email directly or view it on GitHub: https://github.com/OpenImageIO/oiio/pull/405 _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
