mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
init header constructor, update data types
This commit is contained in:
parent
d3e894e0ac
commit
56c63e73c7
2 changed files with 14 additions and 3 deletions
|
|
@ -13,3 +13,10 @@ Browser::Browser()
|
||||||
HEIGHT
|
HEIGHT
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Browser::Header::Header()
|
||||||
|
{
|
||||||
|
set_show_title_buttons(
|
||||||
|
SHOW_TITLE_BUTTONS
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue