openbox/otk_c/rect.h

17 lines
317 B
C
Raw Normal View History

2002-12-21 14:57:59 +00:00
// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2002-12-20 23:26:51 +00:00
#ifndef __rect_h
#define __rect_h
#include <Python.h>
2002-12-21 14:57:59 +00:00
extern PyTypeObject OtkRect_Type;
typedef struct OtkRect {
PyObject_HEAD
2002-12-20 23:19:07 +00:00
int x, y, width, height;
} OtkRect;
PyObject *OtkRect_New(int x, int y, int width, int height);
2002-12-20 23:26:51 +00:00
#endif // __rect_h