Browse Source

define default size

CPP-GTK4
yggverse 3 months ago
parent
commit
65bc5ef6f4
  1. 4
      src/app/browser.cpp
  2. 3
      src/app/browser.hpp

4
src/app/browser.cpp

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

3
src/app/browser.hpp

@ -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(

Loading…
Cancel
Save