wlmaker
Loading...
Searching...
No Matches
background.h File Reference
#include <libbase/libbase.h>
#include <stdint.h>
#include "toolkit/toolkit.h"
Include dependency graph for background.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bs_dllist_node_t * wlmaker_background_create (wlmtk_workspace_t *workspace_ptr, struct wlr_output_layout *wlr_output_layout_ptr, uint32_t color)
void wlmaker_background_dlnode_destroy (bs_dllist_node_t *dlnode_ptr, void *ud_ptr)
void wlmaker_background_dlnode_set_color (bs_dllist_node_t *dlnode_ptr, void *ud_ptr)

Detailed Description

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.

Function Documentation

◆ wlmaker_background_create()

bs_dllist_node_t * wlmaker_background_create ( wlmtk_workspace_t * workspace_ptr,
struct wlr_output_layout * wlr_output_layout_ptr,
uint32_t color )

Creates a background, derived from a wlmtk_panel_t.

Parameters
workspace_ptr
wlr_output_layout_ptr
color
Returns
A list node acting as handle for the background, or NULL on error.

◆ wlmaker_background_dlnode_destroy()

void wlmaker_background_dlnode_destroy ( bs_dllist_node_t * dlnode_ptr,
void * ud_ptr )

Destroys the background.

Parameters
dlnode_ptr
ud_ptr

◆ wlmaker_background_dlnode_set_color()

void wlmaker_background_dlnode_set_color ( bs_dllist_node_t * dlnode_ptr,
void * ud_ptr )

Sets the color for this workspace's background on each output.

Parameters
dlnode_ptr
ud_ptr