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::NEResources &exe, const Common::WinResourceID &id)
 Create a cursor group from an NE EXE, returns 0 on failure.
static WinCursorGroupcreateCursorGroup (Common::PEResources &exe, const Common::WinResourceID &id)
 Create a cursor group from an PE 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 48 of file wincursor.h.


Constructor & Destructor Documentation

Graphics::WinCursorGroup::WinCursorGroup (  ) 

Definition at line 237 of file wincursor.cpp.

Graphics::WinCursorGroup::~WinCursorGroup (  ) 

Definition at line 240 of file wincursor.cpp.


Member Function Documentation

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

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

Definition at line 245 of file wincursor.cpp.

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

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

Definition at line 301 of file wincursor.cpp.


Member Data Documentation


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


Generated on Sat Sep 21 2019 05:03:39 for ResidualVM by doxygen 1.7.1
curved edge   curved edge