#ifndef CORE_WINDOW_H_INCLUDED #define CORE_WINDOW_H_INCLUDED #include #include "strings.hpp" #include "buttons.hpp" namespace cx_light { class core_window: public Gtk::Window { public: core_window(); ~core_window(); private: Gtk::Grid *content; Gtk::Frame *lights_list_frame; Gtk::ListBox *lights_list; add_light_button *add_light; void init_default(); void create_lights_list(); void set_margin(Gtk::Widget *, unsigned int); void set_margin(Gtk::Widget *, unsigned int, unsigned int); }; } #endif