diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-09 08:36:27 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-11-09 08:36:27 -0500 |
commit | 66587eb4304af9ffc0eaaea8161e53f8a6fd962b (patch) | |
tree | 382876a5f8f6e730ced207037d3c55a45e8ca66d /include/rootston | |
parent | 2f6cfe4057fbef41977159e24fea0d19fbeeb052 (diff) | |
parent | b5ad7a5232b919319eef1a198d731b308c0bb9cc (diff) |
Merge remote-tracking branch 'origin/master' into hidpi
Diffstat (limited to 'include/rootston')
-rw-r--r-- | include/rootston/view.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h index 79d61ba6..8a289355 100644 --- a/include/rootston/view.h +++ b/include/rootston/view.h @@ -73,15 +73,19 @@ struct roots_view { // elsewhere void (*get_size)(const struct roots_view *view, struct wlr_box *box); void (*activate)(struct roots_view *view, bool active); + void (*move)(struct roots_view *view, double x, double y); void (*resize)(struct roots_view *view, uint32_t width, uint32_t height); - void (*set_position)(struct roots_view *view, double x, double y); + void (*move_resize)(struct roots_view *view, double x, double y, + uint32_t width, uint32_t height); void (*close)(struct roots_view *view); }; void view_get_size(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); void view_resize(struct roots_view *view, uint32_t width, uint32_t height); -void view_set_position(struct roots_view *view, double x, double y); +void view_move_resize(struct roots_view *view, double x, double y, + uint32_t width, uint32_t height); void view_close(struct roots_view *view); bool view_center(struct roots_view *view); void view_setup(struct roots_view *view); |