diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-02-23 11:30:55 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-02-25 16:53:36 +0100 |
commit | e2ea1ebe48db25f7372bbab21bc66cde5934895b (patch) | |
tree | 0b0289ecb7c9cf7967c1d6476e0e519984e55629 /include/rootston/view.h | |
parent | d08792bfffc6b7b28f59d7ee100091805367b7fa (diff) |
rootston: Add alpha channel to views
Diffstat (limited to 'include/rootston/view.h')
-rw-r--r-- | include/rootston/view.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h index c92cbcb1..7464edc5 100644 --- a/include/rootston/view.h +++ b/include/rootston/view.h @@ -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); |