FTXUI
7.0.0
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 is an enumeration that represents the four cardinal
12
/// directions.
13
///
14
/// @ingroup dom
15
enum class
Direction
: uint8_t {
16
Up
= 0,
17
Down
= 1,
18
Left
= 2,
19
Right
= 3,
20
};
21
22
}
// namespace ftxui
23
24
#endif
/* end of include guard: FTXUI_DOM_DIRECTION_HPP */
ftxui::Direction
Direction
Direction is an enumeration that represents the four cardinal directions.
Definition
direction.hpp:15
ftxui::Direction::Down
@ Down
ftxui::Direction::Up
@ Up
ftxui::Direction::Right
@ Right
ftxui::Direction::Left
@ Left
ftxui
The FTXUI ftxui:: namespace.
Definition
animation.hpp:11