/*
 * xrick/include/rects.h
 *
 * This source code file is part of the xrick distribution, and as such is
 * copyrighted. Please read the README file in the root directory of the
 * distribution for information about copyrights, trademarks, license,
 * disclaimers, etc.
 */

#ifndef _RECTS_H
#define _RECTS_H

#include "system.h"

typedef struct rect_s {
  U16 x, y;
  U16 width, height;
  struct rect_s *next;
} rect_t;

extern void rects_free(rect_t *);
extern rect_t *rects_new(U16, U16, U16, U16, rect_t *);

#endif

/* eof */
