#include #include #include #include #include #include #include "strings.hpp" #include "config.hpp" #include "core_window.hpp" #include "lights_list.hpp" namespace cx_light { core_window::core_window() { this->set_title(__(WINDOW_TITLE)); this->set_default_size(400, 200); this->init_default(); } core_window::~core_window() { delete this->center; } void core_window::init_default() { this->center = new Gtk::Box(); this->center->set_orientation(Gtk::Orientation::HORIZONTAL); this->set_child(*this->center); this->create_lights_list(); } void core_window::create_lights_list() { this->lights = new lights_list(); this->center->append(*this->lights); } }