FTXUI
7.0.3
C++ functional terminal UI.
Loading...
Searching...
No Matches
dom/deprecated.hpp
Go to the documentation of this file.
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 <
ftxui/util/export.hpp
>
9
#include <string>
10
11
namespace
ftxui
{
12
FTXUI_EXPORT
(DOM)
Element
text
(std::wstring_view text);
13
FTXUI_EXPORT
(DOM)
Element
vtext
(std::wstring_view text);
14
}
// namespace ftxui
15
16
#endif
// FTXUI_DOM_DEPRECATED_HPP
export.hpp
FTXUI_EXPORT
#define FTXUI_EXPORT(component)
Definition
export.hpp:23
ftxui::text
Element text(std::string_view text)
顯示一段 UTF8 編碼的 Unicode 文字。
Definition
src/ftxui/dom/text.cpp:218
ftxui::vtext
Element vtext(std::string_view text)
垂直顯示一段 Unicode 文字。
Definition
src/ftxui/dom/text.cpp:267
ftxui
FTXUI ftxui:: 命名空間
Definition
animation.hpp:11
ftxui::Element
std::shared_ptr< Node > Element
Definition
elements.hpp:25
node.hpp