summaryrefslogtreecommitdiff
path: root/src/component.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/component.h')
-rw-r--r--src/component.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/component.h b/src/component.h
deleted file mode 100644
index d1a587a..0000000
--- a/src/component.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-
-#include <ftxui/component/component.hpp>
-#include <ftxui/dom/table.hpp>
-
-namespace katja
-{
- class PackageList final : public ftxui::ComponentBase
- {
- std::vector<std::vector<std::string>> m_data;
- std::vector<std::string> m_header;
- std::size_t top_line{ 0 };
-
- public:
- PackageList(const std::vector<std::string>& header, const std::vector<std::vector<std::string>>& data);
-
- virtual ftxui::Element Render() override;
- virtual bool OnEvent(ftxui::Event event) override;
- };
-}