From 5f57b664df5f3c21ce015502abc935108e282ff9 Mon Sep 17 00:00:00 2001 From: Kerry Liu Date: Mon, 29 May 2017 20:04:09 -0400 Subject: [PATCH] organization! --- src/window.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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(); };