mi32/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:

mi32/iconid.hmi32/stddefns.hmi32/dlldefns.hmi32/errcodes.hmi32/math.hmi32/errhandler.h

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

mi32/mgd2.hmgui/imagelst.hrvc/style.hgre/3dgmelem.hmgui/gridstyl.hmi32/mg2mem24.hmi32/grlayout.hmi32/mg2x.hmi32/grtree.hmi32/matte.hmi32/mg2binary.hmi32/mg2hdc.hmi32/mg2mem16.hmi32/mg2mem32.hmi32/mg2mem8g.hmi32/mg2simpl.hmi32/migrid.hmi32/mxgraph.hmi32/winssamp.hgre/base.hgre/3dutils.hgre/labelplacement.hrvc/dbtable.hrvc/geometrc.hrvc/formedst.hmi32/dbedit.hmi32/lablstyl.hgre/3dbound.hgre/3dtextur.hgre/3dgeomet.hgre/uitreeview.hmi32/framemem.hmgui/framestyledlg.hgre/layer.hgre/group.hgre/lrlegnd2.hmi32/mg2rast.hmi32/grlist.hmi32/inspmem.hmi32/mg2x32.hgre/view.hmi32/mg2mem1.hmi32/mg2mem1s.hmi32/mg2mem32rgba.hmi32/mg2rastt.hmi32/mg2rast8.hmgui/tree.hrvc/controls.hgre/legend.h

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, 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)


Detailed Description

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

Definition in file micon.h.


Typedef Documentation

typedef MICONSTRUCT* MICON

Definition at line 85 of file micon.h.


Enumeration Type Documentation

enum MICONFLAGS

Enumeration for flags used in various Micon functions.

Enumerator:
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 60 of file micon.h.


Function Documentation

DEFINE_ENUM_OPERATORS ( MICONFLAGS   ) 


Generated on Thu Apr 26 04:46:05 2007 for TNTsdk by  doxygen 1.5.2