mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 18:48:11 +08:00 
			
		
		
		
	Execute IWYU (#299)
This commit is contained in:
		| @@ -2,8 +2,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Full, Screen | ||||
| #include <memory>                   // for allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -3,8 +3,8 @@ | ||||
| #include <iostream>                 // for endl, cout, ostream | ||||
| #include <memory>                   // for allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -1,14 +1,13 @@ | ||||
| #include <stddef.h>                // for size_t | ||||
| #include <stdio.h>                 // for getchar | ||||
| #include <ftxui/dom/elements.hpp>  // for operator|, size, Element, text, hcenter, Decorator, Fit, WIDTH, hflow, window, EQUAL, GREATER_THAN, HEIGHT, bold, border, dim, LESS_THAN | ||||
| #include <ftxui/screen/screen.hpp>  // for Full, Screen | ||||
| #include <memory>                   // for allocator, shared_ptr | ||||
| #include <string>  // for operator+, to_string, char_traits, string | ||||
| #include <cmath>                   // for cos | ||||
| #include <ftxui/dom/elements.hpp>  // for Fit, canvas, operator|, border, Element | ||||
| #include <ftxui/screen/screen.hpp>  // for Pixel, Screen | ||||
| #include <vector>                   // for vector, allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/canvas.hpp"  // for Canvas | ||||
| #include "ftxui/dom/node.hpp"    // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, Color::Red, Color::Blue, Color::Green, ftxui | ||||
|  | ||||
| #include <cmath> | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|  | ||||
| @@ -32,7 +31,7 @@ int main(int argc, const char* argv[]) { | ||||
|   std::vector<int> ys(100); | ||||
|   for (int x = 0; x < 100; x++) | ||||
|     ys[x] = 80 + 20 * cos(x * 0.2); | ||||
|   for (int x = 0; x < 99; x++)  | ||||
|   for (int x = 0; x < 99; x++) | ||||
|     c.DrawPointLine(x, ys[x], x + 1, ys[x + 1], Color::Red); | ||||
|  | ||||
|   auto document = canvas(&c) | border; | ||||
|   | ||||
| @@ -4,9 +4,8 @@ | ||||
| #include <utility>                      // for move | ||||
| #include <vector>                       // for vector, allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/screen/color.hpp"        // for Color, Color::Palette256 | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, Color::Palette256, ftxui | ||||
|  | ||||
| using namespace ftxui; | ||||
| #include "./color_info_sorted_2d.ipp"  // for ColorInfoSorted2D | ||||
|   | ||||
| @@ -3,9 +3,8 @@ | ||||
| #include <memory>                   // for allocator | ||||
| #include <utility>                  // for move | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/screen/color.hpp"        // for Color | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -3,9 +3,8 @@ | ||||
| #include <memory>                   // for allocator | ||||
| #include <utility>                  // for move | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/screen/color.hpp"        // for Color | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -2,8 +2,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Full, Screen | ||||
| #include <memory>                   // for allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -5,8 +5,8 @@ | ||||
| #include <string>  // for allocator, operator+, char_traits, operator<<, string, to_string, basic_string | ||||
| #include <thread>  // for sleep_for | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -8,9 +8,8 @@ | ||||
| #include <thread>                   // for sleep_for | ||||
| #include <vector>                   // for vector | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, Color::BlueLight, Color::RedLight, Color::YellowLight | ||||
| #include "ftxui/dom/node.hpp"  // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, Color::BlueLight, Color::RedLight, Color::YellowLight, ftxui | ||||
|  | ||||
| class Graph { | ||||
|  public: | ||||
|   | ||||
| @@ -3,8 +3,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Screen | ||||
| #include <memory>                   // for allocator, shared_ptr | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -5,8 +5,8 @@ | ||||
| #include <memory>                   // for allocator, shared_ptr | ||||
| #include <string>  // for operator+, to_string, char_traits, string | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -9,9 +9,8 @@ | ||||
| #include <utility>  // for move | ||||
| #include <vector>   // for vector | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, Color::Green, Color::Red, Color::RedLight | ||||
| #include "ftxui/dom/node.hpp"  // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, Color::Green, Color::Red, Color::RedLight, ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -2,8 +2,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Full, Screen | ||||
| #include <memory>                   // for allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -4,8 +4,8 @@ | ||||
| #include <string>                   // for string, to_string | ||||
| #include <utility>                  // for move | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -7,8 +7,8 @@ | ||||
| #include <utility>                  // for move | ||||
| #include <vector>                   // for vector | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -2,8 +2,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Full, Screen | ||||
| #include <memory>                   // for allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -2,8 +2,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Full, Screen | ||||
| #include <memory>                   // for allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -2,8 +2,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Full, Screen | ||||
| #include <memory>                   // for allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -2,9 +2,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Full, Screen | ||||
| #include <memory>                   // for allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/screen/color.hpp"        // for Color, Color::Blue | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, Color::Blue, ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -2,8 +2,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Full, Screen | ||||
| #include <memory>                   // for allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -2,8 +2,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Full, Screen | ||||
| #include <memory>                   // for allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -5,9 +5,8 @@ | ||||
| #include <string>                   // for basic_string, allocator, string | ||||
| #include <vector>                   // for vector | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, Color::Blue, Color::Cyan, Color::White | ||||
| #include "ftxui/dom/node.hpp"  // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, Color::Blue, Color::Cyan, Color::White, ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -3,8 +3,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Full, Screen | ||||
| #include <memory>                   // for allocator | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -5,8 +5,8 @@ | ||||
| #include <memory>                   // for allocator, shared_ptr | ||||
| #include <string>  // for operator+, to_string, char_traits, string | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/dom/node.hpp"      // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for ftxui | ||||
|  | ||||
| int main(int argc, const char* argv[]) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
| @@ -2,9 +2,8 @@ | ||||
| #include <ftxui/screen/screen.hpp>  // for Fixed, Screen | ||||
| #include <vector>                   // for vector | ||||
|  | ||||
| #include "ftxui/dom/flexbox_config.hpp"  // for ftxui | ||||
| #include "ftxui/dom/node.hpp"            // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, Color::DarkBlue, Color::Green, Color::Red | ||||
| #include "ftxui/dom/node.hpp"  // for Render | ||||
| #include "ftxui/screen/color.hpp"  // for Color, Color::DarkBlue, Color::Green, Color::Red, ftxui | ||||
|  | ||||
| int main(void) { | ||||
|   using namespace ftxui; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arthur Sonzogni
					Arthur Sonzogni