Browse Source

set defaults in header file, add comments

CPP-GTK4
yggverse 3 months ago
parent
commit
afa21ea17a
  1. 2
      src/app/browser/main.cpp
  2. 6
      src/app/browser/main.hpp

2
src/app/browser/main.cpp

@ -11,7 +11,7 @@ Main::Main()
); );
set_homogeneous( set_homogeneous(
true HOMOGENEOUS
); );
// Init tabs // Init tabs

6
src/app/browser/main.hpp

@ -14,15 +14,21 @@ namespace app::browser
class Main : public Gtk::Box class Main : public Gtk::Box
{ {
// Components
main::Tab * mainTab; main::Tab * mainTab;
// Defaults
const bool HOMOGENEOUS = true;
public: public:
Main(); Main();
~Main(); ~Main();
// Getters
Glib::ustring get_current_tab_label_text(); Glib::ustring get_current_tab_label_text();
// Actions
void tab_append(); void tab_append();
void tab_close_all(); void tab_close_all();
void tab_close_left(); void tab_close_left();

Loading…
Cancel
Save