This reference page is linked to from the following overview
topics: Icons.
Detailed Description
- See also:
- Class MaxIcon,
Class ICustButton.
- Description:
- This class is available in release 4.0 and later only.
This implementation of MaxIcon is for the icon images that are
stored as ".bmp" files in 3ds Max's UI directory. This is used by
the macroScript facility in MAXSrcipt to specify icons. See the
MAXScript documentation for "macroScript" for the exact meaning of
the filename and index and details.
#include <maxicon.h>
List of all
members.
Constructor & Destructor Documentation
- Parameters:
- MCHAR* pFilePrefix
The file prefix to initialize with.
int index
The index of the icon.
- Parameters:
- SClass_ID sid
The superclass ID
Class_ID
cid
The class ID/
Member Function Documentation
CoreExport HIMAGELIST GetDefaultImageList |
( |
|
) |
[virtual] |
CoreExport HIMAGELIST GetSmallImageList |
( |
|
) |
[virtual] |
CoreExport HIMAGELIST GetLargeImageList |
( |
|
) |
[virtual] |
CoreExport int GetSmallImageIndex |
( |
bool |
enabledVersion =
true , |
|
|
COLORREF |
backgroundColor =
GetCustSysColor(COLOR_BTNFACE) |
|
) |
|
[virtual] |
- Parameters:
- bool enabledVersion = true
Pass true for the enalbed version of the icon; false for the
disabled version.
COLORREF backgroundColor =
GetCustSysColor(COLOR_BTNFACE)
The background color for use in alpha blending. The files that
define these icons always have an alpha mask, and so a background
color is needed to blend it with.
Implements MaxIcon.
CoreExport int GetLargeImageIndex |
( |
bool |
enabledVersion =
true , |
|
|
COLORREF |
backgroundColor =
GetCustSysColor(COLOR_BTNFACE) |
|
) |
|
[virtual] |
- Parameters:
- bool enabledVersion = true
Pass true for the enalbed version of the icon; false for the
disabled version.
COLORREF backgroundColor =
GetCustSysColor(COLOR_BTNFACE)
The background color for use in alpha blending. The files that
define these icons always have an alpha mask, and so a background
color is needed to blend it with.
Implements MaxIcon.
CoreExport bool UsesAlphaMask |
( |
|
) |
[virtual] |
CoreExport MSTR& GetFilePrefix |
( |
|
) |
[inline] |
CoreExport int GetIndex |
( |
|
) |
[inline] |
CoreExport void SetKeepColor |
( |
|
) |
[inline] |
CoreExport bool GetKeepColor |
( |
|
) |
[inline] |
- Returns:
- Tells the icon to limit color correction.
MaxBmpFileIcon MaxBmpFileIcon
MaxBmpFileIcon MaxBmpFileIcon MaxBmpFileIcon MaxBmpFileIcon
MaxBmpFileIcon MaxBmpFileIcon MaxBmpFileIcon MaxBmpFileIcon
MaxBmpFileIcon MaxBmpFileIcon
MaxBmpFileIcon MaxBmpFileIcon MaxBmpFileIcon MaxBmpFileIcon
MaxBmpFileIcon MaxBmpFileIcon MaxBmpFileIcon MaxBmpFileIcon