summaryrefslogtreecommitdiff
path: root/apps/graphics/traveler/include/trv_types.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-12-01 14:04:33 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-12-01 14:04:33 -0600
commit5679c41ad7f0cc42e181e732eb7ac0fb1fa9dd89 (patch)
treeb887740a5a3c2cf7061748bd99bc3c7fed5280f5 /apps/graphics/traveler/include/trv_types.h
parent0f7233e2d9d481934f4d60329c592a6c3eb2bc72 (diff)
downloadnuttx-5679c41ad7f0cc42e181e732eb7ac0fb1fa9dd89.tar.gz
nuttx-5679c41ad7f0cc42e181e732eb7ac0fb1fa9dd89.tar.bz2
nuttx-5679c41ad7f0cc42e181e732eb7ac0fb1fa9dd89.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.h7
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