resize command updates (#713)

This commit is contained in:
Zandr Martin 2016-07-03 12:11:21 -05:00
parent aced6daa19
commit d5e4fff345
No known key found for this signature in database
GPG key ID: AA2BB8EF77F7BBDC
6 changed files with 229 additions and 52 deletions

View file

@ -2,7 +2,13 @@
#define _SWAY_RESIZE_H
#include <stdbool.h>
bool set_size_tiled(int amount, bool use_width);
bool resize_tiled(int amount, bool use_width);
enum resize_dim_types {
RESIZE_DIM_PX,
RESIZE_DIM_PPT,
RESIZE_DIM_DEFAULT,
};
bool set_size(int dimension, bool use_width);
bool resize(int dimension, bool use_width, enum resize_dim_types dim_type);
#endif