#include <mi32/iconid.h>
#include <mi32/stddefns.h>
Include dependency graph for micon.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
| struct | MICONSTRUCT |
Typedefs | |
| typedef MICONSTRUCT * | MICON |
Enumerations | |
| enum | MICONFLAGS { MICONFLAG_None = 0x0000, MICONFLAG_Stippled = 0x0001, MICONFLAG_DefaultBackground = 0x0002, MICONFLAG_StippledSelected = 0x0008, MICONFLAG_SizeMask = 0x0FF0, MICONFLAG_Size16 = 0x0100, MICONFLAG_Size32 = 0x0200, MICONFLAG_NoDarkenSelected = 0x1000, MICONFLAG_DisplayError = 0x2000 } |
Functions | |
| DEFINE_ENUM_OPERATORS (MICONFLAGS) | |
| int | MiconCreate (MICON *icon, ICONID iconid, MPIXEL bgpixel, UINT8 width, UINT8 height, UINT32 flags) |
| int | MiconCreate (MICON *icon, const char *group, const char *name, MPIXEL bgpixel, UINT8 width, UINT8 height, UINT32 flags) |
| int | MiconCreate (MICON *icon, int ihandle, const MIUNICODE *group, const MIUNICODE *name, MPIXEL bgpixel, UINT8 width, UINT8 height, UINT32 flags) |
| void | MiconDestroy (MICON icon) |
| UINT8 | MiconGetHeight (const MICON icon) |
| UINT8 | MiconGetWidth (const MICON icon) |
| void | MiconGroupClose (int ihandle) |
| int | MiconGroupOpen (const MIUNICODE *filename, const MIUNICODE *group) |
| ERRVALUE | MiconRead (ICONID iconid, MICON *normalicon, MICON *armselicon, MPIXEL normalbg, MPIXEL armselbg, MICONFLAGS flags=MICONFLAG_None) |
| ERRVALUE | MiconRead (ICONID iconid, MICON *normalicon, MICON *armselicon=0, MICONFLAGS flags=MICONFLAG_None) |
| int | MiconReadPattern (int ihandle, INT32 pattnum, const MIUNICODE *name, int width, int height, void **pattdata) |
| int | MiconReadStandard (int ihandle, const char *group, const char *name, MICON *normalicon, MICON *armeselicon, UINT32 flags) |
| int | MiconReadStandard (int ihandle, const char *group, const char *name, MICON *normalicon, MICON *armselicon, MPIXEL normalbg, MPIXEL armselbg, UINT32 flags) |
Definition in file micon.h.
| typedef MICONSTRUCT* MICON |
| enum MICONFLAGS |
Enumeration for flags used in various Micon functions.
| MICONFLAG_None | No flags specified. |
| MICONFLAG_Stippled | Create a "dimmed" pixmap as well as a normal pixmap. |
| MICONFLAG_DefaultBackground | Use MxTopLevel()'s XmNbackground resource. |
| MICONFLAG_StippledSelected | Create "dimmed" pixmap for armed/selected state. |
| MICONFLAG_SizeMask | Bit mask for sizes from 1 to 255. |
| MICONFLAG_Size16 | Resize icon to 16 by 16 if smaller. |
| MICONFLAG_Size32 | Resize icon to 32 by 32 if smaller. |
| MICONFLAG_NoDarkenSelected | Don't darken background for "selected" state. |
| MICONFLAG_DisplayError | Display icon reading error even in non-programmer mode. |
| DEFINE_ENUM_OPERATORS | ( | MICONFLAGS | ) |
1.5.2