00001 #ifndef _GESTUREFINDERGUI_H
00002 #define _GESTUREFINDERGUI_H
00003
00004 #include "AbstractGtkmmModuleGUI.h"
00005 #include "../modules/GestureFinder.h"
00006 #include "../util/Vector.h"
00007 #include <gtkmm/box.h>
00008 #include <gtkmm/label.h>
00009 #include <gtkmm/adjustment.h>
00010 #include <gtkmm/spinbutton.h>
00011
00014 class GestureFinderGUI : public AbstractGtkmmModuleGUI
00015 {
00016 public:
00020 GestureFinderGUI(GestureFinder *module);
00021
00025 virtual void init();
00029 virtual void destroy();
00030
00031 private:
00032 void setMaxFramesDropped();
00033 void setThreshold();
00034
00035 Gtk::VBox m_box;
00036
00037 Gtk::HBox m_boxMaxFramesDropped;
00038 Gtk::Label m_lblMaxFramesDropped;
00039 Gtk::Adjustment m_adjMaxFramesDropped;
00040 Gtk::SpinButton m_spbMaxFramesDropped;
00041
00042 Gtk::HBox m_boxThreshold;
00043 Gtk::Label m_lblThreshold;
00044 Gtk::Adjustment m_adjThreshold;
00045 Gtk::SpinButton m_spbThreshold;
00046
00047 };
00048
00049 #endif