aboutsummaryrefslogtreecommitdiff
path: root/include/resize.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-07-03 12:11:21 -0500
committerFurkan Sahin <furkan-dev@proton.me>2016-07-03 12:11:21 -0500
commit3289ea4df8fec71f1734eab090ae7e52ba21bcd5 (patch)
treeb053d7c2e9cc7651991aea1254a6f1f5232aea7c /include/resize.h
parent3a295cfce4e1be1eb9e80ffd26b85df7a666be9b (diff)
resize command updates (#713)
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