back  
TypeServer Source Code Configuration Header Files

TypeServer source code configuration files allow you to trim code size by removing features not used by your application.  For example, the following header file excerpt controls bitmap driver support:

   :
/* ============================================================================
 * MGCONFIG_BITMAPSUPPORT_...
 *
 * The following #define's and #undef's enable or disable support for common
 * bitmap formats.  At least one bitmap support format should be #defined.
 * Other formats may be #undef'ed to disable support and reduce code size.
 */

/* #define/#undef to enable/disable  1-bit,   monochrome support      */
#define MGCONFIG_BITMAPSUPPORT_1BIT     /*  1-bit packed-pixel  */

/* #define/#undef to enable/disable  2-bit,   4-color support         */
#define MGCONFIG_BITMAPSUPPORT_2BIT     /*  2-bit packed-pixel  */

/* #define/#undef to enable/disable  4-bit,  16-color support         */
#define MGCONFIG_BITMAPSUPPORT_4BIT     /*  4-bit packed-pixel  */

/* #define/#undef to enable/disable 4-plane, 16-color support         */
#define MGCONFIG_BITMAPSUPPORT_4PLANE   /*  4-bit planar-pixel  */

/* #define/#undef to enable/disable  8-bit, 256-color support         */
#define MGCONFIG_BITMAPSUPPORT_8BIT     /*  8-bit packed-pixel  */

/* #define/#undef to enable/disable 16-bit, 64K-color support         */
#define MGCONFIG_BITMAPSUPPORT_16BIT    /* 16-bit packed-pixel  */

/* #define/#undef to enable/disable 24-bit, 16M-color support         */
#define MGCONFIG_BITMAPSUPPORT_24BIT    /* 24-bit packed-pixel  */

/* #define/#undef to enable/disable 32-bit, 16M-color+alpha support   */
#define MGCONFIG_BITMAPSUPPORT_32BIT    /* 32-bit packed-pixel  */
   :


Home | Products | Order | Register | Support | Company | Contact | Feedback

Copyright © 1999-2001 - Metagraphics Software Corporation.