AppleWin/source/frontends/ncurses/frame.h
Andrea Odetti 64d7994c71 Clean up the Frame and display disk information.
Report as well some measure of the ringing frequency of the speaker.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00

28 lines
393 B
C++

#pragma once
#include <memory>
#include <ncurses.h>
class Frame
{
public:
Frame();
WINDOW * getWindow();
WINDOW * getBuffer();
WINDOW * getStatus();
void init(int columns);
int getColumns() const;
private:
int myColumns;
std::shared_ptr<WINDOW> myFrame;
std::shared_ptr<WINDOW> myStatus;
std::shared_ptr<WINDOW> myBuffer;
std::shared_ptr<WINDOW> myBorders;
};