all repos — openbox @ d8aff44a6a639de83ba8f0957f9f9f17f2a05532

openbox fork - make it a bit more like ryudo

otk_c/rect.h (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifndef   __rect_h
#define   __rect_h

#include <Python.h>

extern PyTypeObject OtkRect_Type;

typedef struct OtkRect {
  PyObject_HEAD
  int x, y, width, height;
} OtkRect;

PyObject *OtkRect_New(int x, int y, int width, int height);

#endif // __rect_h