diff options
author | Matthew Hoops | 2011-03-07 13:24:05 -0500 |
---|---|---|
committer | Matthew Hoops | 2011-03-07 13:24:05 -0500 |
commit | b158a4084463d478ba961434f88971ae2a7aeac2 (patch) | |
tree | 650dc4b6733ed9a6dccc447748857d22c89efbef /graphics | |
parent | bc3638834b6ade93c24d9c96d457579e1675e0e3 (diff) | |
download | scummvm-rg350-b158a4084463d478ba961434f88971ae2a7aeac2.tar.gz scummvm-rg350-b158a4084463d478ba961434f88971ae2a7aeac2.tar.bz2 scummvm-rg350-b158a4084463d478ba961434f88971ae2a7aeac2.zip |
GRAPHICS: Add doxygen comments for WinCursorGroup
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/wincursor.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/wincursor.h b/graphics/wincursor.h index b89bda9cd4..ca0abf6fe1 100644 --- a/graphics/wincursor.h +++ b/graphics/wincursor.h @@ -74,6 +74,15 @@ private: void clear(); }; +/** + * A structure holding an array of cursors from a single Windows Executable cursor group. + * + * Windows lumps different versions of the same cursors/icons together and decides which one + * to use based on the screen's color depth and resolution. For instance, one cursor group + * could hold a 1bpp 16x16 cursorand a 8bpp 16x16 cursor. This will hold all cursors in the + * group. This class should be used to actually parse the cursors, whereas WinCursor is just + * the representation used by this struct to store the cursors. + */ struct WinCursorGroup { WinCursorGroup(); ~WinCursorGroup(); @@ -85,7 +94,9 @@ struct WinCursorGroup { Common::Array<CursorItem> cursors; + /** Create a cursor group from an NE EXE, returns 0 on failure */ static WinCursorGroup *createCursorGroup(Common::NEResources &exe, const Common::WinResourceID &id); + /** Create a cursor group from an PE EXE, returns 0 on failure */ static WinCursorGroup *createCursorGroup(Common::PEResources &exe, const Common::WinResourceID &id); }; |