FTXUI/include/ftxui/dom/direction.hpp

23 lines
506 B
C++
Raw Normal View History

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.
#ifndef FTXUI_DOM_DIRECTION_HPP
#define FTXUI_DOM_DIRECTION_HPP
namespace ftxui {
2025-06-05 17:34:25 +08:00
/// @brief Direction is an enumeration that represents the four cardinal
/// directions.
///
/// @ingroup dom
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 */