00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef QGST_XOVERLAY_H
00018 #define QGST_XOVERLAY_H
00019
00020 #include "global.h"
00021 #include "../QGlib/object.h"
00022 #include <QtGui/qwindowdefs.h>
00023
00024 class QRect;
00025
00026 namespace QGst {
00027
00031 class QTGSTREAMER_EXPORT XOverlay : public QGlib::Interface
00032 {
00033 QGST_WRAPPER(XOverlay)
00034 public:
00035 void expose();
00036 void setWindowHandle(WId id);
00037 void enableEventHandling(bool enabled);
00038 bool setRenderRectangle(int x, int y, int width, int height);
00039 bool setRenderRectangle(const QRect & rect);
00040 };
00041
00042 }
00043
00044 QGST_REGISTER_TYPE(QGst::XOverlay)
00045 QGLIB_REGISTER_INTERFACE(QGst::XOverlay)
00046
00047 #endif // QGST_XOVERLAY_H