mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-07-20 10:31:12 +08:00
Fixes.
This commit is contained in:
parent
c302ea0752
commit
f4fdf7a992
@ -1,5 +1,7 @@
|
|||||||
@page cpp20-modules C++20 Modules
|
@page cpp20-modules C++20 Modules
|
||||||
|
|
||||||
|
coucou
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> This feature is still in development, and the API may change in future releases.
|
> This feature is still in development, and the API may change in future releases.
|
||||||
> Your contribution is needed to help us improve the compatibility and usability
|
> Your contribution is needed to help us improve the compatibility and usability
|
||||||
@ -57,7 +59,7 @@ are available:
|
|||||||
- `ftxui.component.Receiver`
|
- `ftxui.component.Receiver`
|
||||||
- `ftxui.component.ScreenInteractive`
|
- `ftxui.component.ScreenInteractive`
|
||||||
- `ftxui.component.Task`
|
- `ftxui.component.Task`
|
||||||
- `ftxui.dom`
|
- `ftxui.dom`
|
||||||
- `ftxui.dom.Canvas`
|
- `ftxui.dom.Canvas`
|
||||||
- `ftxui.dom.Deprecated`
|
- `ftxui.dom.Deprecated`
|
||||||
- `ftxui.dom.Direction`
|
- `ftxui.dom.Direction`
|
||||||
@ -68,7 +70,7 @@ are available:
|
|||||||
- `ftxui.dom.Requirement`
|
- `ftxui.dom.Requirement`
|
||||||
- `ftxui.dom.Selection`
|
- `ftxui.dom.Selection`
|
||||||
- `ftxui.dom.Table`
|
- `ftxui.dom.Table`
|
||||||
- `ftxui.screen`
|
- `ftxui.screen`
|
||||||
- `ftxui.screen.Box`
|
- `ftxui.screen.Box`
|
||||||
- `ftxui.screen.Color`
|
- `ftxui.screen.Color`
|
||||||
- `ftxui.screen.ColorInfo`
|
- `ftxui.screen.ColorInfo`
|
||||||
@ -78,15 +80,6 @@ are available:
|
|||||||
- `ftxui.screen.Screen`
|
- `ftxui.screen.Screen`
|
||||||
- `ftxui.screen.String`
|
- `ftxui.screen.String`
|
||||||
- `ftxui.screen.Terminal`
|
- `ftxui.screen.Terminal`
|
||||||
- `ftxui.util`
|
- `ftxui.util`
|
||||||
- `ftxui.util.AutoReset`
|
- `ftxui.util.AutoReset`
|
||||||
- `ftxui.util.Ref`
|
- `ftxui.util.Ref`
|
||||||
|
|
||||||
> ![NOTE]
|
|
||||||
> The module `ftxui` transitively imports all `ftxui.*` modules and thus
|
|
||||||
> has a dependency on those modules.
|
|
||||||
|
|
||||||
> ![NOTE] The list can be generated with the following command:
|
|
||||||
> ```sh
|
|
||||||
> git grep "export module" | cut -d: -f2 | cut -d\ -f3
|
|
||||||
> ```
|
|
@ -108,7 +108,6 @@
|
|||||||
console.log("navtree.textContent", navtree.textContent);
|
console.log("navtree.textContent", navtree.textContent);
|
||||||
if (!navtree.textContent.includes("Getting Started") &&
|
if (!navtree.textContent.includes("Getting Started") &&
|
||||||
!navtree.textContent.includes("Installation") &&
|
!navtree.textContent.includes("Installation") &&
|
||||||
!navtree.textContent.includes("Modules") &&
|
|
||||||
!navtree.textContent.includes("ftxui / screen") &&
|
!navtree.textContent.includes("ftxui / screen") &&
|
||||||
!navtree.textContent.includes("ftxui / dom") &&
|
!navtree.textContent.includes("ftxui / dom") &&
|
||||||
!navtree.textContent.includes("ftxui / component") &&
|
!navtree.textContent.includes("ftxui / component") &&
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Modules {#modules}
|
# ftxui {#ftxui}
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/**
|
/// @module ftxui.component.animation
|
||||||
* @file animation.cppm
|
/// @brief Module file for the Animation namespace of the Component module.
|
||||||
* @brief Module file for the Animation namespace of the Component module
|
///
|
||||||
*/
|
/// @file animation.cppm
|
||||||
|
|
||||||
module;
|
module;
|
||||||
|
|
||||||
|
28
src/ftxui/component/component_base.cppm
Normal file
28
src/ftxui/component/component_base.cppm
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/**
|
||||||
|
* @file component_base.cppm
|
||||||
|
* @brief Module file for the ComponentBase class of the Component module
|
||||||
|
*/
|
||||||
|
|
||||||
|
module;
|
||||||
|
|
||||||
|
#include <ftxui/component/component_base.hpp>
|
||||||
|
|
||||||
|
export module ftxui.component.component_base;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @namespace ftxui
|
||||||
|
* @brief The FTXUI ftxui:: namespace
|
||||||
|
*/
|
||||||
|
export namespace ftxui {
|
||||||
|
using ftxui::Delegate;
|
||||||
|
using ftxui::Focus;
|
||||||
|
using ftxui::Event;
|
||||||
|
|
||||||
|
namespace animation {
|
||||||
|
using ftxui::animation::Params;
|
||||||
|
}
|
||||||
|
|
||||||
|
using ftxui::ComponentBase;
|
||||||
|
using ftxui::Component;
|
||||||
|
using ftxui::Components;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user