Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
CSE3150_Project/EditorTextViewCont.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
30 lines (24 sloc)
593 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef EDITOR_TEXT_VIEW_CONT_H | |
#define EDITOR_TEXT_VIEW_CONT_H | |
#include "ECTextViewImp.h" | |
#include "FormatterInterface.h" | |
#include <string> | |
#include <memory> | |
#include <vector> | |
class EditorTextViewCont | |
{ | |
public: | |
EditorTextViewCont(ECTextViewImp *view, FormatterInterface *formatter); | |
~EditorTextViewCont(); | |
// Called by observer | |
void BuildFrame(); | |
void BuildStatus(); | |
private: | |
void ClearFrame(); | |
ECTextViewImp *view; | |
FormatterInterface *formatter; | |
std::vector<std::shared_ptr<std::string>> frame; | |
// Cursor location | |
int x,y; | |
}; | |
#endif /* EDITOR_TEXT_VIEW_CONT_H */ |