micon.h File Reference

<mi32/micon.h> Definitions for portable "icon" functions More...

#include <mi32/iconid.h>
#include <mi32/stddefns.h>

Include dependency graph for micon.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  MICONSTRUCT

Typedefs

typedef MICONSTRUCTMICON

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, const char *group, const char *name, MPIXEL bgpixel, UINT8 width, UINT8 height, UINT32 flags)
int MiconCreate (MICON *icon, int ihandle, const UNICODE *group, const UNICODE *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 UNICODE *filename, const UNICODE *group)
ERRVALUE MiconRead (ICONID iconid, MICON *normalicon, MICON *armselicon, MPIXEL normalbg, MPIXEL armselbg, MICONFLAGS flags)
ERRVALUE MiconRead (ICONID iconid, MICON *normalicon, MICON *armselicon, MICONFLAGS flags)
int MiconReadPattern (int ihandle, INT32 pattnum, const UNICODE *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)


Detailed Description

<mi32/micon.h> Definitions for portable "icon" functions

Definition in file micon.h.


Typedef Documentation

typedef MICONSTRUCT* MICON
 

Definition at line 76 of file micon.h.


Enumeration Type Documentation

enum MICONFLAGS
 

Enumeration for flags used in various Micon functions.

Enumeration values:
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.

Definition at line 51 of file micon.h.


Function Documentation

DEFINE_ENUM_OPERATORS MICONFLAGS   ) 
 


Generated on Tue Dec 14 13:19:06 2004 for TNTsdk by  doxygen 1.3.8-20040913