18 using std::make_unique;
20 using std::unique_ptr;
34 MarkdownTabView::MarkdownTabView(
EditorView* editorView,
const string& tabId,
GUIScreenNode* screenNode,
const vector<Markdown::TOCEntry>& toc)
41 engine = unique_ptr<Engine>(Engine::createOffScreenInstance(512, 512,
false,
false,
false));
42 engine->setSceneColor(
Color4(39.0f / 255.0f, 39.0f / 255.0f, 39.0f / 255.0f, 1.0f));
52 engine->getGUI()->handleEvents();
58 engine->getGUI()->render();
68 Console::println(
"MarkdownTabView::initialize(): An error occurred: " +
string(exception.what()));
Color 4 definition class.
GUI screen node that represents a screen that can be rendered via GUI system.
void addTooltipRequestListener(GUITooltipRequestListener *listener)
Add tooltip request listener.
std::exception Exception
Exception base class.