define default size

This commit is contained in:
yggverse 2024-08-24 19:06:42 +03:00
parent fbfb8039b0
commit 65bc5ef6f4
2 changed files with 5 additions and 2 deletions

View File

@ -14,8 +14,8 @@ Browser::Browser(
); );
set_default_size( set_default_size(
640, WIDTH,
480 HEIGHT
); );
// Init header widget // Init header widget

View File

@ -22,6 +22,9 @@ namespace app
app::browser::Header * header; app::browser::Header * header;
app::browser::Main * main; app::browser::Main * main;
const int WIDTH = 640;
const int HEIGHT = 480;
public: public:
Browser( Browser(