light_on_list.hpp 418 B

12345678910111213141516171819202122232425
  1. #ifndef LIGHT_ON_LIST_HPP_INCLUDED
  2. #define LIGHT_ON_LIST_HPP_INCLUDED
  3. #include <gtkmm/box.h>
  4. #include <string>
  5. namespace cx_light {
  6. class light_on_list: public Gtk::Box {
  7. public:
  8. light_on_list(std::string, bool);
  9. ~light_on_list() override;
  10. static
  11. static int width();
  12. static int height();
  13. private:
  14. bool state;
  15. std::string name;
  16. };
  17. }
  18. #endif