diff --git a/src/window.h b/src/window.h index d025c2e..b815fb8 100644 --- a/src/window.h +++ b/src/window.h @@ -20,6 +20,12 @@ class Window : public Gtk::ApplicationWindow { private: const std::string file_path = "/sys/class/hwmon/"; + // Other important stuffs: + Gtk::Box m_vbox; + Gtk::HeaderBar m_headerbar; + Gtk::StackSwitcher m_stackswitcher; + Gtk::Stack m_stack; + // Computer Devices: vector devices; vector>> all_readings; @@ -38,11 +44,6 @@ class Window : public Gtk::ApplicationWindow { bool stop_work = false; std::unique_ptr m_WorkerThread = std::make_unique([this] { update_device_vals(); }); - // Other important stuffs: - Gtk::Box m_vbox; - Gtk::HeaderBar m_headerbar; - Gtk::StackSwitcher m_stackswitcher; - Gtk::Stack m_stack; void update_device_vals(); void update_all_components();