diff options
author | Drew DeVault <[email protected]> | 2016-07-03 21:53:28 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2016-07-03 21:53:28 -0400 |
commit | b658b464ece28a21017e39f383bb4487a40816f9 (patch) | |
tree | 71f4098558a28738e81ed7f71137da889c24c808 /include/resize.h | |
parent | 7144fb9fc3b3d3b45d23deaab6a10caf3216cca4 (diff) | |
parent | a7b94f1324a1f9b19aad5ebde15d8d3c4693b980 (diff) |
Merge pull request #732 from zandrmartin/set-size-command
Set size command
Diffstat (limited to 'include/resize.h')
-rw-r--r-- | include/resize.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/resize.h b/include/resize.h index d49cc74a..0d382994 100644 --- a/include/resize.h +++ b/include/resize.h @@ -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 |