Torch
Loading...
Searching...
No Matches
TextPreview.h
1#pragma once
2
3#include "factories/BaseFactory.h"
4
5// Decoded-text viewer cards for the SM64 string assets (dialog, course/menu
6// text, and the compression dictionary). These decode the game's custom
7// character encoding into readable UTF-8.
8#ifdef BUILD_UI
9namespace SM64 {
10
11class DialogFactoryUI : public BaseFactoryUI {
12public:
13 float GetItemHeight(const ParseResultData& data) override;
14 void DrawUI(const ParseResultData& data) override;
15};
16
17class TextFactoryUI : public BaseFactoryUI {
18public:
19 float GetItemHeight(const ParseResultData& data) override;
20 void DrawUI(const ParseResultData& data) override;
21};
22
23class DictionaryFactoryUI : public BaseFactoryUI {
24public:
25 float GetItemHeight(const ParseResultData& data) override;
26 void DrawUI(const ParseResultData& data) override;
27};
28
29} // namespace SM64
30#endif