CTWM
Loading...
Searching...
No Matches
RLayout Struct Reference

The layout of our display. More...

#include <r_structs.h>

Collaboration diagram for RLayout:
[legend]

Data Fields

RAreaListmonitors
 List of all output monitors.
RAreaListhoriz
 List of all unique horizontal regions.
RAreaListvert
 List of all unique vertical regions.
char ** names
 List of names of the monitors.

Detailed Description

The layout of our display.

This may encompass multiple monitors, of differing sizes. It's generally only used by a few vars at startup describing the layout, which gets referred to when we need to find various borders of our output.

Definition at line 45 of file r_structs.h.

Field Documentation

◆ horiz

RAreaList* RLayout::horiz

List of all unique horizontal regions.

Definition at line 47 of file r_structs.h.

Referenced by _RLayoutHorizontalIntersect(), _RLayoutRecenterHorizontally(), RLayoutFree(), RLayoutNew(), and RLayoutPrint().

◆ monitors

◆ names

char** RLayout::names

List of names of the monitors.

names[i] corresponds with monitors->areas[i]. This is used for looking up geometries with output names via RLayoutXParseGeometry(); e.g, "HDMI1:800x600+20+50".

Definition at line 54 of file r_structs.h.

Referenced by _RLayoutFreeNames(), RLayoutGetAreaByName(), RLayoutNew(), and RLayoutSetMonitorsNames().

◆ vert

RAreaList* RLayout::vert

List of all unique vertical regions.

Definition at line 48 of file r_structs.h.

Referenced by _RLayoutRecenterVertically(), _RLayoutVerticalIntersect(), RLayoutFree(), RLayoutNew(), and RLayoutPrint().


The documentation for this struct was generated from the following file: