diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-25 13:16:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-25 13:16:35 -0500 |
commit | 3296365ce591ae4ba115befa8134bc2526b36710 (patch) | |
tree | e1b7a73b6d86e69b356bc8791a0b0996fa2842ad /include/rootston | |
parent | 7da653bbb4569d41ce1a46c97e3b10c675f73741 (diff) | |
parent | 202a728ee9a0e7dbfbcc7e51e060a2a9a5f09847 (diff) |
Merge pull request #659 from agx/alpha
Make wlr_render_with_matrix use alpha
Diffstat (limited to 'include/rootston')
-rw-r--r-- | include/rootston/view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h index 198086c1..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 { @@ -180,6 +182,7 @@ struct roots_xdg_popup { struct wl_listener new_popup; }; +struct roots_view *view_create(); void view_get_box(const struct roots_view *view, struct wlr_box *box); void view_activate(struct roots_view *view, bool active); void view_move(struct roots_view *view, double x, double y); @@ -190,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); |