diff options
author | Erik Reider <[email protected]> | 2024-01-08 09:23:32 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-08 09:23:32 +0100 |
commit | b875d712407115b381915495e50875cfc523b76d (patch) | |
tree | 4f050bcb1a18179accd390749420d00714664691 /include/scenefx/types/fx | |
parent | 6759e8da7ab53a46b0eb04e5045b8c67262c3a11 (diff) | |
parent | cc83f41dbfc12af350c37f46677b82a64df801b8 (diff) |
Merge pull request #27 from wlrfx/add_back_xkbcommon_dep
Meson fixes
Diffstat (limited to 'include/scenefx/types/fx')
-rw-r--r-- | include/scenefx/types/fx/shadow_data.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/scenefx/types/fx/shadow_data.h b/include/scenefx/types/fx/shadow_data.h new file mode 100644 index 0000000..d96a084 --- /dev/null +++ b/include/scenefx/types/fx/shadow_data.h @@ -0,0 +1,18 @@ +#ifndef TYPES_DECORATION_DATA +#define TYPES_DECORATION_DATA + +#include <stdbool.h> +#include <wlr/util/addon.h> +#include <wlr/render/pass.h> + +struct shadow_data { + bool enabled; + struct wlr_render_color color; + float blur_sigma; +}; + +struct shadow_data shadow_data_get_default(void); + +bool scene_buffer_has_shadow(struct shadow_data *data); + +#endif |