FTXUI
6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
task.hpp
Go to the documentation of this file.
1
// Copyright 2022 Arthur Sonzogni. 全著作権所有。
2
// このソースコードの使用は、LICENSEファイルに記載されているMITライセンスに準拠します。
3
#ifndef FTXUI_COMPONENT_ANIMATION_HPP
4
#define FTXUI_COMPONENT_ANIMATION_HPP
5
6
#include <functional>
7
#include <variant>
8
#include "
ftxui/component/event.hpp
"
9
10
namespace
ftxui
{
11
class
AnimationTask
{};
12
using
Closure
= std::function<void()>;
13
using
Task
= std::variant<Event, Closure, AnimationTask>;
14
}
// namespace ftxui
15
16
#endif
// FTXUI_COMPONENT_ANIMATION_HPP
ftxui::AnimationTask
Definition
task.hpp:11
event.hpp
ftxui
FTXUI ftxui:: 名前空間
Definition
animation.hpp:9
ftxui::Task
std::variant< Event, Closure, AnimationTask > Task
Definition
task.hpp:13
ftxui::Closure
std::function< void()> Closure
Definition
task.hpp:12