wlmaker
Loading...
Searching...
No Matches
Typedefs | Functions
background.h File Reference
#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.

Typedefs

typedef struct _wlmaker_background_t wlmaker_background_t
 

Functions

wlmaker_background_twlmaker_background_create (wlmtk_workspace_t *workspace_ptr, struct wlr_output_layout *wlr_output_layout_ptr, uint32_t color)
 
void wlmaker_background_destroy (wlmaker_background_t *background_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.

Typedef Documentation

◆ wlmaker_background_t

Forward declaration: Background state.

Function Documentation

◆ wlmaker_background_create()

wlmaker_background_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 handle for the background, or NULL on error.

◆ wlmaker_background_destroy()

void wlmaker_background_destroy ( wlmaker_background_t background_ptr)

Destroys the background.

Parameters
background_ptr