init tab data navbar

This commit is contained in:
yggverse 2024-08-13 08:28:33 +03:00
parent 79f7923c35
commit 19d4a7b684
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.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/navbar.cpp\
src/app/browser/main/tab/label.cpp\ src/app/browser/main/tab/label.cpp\
src/lib/database.cpp\ src/lib/database.cpp\
src/lib/database/session.cpp src/lib/database/session.cpp

View File

@ -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/navbar.cpp
src/app/browser/main/tab/label.cpp src/app/browser/main/tab/label.cpp
src/lib/database.cpp src/lib/database.cpp
src/lib/database/session.cpp src/lib/database/session.cpp

View File

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

View File

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