mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
init main header widget
This commit is contained in:
parent
fac548a738
commit
a98e9e088a
8 changed files with 102 additions and 0 deletions
24
src/app/browser/header/main.cpp
Normal file
24
src/app/browser/header/main.cpp
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#include "main.hpp"
|
||||
#include "main/title.hpp"
|
||||
|
||||
using namespace app::browser::header;
|
||||
|
||||
Main::Main()
|
||||
{
|
||||
// Init container
|
||||
set_orientation(
|
||||
Gtk::Orientation::VERTICAL
|
||||
);
|
||||
|
||||
// Init title
|
||||
title = new main::Title();
|
||||
|
||||
append(
|
||||
* title
|
||||
);
|
||||
}
|
||||
|
||||
Main::~Main()
|
||||
{
|
||||
delete title;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue