00001 #ifndef INFO_WIDGET 00002 #define INFO_WIDGET 00003 00006 #include <QGLWidget> 00007 00008 #include "OverlayWidget.h" 00009 #include <FCam/Frame.h> 00010 00011 // The info widget is a GL widget that sits on top of the overlay and 00012 // draws stuff to do with AF points, histograms, etc 00013 class InfoWidget : public QGLWidget { 00014 public: 00015 InfoWidget(OverlayWidget *); 00016 00017 void setFrame(FCam::Frame::Ptr f); 00018 00019 protected: 00020 00021 void paintGL(); 00022 00023 FCam::Frame::Ptr frame; 00024 int programObject; 00025 }; 00026 00027 00028 00029 #endif
1.5.6