Browse Source

init tab data navbar

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

1
Makefile

@ -13,6 +13,7 @@ SRCS = src/main.cpp\ @@ -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

1
po/POTFILES.in

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

16
src/app/browser/main/tab/data/navbar.cpp

@ -0,0 +1,16 @@ @@ -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;

18
src/app/browser/main/tab/data/navbar.hpp

@ -0,0 +1,18 @@ @@ -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
Loading…
Cancel
Save