init tab data content class

This commit is contained in:
yggverse 2024-08-13 11:18:04 +03:00
parent 86f4313a1d
commit 9cce6ffcdf
4 changed files with 36 additions and 0 deletions

View File

@ -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\

View File

@ -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

View File

@ -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;

View File

@ -0,0 +1,18 @@
#ifndef APP_BROWSER_MAIN_TAB_DATA_CONTENT_HPP
#define APP_BROWSER_MAIN_TAB_DATA_CONTENT_HPP
#include <gtkmm/box.h>
namespace app::browser::main::tab::data
{
class Content : public Gtk::Box
{
public:
Content();
~Content();
};
}
#endif // APP_BROWSER_MAIN_TAB_DATA_CONTENT_HPP