Fork of David Smart's RA8875 library

Fork of RA8875 by David Smart

Revision:
31:c72e12cd5c67
Child:
32:0e4f2ae512e2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DisplayDefs.h	Mon Jan 20 19:19:48 2014 +0000
@@ -0,0 +1,18 @@
+#ifndef DISPLAYDEFS_H
+#define DISPLAYDEFS_H
+
+typedef uint16_t color_t;
+
+/// return values from functions
+typedef enum
+{
+    noerror,                ///< no errors, command completed successfully
+    bad_parameter,          ///< one or more parameters are invalid
+    file_not_found,         ///< specified file could not be found
+    not_bmp_format,         ///< file is a not bmp file
+    not_supported_format,   ///< file format is not yet supported
+    image_too_big,          ///< image is too large for the screen
+    not_enough_ram,         ///< could not allocate ram for scanline
+} RetCode_t;
+
+#endif // DISPLAYDEFS_H