summaryrefslogtreecommitdiff
path: root/src/screen.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.hpp')
-rw-r--r--src/screen.hpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/screen.hpp b/src/screen.hpp
new file mode 100644
index 0000000..d9324a2
--- /dev/null
+++ b/src/screen.hpp
@@ -0,0 +1,33 @@
+/*
+ * =====================================================================================
+ *
+ * Filename: screen.hpp
+ *
+ * Description: NCurses screen
+ *
+ * Version: 1.0
+ * Created: 01/07/2023 09:52:54 PM
+ * Revision: none
+ * Compiler: gcc
+ *
+ * Author: Cara Salter (muirrum), cara@devcara.com
+ * Organization:
+ *
+ * =====================================================================================
+ */
+
+
+class Screen {
+ int _height, _width;
+ public:
+ // Initialize NCurses
+ Screen();
+ // Clear NCurses
+ ~Screen();
+ // Print a message on the screen
+ void add(const char* message);
+ // Get the screen height
+ int height();
+ // Get the screen width
+ int width();
+};