2023-08-19 19:56:36 +08:00
|
|
|
// Copyright 2023 Arthur Sonzogni. All rights reserved.
|
|
|
|
// Use of this source code is governed by the MIT license that can be found in
|
|
|
|
// the LICENSE file.
|
2023-03-10 03:21:23 +08:00
|
|
|
#ifndef FTXUI_DOM_DIRECTION_HPP
|
|
|
|
#define FTXUI_DOM_DIRECTION_HPP
|
|
|
|
|
|
|
|
namespace ftxui {
|
2025-06-05 17:35:14 +08:00
|
|
|
|
|
|
|
/// @brief Direction is an enumeration that represents the four cardinal
|
|
|
|
/// directions.
|
|
|
|
///
|
|
|
|
/// @ingroup dom
|
2023-03-10 03:21:23 +08:00
|
|
|
enum class Direction {
|
|
|
|
Up = 0,
|
|
|
|
Down = 1,
|
|
|
|
Left = 2,
|
|
|
|
Right = 3,
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace ftxui
|
|
|
|
|
2023-08-19 19:56:36 +08:00
|
|
|
#endif /* end of include guard: FTXUI_DOM_DIRECTION_HPP */
|