diff options
author | Drew DeVault <[email protected]> | 2019-01-13 20:38:34 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2019-01-13 20:38:34 -0500 |
commit | 23ab56bbf746e7aa4a940caa343d447a969fa37e (patch) | |
tree | 087201fd4d39c3a551c925c4f5479311e10e6623 /include/sway/output.h | |
parent | 08569aab36837bf1a43c9c7c8445aa13dc78a814 (diff) | |
parent | ed5aafd90bd850ad27dcb36ac4438ed926480394 (diff) |
Merge pull request #3402 from RyanDwyer/refactor-seatops
Refactor seat operations to use an interface
Diffstat (limited to 'include/sway/output.h')
-rw-r--r-- | include/sway/output.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index f7c5ceba..bdf9614d 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -146,4 +146,12 @@ enum sway_container_layout output_get_default_layout( void output_add_listeners(struct sway_output *output); +void render_rect(struct wlr_output *wlr_output, + pixman_region32_t *output_damage, const struct wlr_box *_box, + float color[static 4]); + +void premultiply_alpha(float color[4], float opacity); + +void scale_box(struct wlr_box *box, float scale); + #endif |