Graphisoft®

Dialog ManagerVersion: 2.0

IconButton::IconButton

Class constructor.

IconButton (
    const Panel &       panel,
    short               item
);

Constructs the icon button from resource.

IconButton (
    const Panel &       panel,
    const Rect &        rect
);

Constructs the icon button with the given parameters.

Parameters

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