OpenImageIO/oiio — pull request #405 by lgritz (2012-07-16 06:45:32+00:00)
Title: iv refactoring: Split IvGL class definition into ivgl.h (from imageviewer.h)

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.