FTXUI
6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
style_bold.cpp
Go to the documentation of this file.
1
// Copyright 2020 Arthur Sonzogni. All rights reserved.
2
// このソースコードの使用は、LICENSEファイルにあるMITライセンスに従います。
3
#include <
ftxui/dom/elements.hpp
>
// text, operator|, bold, Fit, hbox, Element のために
4
#include <
ftxui/screen/screen.hpp
>
// Full, Screen のために
5
#include <memory>
// アロケータのために
6
7
#include "
ftxui/dom/node.hpp
"
// Render のために
8
#include "
ftxui/screen/color.hpp
"
// ftxui のために
9
10
int
main
() {
11
using namespace
ftxui
;
12
auto
document =
//
13
hbox({
14
text(
"このテキストは"
),
15
text(
"太字"
) | bold,
16
text(
"です。気に入りましたか?"
),
17
});
18
auto
screen = Screen::Create(Dimension::Full(), Dimension::Fit(document));
19
Render(screen, document);
20
screen.Print();
21
22
return
0;
23
}
color.hpp
elements.hpp
ftxui
FTXUI ftxui:: 名前空間
Definition
animation.hpp:9
node.hpp
screen.hpp
main
int main()
Definition
style_bold.cpp:10