From 9cce6ffcdfcfb4ff6adb7e5f1fc92a3edc209704 Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 13 Aug 2024 11:18:04 +0300 Subject: [PATCH] init tab data content class --- Makefile | 1 + po/POTFILES.in | 1 + src/app/browser/main/tab/data/content.cpp | 16 ++++++++++++++++ src/app/browser/main/tab/data/content.hpp | 18 ++++++++++++++++++ 4 files changed, 36 insertions(+) create mode 100644 src/app/browser/main/tab/data/content.cpp create mode 100644 src/app/browser/main/tab/data/content.hpp diff --git a/Makefile b/Makefile index 03370c59..ca9eafb3 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ SRCS = src/main.cpp\ src/app/browser/main.cpp\ src/app/browser/main/tab.cpp\ src/app/browser/main/tab/data.cpp\ + src/app/browser/main/tab/data/content.cpp\ src/app/browser/main/tab/data/navbar.cpp\ src/app/browser/main/tab/data/navbar/base.cpp\ src/app/browser/main/tab/data/navbar/bookmark.cpp\ diff --git a/po/POTFILES.in b/po/POTFILES.in index a67f3699..39bfdfc9 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -5,6 +5,7 @@ src/app/browser/header/tab.cpp src/app/browser/main.cpp src/app/browser/main/tab.cpp src/app/browser/main/tab/data.cpp +src/app/browser/main/tab/data/content.cpp src/app/browser/main/tab/data/navbar.cpp src/app/browser/main/tab/data/navbar/base.cpp src/app/browser/main/tab/data/navbar/bookmark.cpp diff --git a/src/app/browser/main/tab/data/content.cpp b/src/app/browser/main/tab/data/content.cpp new file mode 100644 index 00000000..7b298cab --- /dev/null +++ b/src/app/browser/main/tab/data/content.cpp @@ -0,0 +1,16 @@ +#include "content.hpp" + +using namespace app::browser::main::tab::data; + +Content::Content() +{ + set_orientation( + Gtk::Orientation::VERTICAL + ); + + set_homogeneous( + true + ); +} + +Content::~Content() = default; diff --git a/src/app/browser/main/tab/data/content.hpp b/src/app/browser/main/tab/data/content.hpp new file mode 100644 index 00000000..f1615a81 --- /dev/null +++ b/src/app/browser/main/tab/data/content.hpp @@ -0,0 +1,18 @@ +#ifndef APP_BROWSER_MAIN_TAB_DATA_CONTENT_HPP +#define APP_BROWSER_MAIN_TAB_DATA_CONTENT_HPP + +#include + +namespace app::browser::main::tab::data +{ + class Content : public Gtk::Box + { + public: + + Content(); + + ~Content(); + }; +} + +#endif // APP_BROWSER_MAIN_TAB_DATA_CONTENT_HPP \ No newline at end of file