FTXUI 6.1.9 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 namespace ftxui {
8
9/// @brief Direction is an enumeration that represents the four cardinal
10/// directions.
11///
12/// @ingroup dom
13 enum class Direction {
14 Up = 0,
15 Down = 1,
16 Left = 2,
17 Right = 3,
18};
19
20} // namespace ftxui
21
22#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:13
ftxui::Direction::Down
@ Down
ftxui::Direction::Up
@ Up
ftxui::Direction::Right
@ Right
ftxui::Direction::Left
@ Left
ftxui
The FTXUI ftxui:: namespace.
Definition animation.hpp:10