lights_list.hpp 516 B

12345678910111213141516171819202122232425262728
  1. #ifndef LIGHTS_LIST_HPP_INCLUDED
  2. #define LIGHTS_LIST_HPP_INCLUDED
  3. #include <vector>
  4. #include <gtkmm/box.h>
  5. #include <gtkmm/button.h>
  6. #include "light_on_list.hpp"
  7. namespace cx_light {
  8. class lights_list: public Gtk::Box {
  9. public:
  10. lights_list();
  11. ~lights_list() override;
  12. private:
  13. Gtk::Box *lights_container;
  14. Gtk::Button *create_light;
  15. std::vector<light_on_list *> *lights;
  16. void add_create_light_button();
  17. void add_lights_container();
  18. };
  19. }
  20. #endif