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
|
#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__)
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue