aboutsummaryrefslogtreecommitdiffstats
path: root/include/testscreen.h
blob: a517700a4abb1efc22cdbd16e68e791aaaa1fac7 (plain)
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
#ifndef POSTMODERN_TESTSCREEN_H
#define POSTMODERN_TESTSCREEN_H 1

#include "boxii/window.h"
#include "boxii/textwindow.h"

#include "screen.h"

class TestScreen : public Screen {
private:
    std::shared_ptr<Boxii::Window> m_canvasWindow;
    std::shared_ptr<Boxii::TextWindow> m_infoWindow;

    int m_option;
    int *m_optionValues;
protected:
public:
    TestScreen();
    ~TestScreen();

    void activate() override;
    void deactivate() override;

    void refresh();

    void update() override;
};

#endif