aboutsummaryrefslogtreecommitdiff
path: root/lib/tctl/tctl.h
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-01-17 22:49:31 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2023-01-17 22:49:31 +0100
commit1a66f5d069e4ccb600186918f716323aa7bae052 (patch)
tree9010251014a766f29d1c2fb6c30c9abdb1766962 /lib/tctl/tctl.h
parentb2146cd4d6e6f5fda36d59c054e0634a2098a03c (diff)
add tctl and list
Diffstat (limited to 'lib/tctl/tctl.h')
-rw-r--r--lib/tctl/tctl.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/tctl/tctl.h b/lib/tctl/tctl.h
new file mode 100644
index 0000000..d106818
--- /dev/null
+++ b/lib/tctl/tctl.h
@@ -0,0 +1,14 @@
+#ifndef TCTL_H
+#define TCTL_H
+
+typedef struct {
+ unsigned short int height;
+ unsigned short int width;
+ unsigned short int ws_xpixel;
+ unsigned short int ws_ypixel;
+} window_size_t;
+
+window_size_t tctl_get_window_size();
+void tctl_set_window_size(window_size_t size);
+
+#endif