| 123456789101112131415161718192021222324252627282930313233 |
- #ifndef LIGHTS_LIST_HPP_INCLUDED
- #define LIGHTS_LIST_HPP_INCLUDED
- #include <vector>
- #include <gtkmm/box.h>
- #include <gtkmm/frame.h>
- #include <gtkmm/button.h>
- #include "light_on_list.hpp"
- #include "light.hpp"
- namespace cx_light {
- class lights_list: public Gtk::Frame {
- public:
- lights_list();
- ~lights_list() override;
- void add_light(light);
- private:
- Gtk::Box *content;
- Gtk::Box *lights_container;
- Gtk::Button *create_light;
- std::vector<light_on_list *> *lights;
- void add_create_light_button();
- void add_lights_container();
- };
- }
- #endif
|