init header constructor, update data types

This commit is contained in:
yggverse 2024-08-08 13:29:54 +03:00
parent d3e894e0ac
commit 56c63e73c7
2 changed files with 14 additions and 3 deletions

View File

@ -12,4 +12,11 @@ Browser::Browser()
WIDTH, WIDTH,
HEIGHT HEIGHT
); );
}
Browser::Header::Header()
{
set_show_title_buttons(
SHOW_TITLE_BUTTONS
);
} }

View File

@ -11,15 +11,19 @@ namespace app
{ {
public: public:
const char* TITLE = "Basic application"; const Glib::ustring TITLE = "Basic application";
const guint WIDTH = 640; const int WIDTH = 640;
const guint HEIGHT = 480; const int HEIGHT = 480;
Browser(); Browser();
class Header : Gtk::HeaderBar class Header : Gtk::HeaderBar
{ {
public:
const bool SHOW_TITLE_BUTTONS = true;
Header();
}; };
class Container : Gtk::Notebook class Container : Gtk::Notebook