FTXUI
7.0.3
C++ functional terminal UI.
Loading...
Searching...
No Matches
direction.hpp
Go to the documentation of this file.
1
// Copyright 2023 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_DIRECTION_HPP
5
#define FTXUI_DOM_DIRECTION_HPP
6
7
#include <cstdint>
8
9
namespace
ftxui
{
10
11
/// @brief Direction 是一個列舉,表示四個主要方向。
12
///
13
/// @ingroup dom
14
enum class
Direction
: uint8_t {
15
Up
= 0,
16
Down
= 1,
17
Left
= 2,
18
Right
= 3,
19
};
20
21
}
// namespace ftxui
22
23
#endif
/* end of include guard: FTXUI_DOM_DIRECTION_HPP */
ftxui::Direction
Direction
Direction 是一個列舉,表示四個主要方向。
Definition
direction.hpp:14
ftxui::Direction::Down
@ Down
ftxui::Direction::Up
@ Up
ftxui::Direction::Right
@ Right
ftxui::Direction::Left
@ Left
ftxui
FTXUI ftxui:: 命名空間
Definition
animation.hpp:11