3 * \file GraphicsTypes.h
4 * Copyright 2002 the LyX Team
5 * Read the file COPYING
7 * \author Angus Leeming <a.leeming@ic.ac.uk>
9 * All that header files outside the graphics subdirectory should need to
10 * access. That just leaves insetgraphics.C to access GraphicsCache.h.
11 * It also makes life easier for files inside the graphics subdirectory!
14 #ifndef GRAPHICSTYPES_H
15 #define GRAPHICSTYPES_H
17 #include <boost/shared_ptr.hpp>
28 typedef boost::shared_ptr<GImage> ImagePtr;
31 /// The cache contains data of this type.
32 typedef boost::shared_ptr<GCacheItem> GraphicPtr;
34 /// The status of the loading process
36 /** The data is in the cache, but no request to display it
40 /// The image is in a loadable format and is being loaded.
42 /// The image is being converted to a loadable format.
44 /// The image has been loaded into memory.
46 /// The image is in memory and is being scaled, rotated, etc.
48 /// All finished. Can display the image.
57 ErrorGeneratingPixmap,
58 /// The data is not in the cache at all!
62 /// How is the image to be displayed on the LyX screen?
75 #endif // GRAPHICSTYPES_H