mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
use separated class files, use hpp header extension, update include model
This commit is contained in:
parent
9b6dceddd8
commit
0f96ff851e
15 changed files with 235 additions and 145 deletions
41
src/app/browser/page.hpp
Normal file
41
src/app/browser/page.hpp
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
#ifndef APP_BROWSER_PAGE_H
|
||||
#define APP_BROWSER_PAGE_H
|
||||
|
||||
#include <gtkmm/notebook.h>
|
||||
|
||||
namespace app::browser
|
||||
{
|
||||
class Page : public Gtk::Notebook
|
||||
{
|
||||
public:
|
||||
|
||||
const bool SCROLLABLE = true;
|
||||
const bool REORDERABLE = true;
|
||||
|
||||
class Navbar
|
||||
{
|
||||
public:
|
||||
|
||||
Navbar();
|
||||
};
|
||||
|
||||
class Body
|
||||
{
|
||||
public:
|
||||
|
||||
Body();
|
||||
};
|
||||
|
||||
Page();
|
||||
|
||||
void append(
|
||||
char* request,
|
||||
bool open = true,
|
||||
bool focus = false
|
||||
);
|
||||
|
||||
void update();
|
||||
};
|
||||
}
|
||||
|
||||
#endif // APP_BROWSER_PAGE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue