egami
C++ Image Processing program
/homes/esi30/DCS339/coursework/src/processing_unit.hpp
Go to the documentation of this file.
00001 
00006 #ifndef PROCESSING_UNIT_HPP_INCLUDED
00007 #define PROCESSING_UNIT_HPP_INCLUDED
00008 
00009 #include <string>
00010 
00011 #include <gtkmm/button.h>
00012 #include <gtkmm/label.h>
00013 #include <gtkmm/box.h>
00014 #include <gtkmm/image.h>
00015 
00016 #include "processing.hpp"
00017 
00021 class Processing_unit: public Processing, public Gtk::Button {
00022     public:
00031         Processing_unit(const Processing &processing, const std::string &text, const Gtk::Image &icon, bool new_tab);
00032 
00038         void on_clicked();
00039 
00040     private:
00041         std::string title;
00042         Gtk::VBox container;
00043         Gtk::Label label;
00044         Gtk::Image icon; 
00045         bool new_tab;
00046 };
00047 
00048 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends