mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-29 20:44:25 +00:00
init tab data navbar
This commit is contained in:
parent
79f7923c35
commit
19d4a7b684
1
Makefile
1
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
|
||||
|
@ -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
Normal file
16
src/app/browser/main/tab/data/navbar.cpp
Normal 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;
|
18
src/app/browser/main/tab/data/navbar.hpp
Normal file
18
src/app/browser/main/tab/data/navbar.hpp
Normal 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
|
Loading…
x
Reference in New Issue
Block a user