Finished RecentFiles port, and added graphics handling
Updated the TRecentFiles class to use ADOM for saving/loading, and also simplified the constructor (there were two of them, but one was actually enough).
Starting working out the graphics needs for e.g. IMT, and found that Delphi 2009 has built-in support for JPEG, PNG and GIF (add JPEG
, PNGImage
and GIFImg
to the uses
clause respectively). TIFF
and other formats are not supported, though, so I found a port of GraphicEx
to Delphi 2009; adding this to the uses
clause adds lots of formats including TIFF
(but it generates lots of warnings about "unsafe code"). I think adding GraphicEx
before the other graphics units in the uses
clause will ensure that Delphi code is used for those formats which are handled natively, while GraphicEx
code is used for other formats it can handle.