aboutsummaryrefslogtreecommitdiff
path: root/lib/tctl/tctl.h
diff options
context:
space:
mode:
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