diff --git a/Makefile b/Makefile index 018bd270..7fef3c7d 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/navbar.cpp\ src/app/browser/main/tab/label.cpp\ src/lib/database.cpp\ src/lib/database/session.cpp diff --git a/po/POTFILES.in b/po/POTFILES.in index af887aca..8ac9285d 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/navbar.cpp src/app/browser/main/tab/label.cpp src/lib/database.cpp src/lib/database/session.cpp diff --git a/src/app/browser/main/tab/data/navbar.cpp b/src/app/browser/main/tab/data/navbar.cpp new file mode 100644 index 00000000..6c2ae0f3 --- /dev/null +++ b/src/app/browser/main/tab/data/navbar.cpp @@ -0,0 +1,16 @@ +#include "navbar.hpp" + +using namespace app::browser::main::tab::data; + +Navbar::Navbar() +{ + set_orientation( + Gtk::Orientation::HORIZONTAL + ); + + set_homogeneous( + true + ); +} + +Navbar::~Navbar() = default; diff --git a/src/app/browser/main/tab/data/navbar.hpp b/src/app/browser/main/tab/data/navbar.hpp new file mode 100644 index 00000000..4acd90a9 --- /dev/null +++ b/src/app/browser/main/tab/data/navbar.hpp @@ -0,0 +1,18 @@ +#ifndef APP_BROWSER_MAIN_TAB_DATA_NAVBAR_HPP +#define APP_BROWSER_MAIN_TAB_DATA_NAVBAR_HPP + +#include + +namespace app::browser::main::tab::data +{ + class Navbar : public Gtk::Box + { + public: + + Navbar(); + + ~Navbar(); + }; +} + +#endif // APP_BROWSER_MAIN_TAB_DATA_NAVBAR_HPP \ No newline at end of file