all repos — openbox @ d5a96f6e380122baa4f68fb3ce621b7c02a58ee9

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
// -*- mode: C; indent-tabs-mode: nil; -*-
#ifndef   __rect_h
#define   __rect_h

#include <Python.h>

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