KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
81:01da2e34283d
Parent:
79:544eb4964795
Child:
83:7bad0068cca0
--- a/DisplayDefs.h	Sun Dec 28 19:58:18 2014 +0000
+++ b/DisplayDefs.h	Sun Dec 28 21:50:28 2014 +0000
@@ -39,6 +39,15 @@
     loc_t y;             ///< y value in the point
 } point_t;
 
+/// type that manages rectangles, which are pairs of points. It is recommended
+/// that p1 contains the top-left point and p2 contains the bottom-right point,
+/// even though eventually this should not matter.
+typedef struct
+{
+    point_t p1;         ///< p1 defines one point on the rectangle
+    point_t p2;         ///< p2 defines the opposite point on the rectangle
+} rect_t;
+
 typedef struct
 {
     int32_t An, Bn, Cn, Dn, En, Fn, Divider;