ScummVM API documentation
Graphics::WinCursorGroup Struct Reference

#include <wincursor.h>

Classes

struct  CursorItem
 

Static Public Member Functions

static WinCursorGroupcreateCursorGroup (Common::WinResources *exe, const Common::WinResourceID &id)
 

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.

Member Function Documentation

◆ createCursorGroup()

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

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


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