diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-12-01 14:04:33 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-12-03 16:48:05 -0600 |
commit | bd6542081652705e24162921d16d433ce0d05012 (patch) | |
tree | 8e048bfb5518e43733c941b6c59b06a665599f44 /apps/graphics/traveler/include/trv_types.h | |
parent | 1edc1dfd51438e8f0d1fa4e91a02b912b52eb7fe (diff) | |
download | nuttx-bd6542081652705e24162921d16d433ce0d05012.tar.gz nuttx-bd6542081652705e24162921d16d433ce0d05012.tar.bz2 nuttx-bd6542081652705e24162921d16d433ce0d05012.zip |
Add graphic device initialize logic (incomplete)
Diffstat (limited to 'apps/graphics/traveler/include/trv_types.h')
-rw-r--r-- | apps/graphics/traveler/include/trv_types.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/graphics/traveler/include/trv_types.h b/apps/graphics/traveler/include/trv_types.h index 6fbf61071..2eb9f2618 100644 --- a/apps/graphics/traveler/include/trv_types.h +++ b/apps/graphics/traveler/include/trv_types.h @@ -41,12 +41,12 @@ ****************************************************************************/ #include <nuttx/config.h> +#include <nuttx/compiler.h> +#include <sys/types.h> #include <stdint.h> #include <stdbool.h> -#include <nuttx/nx/nxglib.h> - /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ @@ -63,7 +63,8 @@ * Public Types ****************************************************************************/ -typedef uint8_t trv_pixel_t; +typedef uint8_t trv_pixel_t; /* Width of one pixel in rendering phase */ +typedef int16_t trv_coord_t; /* Contains one display coordinate */ /**************************************************************************** * Public Function Prototypes |