mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add navbar initiation
This commit is contained in:
parent
940c98f3c6
commit
bc73c831c1
2 changed files with 18 additions and 0 deletions
|
|
@ -1,9 +1,11 @@
|
|||
#include "data.hpp"
|
||||
#include "data/navbar.hpp"
|
||||
|
||||
using namespace app::browser::main::tab;
|
||||
|
||||
Data::Data()
|
||||
{
|
||||
// Init container
|
||||
set_orientation(
|
||||
Gtk::Orientation::VERTICAL
|
||||
);
|
||||
|
|
@ -11,6 +13,13 @@ Data::Data()
|
|||
set_homogeneous(
|
||||
true
|
||||
);
|
||||
|
||||
// Init elements
|
||||
navbar = new data::Navbar();
|
||||
|
||||
append(
|
||||
* navbar
|
||||
);
|
||||
}
|
||||
|
||||
Data::~Data() = default;
|
||||
|
|
|
|||
|
|
@ -5,8 +5,17 @@
|
|||
|
||||
namespace app::browser::main::tab
|
||||
{
|
||||
namespace data
|
||||
{
|
||||
class Navbar;
|
||||
}
|
||||
|
||||
class Data : public Gtk::Box
|
||||
{
|
||||
private:
|
||||
|
||||
data::Navbar * navbar;
|
||||
|
||||
public:
|
||||
|
||||
Data();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue