summaryrefslogtreecommitdiff
path: root/src/x11-types.h
blob: 3a53d87f1030dbd4e5c885b7b7b238e6b58082b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __HERBST_X11_TYPES_H_
#define __HERBST_X11_TYPES_H_

typedef unsigned long HSColor;

struct Rectangle {
    int x;
    int y;
    int width;
    int height;
    Rectangle() {};
    Rectangle(int x, int y, int width, int height)
        : x(x), y(y), width(width), height(height) {};
};

typedef struct {
    int x;
    int y;
} Point2D;

#endif