mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
init page subclass
This commit is contained in:
parent
4a8b84d57e
commit
9b6dceddd8
1 changed files with 34 additions and 0 deletions
|
|
@ -53,10 +53,44 @@ namespace app
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
class Page
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
class Navbar
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
Navbar();
|
||||||
|
};
|
||||||
|
|
||||||
|
class Body
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
Body();
|
||||||
|
};
|
||||||
|
|
||||||
|
Page();
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
|
Navbar _navbar;
|
||||||
|
Body _body;
|
||||||
|
};
|
||||||
|
|
||||||
const bool SCROLLABLE = true;
|
const bool SCROLLABLE = true;
|
||||||
const bool REORDERABLE = true;
|
const bool REORDERABLE = true;
|
||||||
|
|
||||||
Container();
|
Container();
|
||||||
|
|
||||||
|
Page append(
|
||||||
|
char* request,
|
||||||
|
bool open = true,
|
||||||
|
bool focus = false
|
||||||
|
);
|
||||||
|
|
||||||
|
void update();
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue