FTXUI 6.1.9
C++ functional terminal UI.
载入中...
搜索中...
未找到
dom/deprecated.hpp
浏览该文件的文档.
1// Copyright 2021 Arthur Sonzogni. All rights reserved.
2// Use of this source code is governed by the MIT license that can be found in
3// the LICENSE file.
4#ifndef FTXUI_DOM_DEPRECATED_HPP
5#define FTXUI_DOM_DEPRECATED_HPP
6
7#include <ftxui/dom/node.hpp>
8#include <string>
9
10namespace ftxui {
11Element text(std::wstring text);
12Element vtext(std::wstring text);
13Elements paragraph(std::wstring text);
14} // namespace ftxui
15
16#endif // FTXUI_DOM_DEPRECATED_HPP
Element text(std::wstring text)
显示一段Unicode文本。
Element vtext(std::wstring text)
垂直显示一段Unicode文本。
#include "ftxui/component/component_base.hpp" // 用于 ComponentBase
std::shared_ptr< Node > Element
std::vector< Element > Elements
Elements paragraph(std::wstring text)