614.1.1
by Maxime Soulé
First step of xrandr integration |
1 |
/*
|
2 |
* Copyright notice...
|
|
3 |
*/
|
|
4 |
||
5 |
#ifndef _CTWM_R_AREA_H
|
|
6 |
#define _CTWM_R_AREA_H
|
|
7 |
||
8 |
#include "r_structs.h" |
|
9 |
||
10 |
||
614.1.25
by Maxime Soulé
RArea struct is never malloc()ed anymore |
11 |
RArea *RAreaNewStatic(int x, int y, int width, int height); |
12 |
RArea RAreaNew(int x, int y, int width, int height); |
|
614.1.1
by Maxime Soulé
First step of xrandr integration |
13 |
|
614.1.22
by Maxime Soulé
RAreaListBigArea() does not return a pointer anymore, but a copy |
14 |
RArea RAreaInvalid(void); |
614.1.84
by Matthew Fuller
const-ify the RArea functions as appropriate. This overwhelmingly |
15 |
bool RAreaIsValid(const RArea *self); |
16 |
||
17 |
int RAreaX2(const RArea *self); |
|
18 |
int RAreaY2(const RArea *self); |
|
19 |
int RAreaArea(const RArea *self); |
|
20 |
RArea RAreaIntersect(const RArea *self, const RArea *other); |
|
21 |
bool RAreaIsIntersect(const RArea *self, const RArea *other); |
|
22 |
bool RAreaContainsXY(const RArea *self, int x, int y); |
|
23 |
RAreaList *RAreaHorizontalUnion(const RArea *self, const RArea *other); |
|
24 |
RAreaList *RAreaVerticalUnion(const RArea *self, const RArea *other); |
|
25 |
||
26 |
void RAreaPrint(const RArea *self); |
|
614.1.1
by Maxime Soulé
First step of xrandr integration |
27 |
|
28 |
#endif /* _CTWM_R_AREA_H */ |