rootston: rotate views!

This commit is contained in:
emersion 2017-10-03 21:06:32 +02:00
parent a40d38798c
commit 9b88f25208
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 52 additions and 14 deletions

View file

@ -83,6 +83,7 @@ struct roots_input {
struct roots_view *active_view;
int offs_x, offs_y;
int view_x, view_y, view_width, view_height;
float view_rotation;
uint32_t resize_edges;
// Ring buffer of input events that could trigger move/resize/rotate