moved files out of subdirectories, added required documentation
This commit is contained in:
23
src/curses_output.h
Normal file
23
src/curses_output.h
Normal file
@ -0,0 +1,23 @@
|
||||
#ifndef __CURSES_OUTPUT_H__
|
||||
#define __CURSES_OUTPUT_H__
|
||||
|
||||
#include <utility>
|
||||
#include <memory>
|
||||
#include "cursor.h"
|
||||
#include "output.h"
|
||||
|
||||
class curses_output final : public output {
|
||||
private:
|
||||
cursor *curse;
|
||||
public:
|
||||
curses_output(cursor *new_curse);
|
||||
|
||||
void render() override;
|
||||
void clear() override;
|
||||
void print_char(const position &pos,
|
||||
const char ch, const int attrs) override;
|
||||
void print_str(const position &pos,
|
||||
const std::string &str, const int attrs) override;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user