macro fixes

ugfx_release_2.6
Joel Bodenmann 2012-10-24 22:51:25 +02:00
parent 707ade1f2f
commit 563d240962
2 changed files with 12 additions and 4 deletions

View File

@ -27,6 +27,10 @@
#ifndef _GDISP_H #ifndef _GDISP_H
#define _GDISP_H #define _GDISP_H
#ifndef GFX_USE_GDISP
#define GFX_USE_GDISP FALSE
#endif
#if GFX_USE_GDISP || defined(__DOXYGEN__) #if GFX_USE_GDISP || defined(__DOXYGEN__)
/*===========================================================================*/ /*===========================================================================*/

View File

@ -21,15 +21,19 @@
#ifndef GRAPH_H #ifndef GRAPH_H
#define GRAPH_H #define GRAPH_H
#ifndef GFX_USE_GRAPH
#define GFX_USE_GRAPH FALSE
#endif
#if GFX_USE_GRAPH #if GFX_USE_GRAPH
typedef struct _Graph { typedef struct _Graph {
coord_t origin_x; coord_t origin_x;
coord_t origin_y; coord_t origin_y;
int xmin; coord_t xmin;
int xmax; coord_t xmax;
int ymin; coord_t ymin;
int ymax; coord_t ymax;
uint16_t grid_size; uint16_t grid_size;
uint16_t dot_space; uint16_t dot_space;
bool_t full_grid; bool_t full_grid;