GraphicsConfig.h Example

Microchip Graphics Library

Microchip Graphics Library
GraphicsConfig.h Example

This is an example of the GraphicsConfig.h file implementation: 

 

//////////////////// COMPILE OPTIONS AND DEFAULTS ////////////////////

#define     USE_NONBLOCKING_CONFIG     // Comment this line to use blocking configuration
#define     USE_FOCUS                  // Comment this line when not using FOCUS
#define     USE_TOUCHSCREEN            // Enable touch screen support.
#define     USE_KEYBOARD               // Enable key board support.

#define     USE_GOL                    // Enable Graphics Object Layer.
#define     USE_BUTTON                 // Enable Button Object.
#define     USE_CHART                  // Enable Chart Object.
#define     USE_WINDOW                 // Enable Window Object.
#define     USE_CHECKBOX               // Enable Checkbox Object.
#define     USE_RADIOBUTTON            // Enable Radio Button Object.
#define     USE_EDITBOX                // Enable Edit Box Object.
#define     USE_LISTBOX                // Enable List Box Object.
#define     USE_SLIDER                 // Enable Slider or Scroll Bar Object.
#define     USE_PROGRESSBAR            // Enable Progress Bar Object.
#define     USE_STATICTEXT             // Enable Static Text Object.
#define     USE_PICTURE                // Enable Picture Object.
#define     USE_GROUPBOX               // Enable Group Box Object.
#define     USE_ROUNDDIAL              // Enable Dial Object.
#define     USE_METER                  // Enable Meter Object.
#define     USE_TEXTENTRY              // Enable Text Entry Object.
#define     USE_CUSTOM                 // Enable Custom Control Object (an example to create customized Object).

#define     USE_MULTIBYTECHAR          // Enable unicode derived characters
#define     USE_FONT_FLASH             // Support for fonts located in internal flash
#define     USE_BITMAP_FLASH           // Support for bitmaps located in internal flash

#define     GOL_EMBOSS_SIZE            2

#define     COLOR_DEPTH                16  // The color depth used
Links
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved