| 1234567891011121314151617181920212223242526272829303132333435363738 |
- #ifndef SOURCE_EDITOR_HPP_INCLUDED
- #define SOURCE_EDITOR_HPP_INCLUDED
- #include <string>
- #include <gtkmm/grid.h>
- #include <gtkmm/entry.h>
- #include <gtkmm/label.h>
- #include <gtkmm/button.h>
- #include "light.hpp"
- namespace cx_light {
- class editor: public Gtk::Grid {
- public:
- editor(light*);
- ~editor() override;
-
- std::string get_title();
- std::string get_address();
-
- private:
- light *target;
- Gtk::Entry *title;
- Gtk::Entry *address;
-
- Gtk::Label *description;
- Gtk::Label *title_label;
- Gtk::Label *address_label;
- Gtk::Button *save;
- Gtk::Button *back;
- };
- }
- #endif
|