|
#ifndef PRIMITIVES_H
|
|
#define PRIMITIVES_H
|
|
#include "Text.h"
|
|
|
|
struct Box {
|
|
int x;
|
|
int y;
|
|
int w;
|
|
int h;
|
|
int flags;
|
|
};
|
|
struct Box *newBox(int x, int y, int w, int h, int flags);
|
|
int cleanBox(struct Box *box);
|
|
int freeBox(struct Box *box);
|
|
int inBox(struct Box box, int x, int y);
|
|
|
|
#endif
|