mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
rootston: Add alpha channel to views
This commit is contained in:
parent
d08792bfff
commit
e2ea1ebe48
3 changed files with 10 additions and 1 deletions
|
|
@ -83,6 +83,7 @@ struct roots_view {
|
|||
double x, y;
|
||||
uint32_t width, height;
|
||||
float rotation;
|
||||
float alpha;
|
||||
|
||||
bool decorated;
|
||||
int border_width;
|
||||
|
|
@ -94,6 +95,7 @@ struct roots_view {
|
|||
double x, y;
|
||||
uint32_t width, height;
|
||||
float rotation;
|
||||
float alpha;
|
||||
} saved;
|
||||
|
||||
struct {
|
||||
|
|
@ -191,6 +193,7 @@ void view_maximize(struct roots_view *view, bool maximized);
|
|||
void view_set_fullscreen(struct roots_view *view, bool fullscreen,
|
||||
struct wlr_output *output);
|
||||
void view_rotate(struct roots_view *view, float rotation);
|
||||
void view_cycle_alpha(struct roots_view *view);
|
||||
void view_close(struct roots_view *view);
|
||||
bool view_center(struct roots_view *view);
|
||||
void view_setup(struct roots_view *view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue