diff options
Diffstat (limited to 'examples/shared.h')
-rw-r--r-- | examples/shared.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/shared.h b/examples/shared.h index e2ebadef..23b2d83d 100644 --- a/examples/shared.h +++ b/examples/shared.h @@ -12,6 +12,24 @@ #include <wlr/types/wlr_output.h> #include <wlr/types/wlr_input_device.h> +struct output_config { + char *name; + enum wl_output_transform transform; + int x, y; + struct wl_list link; +}; + +struct example_config { + struct wl_list outputs; +}; + +struct example_config *parse_args(int argc, char *argv[]); + +void example_config_destroy(struct example_config *config); + +struct wlr_output_layout *configure_layout(struct example_config *config, + struct wl_list *outputs); + struct output_state { struct compositor_state *compositor; struct wlr_output *output; |