mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 18:48:11 +08:00 
			
		
		
		
	Move copyright to the top of files.
This commit is contained in:
		| @@ -1,3 +1,6 @@ | ||||
| // Copyright 2022 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_ANIMATION_HPP | ||||
| #define FTXUI_ANIMATION_HPP | ||||
|  | ||||
| @@ -113,7 +116,3 @@ class Animator { | ||||
| }  // namespace ftxui | ||||
|  | ||||
| #endif /* end of include guard: FTXUI_ANIMATION_HPP */ | ||||
|  | ||||
| // Copyright 2022 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| // Copyright 2020 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_CAPTURED_MOUSE_HPP | ||||
| #define FTXUI_CAPTURED_MOUSE_HPP | ||||
|  | ||||
| @@ -12,7 +15,3 @@ using CapturedMouse = std::unique_ptr<CapturedMouseInterface>; | ||||
| }  // namespace ftxui | ||||
|  | ||||
| #endif /* end of include guard: FTXUI_CAPTURED_MOUSE_HPP */ | ||||
|  | ||||
| // Copyright 2020 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| // Copyright 2021 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_COMPONENT_HPP | ||||
| #define FTXUI_COMPONENT_HPP | ||||
|  | ||||
| @@ -137,7 +140,3 @@ Component Window(WindowOptions option); | ||||
| }  // namespace ftxui | ||||
|  | ||||
| #endif /* end of include guard: FTXUI_COMPONENT_HPP */ | ||||
|  | ||||
| // Copyright 2021 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| // Copyright 2020 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_COMPONENT_BASE_HPP | ||||
| #define FTXUI_COMPONENT_BASE_HPP | ||||
|  | ||||
| @@ -93,7 +96,3 @@ class ComponentBase { | ||||
| }  // namespace ftxui | ||||
|  | ||||
| #endif /* end of include guard: FTXUI_COMPONENT_BASE_HPP */ | ||||
|  | ||||
| // Copyright 2020 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| // Copyright 2021 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_COMPONENT_COMPONENT_OPTIONS_HPP | ||||
| #define FTXUI_COMPONENT_COMPONENT_OPTIONS_HPP | ||||
|  | ||||
| @@ -262,7 +265,3 @@ struct WindowOptions { | ||||
| }  // namespace ftxui | ||||
|  | ||||
| #endif /* end of include guard: FTXUI_COMPONENT_COMPONENT_OPTIONS_HPP */ | ||||
|  | ||||
| // Copyright 2021 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| // Copyright 2020 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_COMPONENT_EVENT_HPP | ||||
| #define FTXUI_COMPONENT_EVENT_HPP | ||||
|  | ||||
| @@ -107,7 +110,3 @@ struct Event { | ||||
| }  // namespace ftxui | ||||
|  | ||||
| #endif /* end of include guard: FTXUI_COMPONENT_EVENT_HPP */ | ||||
|  | ||||
| // Copyright 2020 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| // Copyright 2022 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_COMPONENT_LOOP_HPP | ||||
| #define FTXUI_COMPONENT_LOOP_HPP | ||||
|  | ||||
| @@ -33,7 +36,3 @@ class Loop { | ||||
| }  // namespace ftxui | ||||
|  | ||||
| #endif  // FTXUI_COMPONENT_LOOP_HPP | ||||
|  | ||||
| // Copyright 2022 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| // Copyright 2020 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_COMPONENT_MOUSE_HPP | ||||
| #define FTXUI_COMPONENT_MOUSE_HPP | ||||
| namespace ftxui { | ||||
| @@ -38,7 +41,4 @@ struct Mouse { | ||||
|  | ||||
| }  // namespace ftxui | ||||
|  | ||||
| // Copyright 2020 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
| #endif /* end of include guard: FTXUI_COMPONENT_MOUSE_HPP */ | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| // Copyright 2020 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_COMPONENT_RECEIVER_HPP_ | ||||
| #define FTXUI_COMPONENT_RECEIVER_HPP_ | ||||
|  | ||||
| @@ -135,7 +138,3 @@ Receiver<T> MakeReceiver() { | ||||
| }  // namespace ftxui | ||||
|  | ||||
| #endif  // FTXUI_COMPONENT_RECEIVER_HPP_ | ||||
|  | ||||
| // Copyright 2020 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| // Copyright 2020 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_COMPONENT_SCREEN_INTERACTIVE_HPP | ||||
| #define FTXUI_COMPONENT_SCREEN_INTERACTIVE_HPP | ||||
|  | ||||
| @@ -87,7 +90,7 @@ class ScreenInteractive : public Screen { | ||||
|                     Dimension dimension, | ||||
|                     bool use_alternative_screen); | ||||
|  | ||||
|   bool track_mouse_= true; | ||||
|   bool track_mouse_ = true; | ||||
|  | ||||
|   Sender<Task> task_sender_; | ||||
|   Receiver<Task> task_receiver_; | ||||
| @@ -122,7 +125,3 @@ class ScreenInteractive : public Screen { | ||||
| }  // namespace ftxui | ||||
|  | ||||
| #endif /* end of include guard: FTXUI_COMPONENT_SCREEN_INTERACTIVE_HPP */ | ||||
|  | ||||
| // Copyright 2020 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| // Copyright 2022 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_COMPONENT_ANIMATION_HPP | ||||
| #define FTXUI_COMPONENT_ANIMATION_HPP | ||||
|  | ||||
| @@ -12,7 +15,3 @@ using Task = std::variant<Event, Closure, AnimationTask>; | ||||
| }  // namespace ftxui | ||||
|  | ||||
| #endif  // FTXUI_COMPONENT_ANIMATION_HPP | ||||
|  | ||||
| // Copyright 2022 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ArthurSonzogni
					ArthurSonzogni