mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
56 lines
No EOL
1.2 KiB
C++
56 lines
No EOL
1.2 KiB
C++
#ifndef APP_BROWSER_H
|
|
#define APP_BROWSER_H
|
|
|
|
#include <gtkmm/window.h>
|
|
#include <gtkmm/headerbar.h>
|
|
#include <gtkmm/menubutton.h>
|
|
#include <gtkmm/notebook.h>
|
|
|
|
namespace app
|
|
{
|
|
class Browser : public Gtk::Window
|
|
{
|
|
public:
|
|
|
|
const Glib::ustring TITLE = "Yoda";
|
|
const int WIDTH = 640;
|
|
const int HEIGHT = 480;
|
|
|
|
Browser();
|
|
|
|
class Header : Gtk::HeaderBar
|
|
{
|
|
public:
|
|
|
|
const bool SHOW_TITLE_BUTTONS = true;
|
|
|
|
Header();
|
|
|
|
class Menu : public Gtk::MenuButton
|
|
{
|
|
const Glib::ustring TOOLTIP = "Menu";
|
|
|
|
Menu();
|
|
};
|
|
|
|
class Tab : public Gtk::MenuButton
|
|
{
|
|
const Glib::ustring TOOLTIP = "New tab";
|
|
|
|
Tab();
|
|
};
|
|
};
|
|
|
|
class Container : Gtk::Notebook
|
|
{
|
|
public:
|
|
|
|
const bool SCROLLABLE = true;
|
|
const bool REORDERABLE = true;
|
|
|
|
Container();
|
|
};
|
|
};
|
|
}
|
|
|
|
#endif // APP_BROWSER_H
|