-
Committer:
Richard Grenville
-
Date:
2015-09-06 12:53:07 UTC
-
Revision ID:
git-v1:7d4d87d68340c00edf5d2d4fafa207f078f4d117
Misc: Add margin_t & Store frame extents with it & Misc
- Add margin_t, a structure that represents margins around a rectangle.
- Store frame extents of a window with margin_t, replacing the 4
fields ({left,right,top,bottom}_width) in struct _win.
- Add two helper macros, cmemzero() and cmemzero_one(), that zero out a
block of memory.