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
#define _GDISP_H
#ifndef GFX_USE_GDISP
#define GFX_USE_GDISP FALSE
#endif
#if GFX_USE_GDISP || defined(__DOXYGEN__)
/*===========================================================================*/

View File

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