macro fixes
This commit is contained in:
parent
707ade1f2f
commit
563d240962
2 changed files with 12 additions and 4 deletions
|
@ -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__)
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue