refactor: don't use a group's box directly in bar

This commit is contained in:
Brenno Lemos
2023-10-14 13:08:44 -03:00
parent a3774dc586
commit bbb7fb0c82
4 changed files with 21 additions and 9 deletions

View File

@ -5,8 +5,6 @@
#include <json/json.h>
#include "AModule.hpp"
#include "bar.hpp"
#include "factory.hpp"
namespace waybar {
@ -16,6 +14,10 @@ class Group : public AModule {
~Group() = default;
auto update() -> void override;
operator Gtk::Widget&() override;
virtual Gtk::Box& getBox();
protected:
Gtk::Box box;
};