1
Fork 0
This repository has been archived on 2025-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
ctrorganizer/include/textviewer.h
2024-01-03 15:59:26 -05:00

20 lines
No EOL
317 B
C++

#pragma once
#include "viewer.h"
#include "textengine.h"
#include <vector>
#include <string>
class TextViewer : public Viewer {
public:
void Init();
void Cleanup();
bool Update(u32 key);
void Draw(TextEngine* t);
private:
int currentindex = 0;
int textoffset = 0;
std::vector<std::string> lineEntries;
};