Yoda/src/app/browser/header.cpp

33 lines
426 B
C++
Raw Normal View History

#include "header.hpp"
#include "header/menu.hpp"
#include "header/tab.hpp"
using namespace app::browser;
Header::Header()
{
2024-08-12 09:45:22 +03:00
// Init header bar
set_show_title_buttons(
2024-08-12 21:30:30 +03:00
true
);
2024-08-12 09:45:22 +03:00
// Init menu
menu = new header::Menu();
pack_start(
2024-08-12 09:45:22 +03:00
* menu
);
2024-08-12 09:45:22 +03:00
// Init tab
tab = new header::Tab();
pack_start(
2024-08-12 09:45:22 +03:00
* tab
);
}
Header::~Header()
{
delete menu;
delete tab;
}