From 984d1f3aed4f4f97490f850ada223b9d4999dce5 Mon Sep 17 00:00:00 2001 From: Love Billenius Date: Fri, 24 Jan 2025 12:59:22 +0100 Subject: [PATCH] headers --- src/Command.cpp | 8 ++++++++ src/Command.h | 8 ++++++++ src/Tui.cpp | 8 ++++++++ src/Tui.h | 8 ++++++++ src/ansi.hpp | 18 ++++++++++++------ src/main.cpp | 8 ++++++++ src/stringutil.cpp | 8 ++++++++ src/stringutil.hpp | 8 ++++++++ 8 files changed, 68 insertions(+), 6 deletions(-) diff --git a/src/Command.cpp b/src/Command.cpp index e1f8496..77d438c 100644 --- a/src/Command.cpp +++ b/src/Command.cpp @@ -1,3 +1,11 @@ +// _____ _ _____ +// |_ _|____ _| ||_ _|_ __ +// | |/ _ \ \/ / __|| | \ \ / / +// | | __/> <| |_ | | \ V / +// |_|\___/_/\_\\__||_| \_/ +// Author: Love Billenius +// License: GPL-3 + #include "Command.h" #include diff --git a/src/Command.h b/src/Command.h index 84b3196..c719ba3 100644 --- a/src/Command.h +++ b/src/Command.h @@ -1,3 +1,11 @@ +// _____ _ _____ +// |_ _|____ _| ||_ _|_ __ +// | |/ _ \ \/ / __|| | \ \ / / +// | | __/> <| |_ | | \ V / +// |_|\___/_/\_\\__||_| \_/ +// Author: Love Billenius +// License: GPL-3 + #pragma once #include diff --git a/src/Tui.cpp b/src/Tui.cpp index a00310a..7d9de07 100644 --- a/src/Tui.cpp +++ b/src/Tui.cpp @@ -1,3 +1,11 @@ +// _____ _ _____ +// |_ _|____ _| ||_ _|_ __ +// | |/ _ \ \/ / __|| | \ \ / / +// | | __/> <| |_ | | \ V / +// |_|\___/_/\_\\__||_| \_/ +// Author: Love Billenius +// License: GPL-3 + #include "Tui.h" #include diff --git a/src/Tui.h b/src/Tui.h index 4569718..e77aa6c 100644 --- a/src/Tui.h +++ b/src/Tui.h @@ -1,3 +1,11 @@ +// _____ _ _____ +// |_ _|____ _| ||_ _|_ __ +// | |/ _ \ \/ / __|| | \ \ / / +// | | __/> <| |_ | | \ V / +// |_|\___/_/\_\\__||_| \_/ +// Author: Love Billenius +// License: GPL-3 + #pragma once #include "Page.hpp" diff --git a/src/ansi.hpp b/src/ansi.hpp index bbec41f..1b96857 100644 --- a/src/ansi.hpp +++ b/src/ansi.hpp @@ -1,11 +1,17 @@ +// _____ _ _____ +// |_ _|____ _| ||_ _|_ __ +// | |/ _ \ \/ / __|| | \ \ / / +// | | __/> <| |_ | | \ V / +// |_|\___/_/\_\\__||_| \_/ +// Author: Love Billenius +// License: GPL-3 -namespace ansi -{ +#pragma once #include -constexpr std::string_view BOLD = "\033[1m"; -constexpr std::string_view ITALIC = "\033[3m"; -constexpr std::string_view CLEAR = "\033[0m"; - +namespace ansi { + constexpr std::string_view BOLD = "\033[1m"; + constexpr std::string_view ITALIC = "\033[3m"; + constexpr std::string_view CLEAR = "\033[0m"; } // namespace ansi diff --git a/src/main.cpp b/src/main.cpp index 79f642d..7df557f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,11 @@ +// _____ _ _____ +// |_ _|____ _| ||_ _|_ __ +// | |/ _ \ \/ / __|| | \ \ / / +// | | __/> <| |_ | | \ V / +// |_|\___/_/\_\\__||_| \_/ +// Author: Love Billenius +// License: GPL-3 + #include "Page.hpp" #include "Tui.h" diff --git a/src/stringutil.cpp b/src/stringutil.cpp index 3c594dd..f6ca30a 100644 --- a/src/stringutil.cpp +++ b/src/stringutil.cpp @@ -1,3 +1,11 @@ +// _____ _ _____ +// |_ _|____ _| ||_ _|_ __ +// | |/ _ \ \/ / __|| | \ \ / / +// | | __/> <| |_ | | \ V / +// |_|\___/_/\_\\__||_| \_/ +// Author: Love Billenius +// License: GPL-3 + #include "stringutil.hpp" #include diff --git a/src/stringutil.hpp b/src/stringutil.hpp index ead8741..abd90b9 100644 --- a/src/stringutil.hpp +++ b/src/stringutil.hpp @@ -1,3 +1,11 @@ +// _____ _ _____ +// |_ _|____ _| ||_ _|_ __ +// | |/ _ \ \/ / __|| | \ \ / / +// | | __/> <| |_ | | \ V / +// |_|\___/_/\_\\__||_| \_/ +// Author: Love Billenius +// License: GPL-3 + #pragma once #include