ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Graphics::WinCursorGroup Struct Reference

A structure holding an array of cursors from a single Windows Executable cursor group. More...

#include <wincursor.h>

Collaboration diagram for Graphics::WinCursorGroup:

List of all members.

Classes

struct  CursorItem

Public Member Functions

 WinCursorGroup ()
 ~WinCursorGroup ()

Static Public Member Functions

static WinCursorGroupcreateCursorGroup (Common::WinResources *exe, const Common::WinResourceID &id)
 Create a cursor group from an EXE, returns 0 on failure.

Public Attributes

Common::Array< CursorItemcursors

Detailed Description

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.

Definition at line 46 of file wincursor.h.


Constructor & Destructor Documentation

Graphics::WinCursorGroup::WinCursorGroup (  ) 

Definition at line 235 of file wincursor.cpp.

Graphics::WinCursorGroup::~WinCursorGroup (  ) 

Definition at line 238 of file wincursor.cpp.


Member Function Documentation

WinCursorGroup * Graphics::WinCursorGroup::createCursorGroup ( Common::WinResources exe,
const Common::WinResourceID id 
) [static]

Create a cursor group from an EXE, returns 0 on failure.

Definition at line 243 of file wincursor.cpp.


Member Data Documentation


The documentation for this struct was generated from the following files:


Generated on Sat May 23 2020 05:02:26 for ResidualVM by doxygen 1.7.1
curved edge   curved edge