From 9b6dceddd8567d284270c04031444dd26df761e0 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 10 Aug 2024 10:33:36 +0300 Subject: [PATCH] init page subclass --- src/app/browser.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/src/app/browser.h b/src/app/browser.h index 8ac13637..6bb136d4 100644 --- a/src/app/browser.h +++ b/src/app/browser.h @@ -53,10 +53,44 @@ namespace app { public: + class Page + { + public: + + class Navbar + { + public: + + Navbar(); + }; + + class Body + { + public: + + Body(); + }; + + Page(); + + private: + + Navbar _navbar; + Body _body; + }; + const bool SCROLLABLE = true; const bool REORDERABLE = true; Container(); + + Page append( + char* request, + bool open = true, + bool focus = false + ); + + void update(); }; }; }