FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
captured_mouse.hpp
Go to the documentation of this file.
1// Copyright 2020 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_CAPTURED_MOUSE_HPP
5#define FTXUI_CAPTURED_MOUSE_HPP
6
7#include <memory>
8
10
11namespace ftxui {
12
13class FTXUI_EXPORT(COMPONENT) CapturedMouseInterface {
14 public:
15 CapturedMouseInterface() = default;
16 CapturedMouseInterface(const CapturedMouseInterface&) = default;
17 CapturedMouseInterface(CapturedMouseInterface&&) = delete;
18 CapturedMouseInterface& operator=(const CapturedMouseInterface&) = default;
19 CapturedMouseInterface& operator=(CapturedMouseInterface&&) = delete;
20 virtual ~CapturedMouseInterface() = default;
21};
22using CapturedMouse = std::unique_ptr<CapturedMouseInterface>;
23} // namespace ftxui
24
25#endif /* end of include guard: FTXUI_CAPTURED_MOUSE_HPP */
The FTXUI ftxui:: namespace.
Definition animation.hpp:11
std::unique_ptr< CapturedMouseInterface > CapturedMouse