mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
update namespace model
This commit is contained in:
parent
521d372b40
commit
47bd3b5b8b
10 changed files with 116 additions and 81 deletions
28
src/app/browser/header.cpp
Normal file
28
src/app/browser/header.cpp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#include "header.h"
|
||||
|
||||
namespace app
|
||||
{
|
||||
namespace browser
|
||||
{
|
||||
// Construct
|
||||
Header::Header(
|
||||
Browser *browser
|
||||
) {
|
||||
// Init GTK
|
||||
this->gtk = gtk_header_bar_new();
|
||||
|
||||
gtk_header_bar_set_show_title_buttons(
|
||||
GTK_HEADER_BAR(
|
||||
this->gtk
|
||||
),
|
||||
Header::SHOW_TITLE_BUTTONS
|
||||
);
|
||||
|
||||
gtk_widget_show(
|
||||
GTK_WIDGET(
|
||||
this->gtk
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue