aboutsummaryrefslogtreecommitdiff
path: root/include/resize.h
diff options
context:
space:
mode:
authorZandr Martin <zandrmartin@users.noreply.github.com>2016-07-04 13:53:49 -0500
committerGitHub <noreply@github.com>2016-07-04 13:53:49 -0500
commite07b8c8d7cfaaf6667a766c9d42d59fc14e98872 (patch)
tree93c374e26425460bfa7ad1bc1528a1b9b5725a8e /include/resize.h
parentf8a94f2f4b429c75940d7451d3e7d75dfd4b66d3 (diff)
parent33abcd9573155d36f8a40936d06a44704287a99b (diff)
Merge branch 'master' into get-tree-command
Diffstat (limited to 'include/resize.h')
-rw-r--r--include/resize.h10
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