egami
C++ Image Processing program
|
00001 00006 #ifndef PROGRESS_HPP_INCLUDED 00007 #define PROGRESS_HPP_INCLUDED 00008 00009 #include <gtkmm/dialog.h> 00010 #include <gtkmm/progressbar.h> 00011 00015 class Progress: public Gtk::Dialog{ 00016 public: 00017 Progress(); 00018 ~Progress(); 00019 00020 // val between 0 and 1 00021 void advance(double val); 00022 00023 private: 00024 Gtk::ProgressBar pb; 00025 double last; 00026 }; 00027 00028 #endif