diff --git a/src/window.h b/src/window.h index b815fb8..3731446 100644 --- a/src/window.h +++ b/src/window.h @@ -25,20 +25,24 @@ class Window : public Gtk::ApplicationWindow { Gtk::HeaderBar m_headerbar; Gtk::StackSwitcher m_stackswitcher; Gtk::Stack m_stack; - + // Computer Devices: vector devices; vector>> all_readings; vector device_names; + // Summary tree Gtk::ScrolledWindow m_scrolledwindow; std::unique_ptr tree; + // Notebook: Gtk::Notebook m_notebook; vector m_Notebook_Boxes; vector>> m_notebook_graphs; vector>> m_notebook_legends; vector>> m_colors; + vector gen_colors(unsigned int size); + // Async value updates to prevent stalls: Glib::Dispatcher m_Dispatcher; bool stop_work = false; @@ -47,7 +51,6 @@ class Window : public Gtk::ApplicationWindow { void update_device_vals(); void update_all_components(); - vector gen_colors(unsigned int size); void on_button_quit(); };