Graphisoft®

Dialog ManagerVersion: 2.0

Icon::Icon

Class constructor.

Icon ();

Constructs an empty icon object.

Icon (short resId);

Constructs the icon with the given resource ID. The resource module will be InvalidResModule.

Icon (
    GSResModule         resModule,
    short               resId
);

Constructs the icon with the given resource ID and resource module.

Icon (const void * data);

Constructs the icon object with the given icon data.

Parameters

resId
The resource ID of the icon.
resModule
The resource module of the icon.
data
The icon data. On Macintosh, it is a NSImage* cast to void*, on Windows, it is a HICON cast to void*.