|
wlmaker
|
#include <stdbool.h>#include <toolkit/toolkit.h>#include "wlclient/layer_surface.h"#include "wlclient/wlclient.h"

Go to the source code of this file.
Typedefs | |
| typedef struct _wlmdock_subcompositor_t | wlmdock_subcompositor_t |
Functions | |
| wlmdock_subcompositor_t * | wlmdock_subcompositor_create (struct wl_display *wl_display_ptr, struct wlr_backend *wlr_backend_ptr, wlmcl_client_t *client_ptr, wlmcl_layer_surface_t *layer_surface_ptr, struct wlmim_cursor_style *cursor_style_ptr, wlmtk_container_t *container_ptr) |
| bool | wlmdock_subcompositor_start (wlmdock_subcompositor_t *subcompositor_ptr, struct wlr_backend *wlr_backend_ptr, struct wlr_allocator *wlr_allocator_ptr, struct wlr_renderer *wlr_renderer_ptr) |
| void | wlmdock_subcompositor_destroy (wlmdock_subcompositor_t *subcompositor_ptr) |
| wlmtk_element_t * | wlmdock_subcompositor_element (wlmdock_subcompositor_t *subcompositor_ptr) |
Interface for a subcompositor based off a wl_surface. TODO(kaese.nosp@m.r@gu.nosp@m.bbe.c.nosp@m.h): Give this module a better name. An output? Scene?
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
| typedef struct _wlmdock_subcompositor_t wlmdock_subcompositor_t |
Handle to the subcompositor's state.
| wlmdock_subcompositor_t * wlmdock_subcompositor_create | ( | struct wl_display * | wl_display_ptr, |
| struct wlr_backend * | wlr_backend_ptr, | ||
| wlmcl_client_t * | client_ptr, | ||
| wlmcl_layer_surface_t * | layer_surface_ptr, | ||
| struct wlmim_cursor_style * | cursor_style_ptr, | ||
| wlmtk_container_t * | container_ptr | ||
| ) |
Creates a subcompositor.
| wl_display_ptr | |
| wlr_backend_ptr | Must be a wayland backend, not started (yet). |
| client_ptr | |
| layer_surface_ptr | |
| cursor_style_ptr | |
| container_ptr |
| void wlmdock_subcompositor_destroy | ( | wlmdock_subcompositor_t * | subcompositor_ptr | ) |
Destroys the subcompositor.
| subcompositor_ptr |
| wlmtk_element_t * wlmdock_subcompositor_element | ( | wlmdock_subcompositor_t * | subcompositor_ptr | ) |
Returns the topmost element of the subcompositor's element tree.
| subcompositor_ptr |
| bool wlmdock_subcompositor_start | ( | wlmdock_subcompositor_t * | subcompositor_ptr, |
| struct wlr_backend * | wlr_backend_ptr, | ||
| struct wlr_allocator * | wlr_allocator_ptr, | ||
| struct wlr_renderer * | wlr_renderer_ptr | ||
| ) |
Starts the subcompositor.
| subcompositor_ptr | |
| wlr_backend_ptr | Must be a wayland backend, must be started. |
| wlr_allocator_ptr | |
| wlr_renderer_ptr |