summaryrefslogtreecommitdiff
path: root/src/screen.hpp
blob: d9324a28b72d5907fb178598f72923f00a816f98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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();
};