|
|
@ -22,28 +22,28 @@ struct wlr_output_layout_output *wlr_output_layout_get(
|
|
|
|
struct wlr_output_layout *layout, struct wlr_output *reference);
|
|
|
|
struct wlr_output_layout *layout, struct wlr_output *reference);
|
|
|
|
|
|
|
|
|
|
|
|
struct wlr_output *wlr_output_layout_output_at(struct wlr_output_layout *layout,
|
|
|
|
struct wlr_output *wlr_output_layout_output_at(struct wlr_output_layout *layout,
|
|
|
|
double x, double y);
|
|
|
|
double x, double y);
|
|
|
|
|
|
|
|
|
|
|
|
void wlr_output_layout_add(struct wlr_output_layout *layout,
|
|
|
|
void wlr_output_layout_add(struct wlr_output_layout *layout,
|
|
|
|
struct wlr_output *output, int x, int y);
|
|
|
|
struct wlr_output *output, int x, int y);
|
|
|
|
|
|
|
|
|
|
|
|
void wlr_output_layout_move(struct wlr_output_layout *layout,
|
|
|
|
void wlr_output_layout_move(struct wlr_output_layout *layout,
|
|
|
|
struct wlr_output *output, int x, int y);
|
|
|
|
struct wlr_output *output, int x, int y);
|
|
|
|
|
|
|
|
|
|
|
|
void wlr_output_layout_remove(struct wlr_output_layout *layout,
|
|
|
|
void wlr_output_layout_remove(struct wlr_output_layout *layout,
|
|
|
|
struct wlr_output *output);
|
|
|
|
struct wlr_output *output);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Given x and y as pointers to global coordinates, adjusts them to local output
|
|
|
|
* Given x and y as pointers to global coordinates, adjusts them to local output
|
|
|
|
* coordinates relative to the given reference output.
|
|
|
|
* coordinates relative to the given reference output.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void wlr_output_layout_output_coords(struct wlr_output_layout *layout,
|
|
|
|
void wlr_output_layout_output_coords(struct wlr_output_layout *layout,
|
|
|
|
struct wlr_output *reference, int *x, int *y);
|
|
|
|
struct wlr_output *reference, int *x, int *y);
|
|
|
|
|
|
|
|
|
|
|
|
bool wlr_output_layout_contains_point(struct wlr_output_layout *layout,
|
|
|
|
bool wlr_output_layout_contains_point(struct wlr_output_layout *layout,
|
|
|
|
struct wlr_output *reference, int x, int y);
|
|
|
|
struct wlr_output *reference, int x, int y);
|
|
|
|
|
|
|
|
|
|
|
|
bool wlr_output_layout_intersects(struct wlr_output_layout *layout,
|
|
|
|
bool wlr_output_layout_intersects(struct wlr_output_layout *layout,
|
|
|
|
struct wlr_output *reference, int x1, int y1, int x2, int y2);
|
|
|
|
struct wlr_output *reference, int x1, int y1, int x2, int y2);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|