Graphisoft®

Dialog ManagerVersion: 2.0

IconItem::IconItem

Class constructor.

IconItem (
    const Panel &       panel,
    short               item
);

Constructs the icon item from resource.

IconItem (
    const Panel &       panel,
    const Rect &        rect,
    FrameType           type = NoFrame
);

Constructs the icon item with the given parameters.

Parameters

panel
A reference to the parent panel of the icon item.
item
The item ID of the icon item.
rect
A reference to the bounding rectangle of the icon item.
type
The frame type of the icon item.