Browse Source

init tab data content class

CPP-GTK4
yggverse 4 months ago
parent
commit
9cce6ffcdf
  1. 1
      Makefile
  2. 1
      po/POTFILES.in
  3. 16
      src/app/browser/main/tab/data/content.cpp
  4. 18
      src/app/browser/main/tab/data/content.hpp

1
Makefile

@ -13,6 +13,7 @@ SRCS = src/main.cpp\
src/app/browser/main.cpp\ src/app/browser/main.cpp\
src/app/browser/main/tab.cpp\ src/app/browser/main/tab.cpp\
src/app/browser/main/tab/data.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.cpp\
src/app/browser/main/tab/data/navbar/base.cpp\ src/app/browser/main/tab/data/navbar/base.cpp\
src/app/browser/main/tab/data/navbar/bookmark.cpp\ src/app/browser/main/tab/data/navbar/bookmark.cpp\

1
po/POTFILES.in

@ -5,6 +5,7 @@ src/app/browser/header/tab.cpp
src/app/browser/main.cpp src/app/browser/main.cpp
src/app/browser/main/tab.cpp src/app/browser/main/tab.cpp
src/app/browser/main/tab/data.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.cpp
src/app/browser/main/tab/data/navbar/base.cpp src/app/browser/main/tab/data/navbar/base.cpp
src/app/browser/main/tab/data/navbar/bookmark.cpp src/app/browser/main/tab/data/navbar/bookmark.cpp

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

18
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 <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
Loading…
Cancel
Save