Searched refs:RArea (Results 1 - 19 of 19) sorted by relevance

/xsrc/external/mit/ctwm/dist/
H A Dr_area.h11 RArea *RAreaNewStatic(int x, int y, int width, int height);
12 RArea RAreaNew(int x, int y, int width, int height);
14 RArea RAreaInvalid(void);
15 bool RAreaIsValid(const RArea *self);
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 *othe
[all...]
H A Dr_layout.h20 RArea RLayoutGetAreaAtXY(const RLayout *self, int x, int y);
21 RArea RLayoutGetAreaIndex(const RLayout *self, int index);
22 RArea RLayoutGetAreaByName(const RLayout *self, const char *name, int len);
24 void RLayoutFindTopBottomEdges(const RLayout *self, const RArea *area, int *top,
26 int RLayoutFindBottomEdge(const RLayout *self, const RArea *area);
27 int RLayoutFindTopEdge(const RLayout *self, const RArea *area);
28 void RLayoutFindLeftRightEdges(const RLayout *self, const RArea *area,
31 int RLayoutFindLeftEdge(const RLayout *self, const RArea *area);
32 int RLayoutFindRightEdge(const RLayout *self, const RArea *area);
34 int RLayoutFindMonitorBottomEdge(const RLayout *self, const RArea *are
[all...]
H A Dr_structs.h16 struct RArea { struct
25 * A set of RArea's.
33 RArea *areas; ///< Array of RArea members of this list
H A Dr_area_list.h19 void RAreaListAdd(RAreaList *self, const RArea *area);
24 RAreaList *RAreaListIntersect(const RAreaList *self, const RArea *area);
26 bool (*func)(const RArea *area, void *data),
29 RArea RAreaListBigArea(const RAreaList *self);
30 RArea RAreaListBestTarget(const RAreaList *self, const RArea *area);
43 /// How many RArea's are in the list?
H A Dr_area.c16 * Construct an RArea from given components.
18 RArea
21 RArea area = { x, y, width, height };
27 * Return a pointer to a static newly constructed RArea.
30 * pointer. This is used in places that need to take RArea pointers, but
34 RArea *
37 static RArea area;
44 * Return a facially-invalid RArea.
48 RArea
51 RArea are
[all...]
H A Dr_layout.c22 const RArea *far_area);
24 const RArea *far_area);
26 const RArea *area);
28 const RArea *area);
31 static bool _findMonitorByXY(const RArea *cur, void *vdata);
32 static bool _findMonitorBottomEdge(const RArea *cur, void *vdata);
33 static bool _findMonitorTopEdge(const RArea *cur, void *vdata);
34 static bool _findMonitorLeftEdge(const RArea *cur, void *vdata);
35 static bool _findMonitorRightEdge(const RArea *cur, void *vdata);
143 * Next, a few util funcs for dealing with RArea'
[all...]
H A Dr_area_list.c23 const RArea *area);
34 * Create an RAreaList from a set of RArea's.
35 * \param cap Hint as to the number of RArea's being passed
36 * \param ... Sequence of RArea * to put in it. Don't forget a trailing
44 RArea *area;
56 list->areas = malloc(cap * sizeof(RArea));
63 while((area = va_arg(ap, RArea *)) != NULL) {
100 RArea big_area = RAreaListBigArea(self);
152 * Delete an RArea from inside an RAreaList.
168 (self->len - index) * sizeof(RArea));
[all...]
H A Dtypes.h69 typedef struct RArea RArea; typedef in typeref:struct:RArea
H A Dxparsegeometry.c33 RArea mon = RLayoutGetAreaByName(layout, geometry, sep - geometry);
38 RArea big = RLayoutBigArea(layout);
H A Dxrandr.c79 RArea cur_area = RAreaNew(ps_monitors[i].x,
H A Dwin_utils.c500 RArea monitor = RLayoutGetAreaAtXY(Scr->BorderedLayout, x, y);
516 _tryToPack(RArea *final, const RArea *cur_win)
553 _tryToPackVsEachMonitor(const RArea *monitor_area, void *vfinal)
555 _tryToPack((RArea *)vfinal, monitor_area);
563 RArea cur_win;
564 RArea final = RAreaNew(*x, *y,
763 RArea area = RAreaNew(*left, *top, width, height);
H A Dfunctions_identify.c242 RArea area = RAreaNew(px, py, width, height);
H A Dctwm_main.c452 RArea *fs;
1003 RArea area = RLayoutGetAreaIndex(Scr->Layout, 0);
H A Dadd_window.c1246 RArea area;
1466 RArea area;
H A Dfunctions_win_moveresize.c1334 RArea area = RAreaNew(winx, winy, winw, winh);
H A Dwin_decorations.c99 RArea area = RAreaNew(x, y, w, h);
H A Dwin_resize.c949 RArea area, finalArea = RAreaInvalid();
/xsrc/external/mit/ctwm/dist/doc/devman/
H A Dindex.adoc18 involving `RArea` and `RLayout` bits.
/xsrc/external/mit/ctwm/dist/tests/layout/
H A Dtest_layout.c56 RArea area = list->areas[i];
219 RArea win = { 0 };
381 RArea got_area, expected_area;

Completed in 17 milliseconds