source: trunk/src/gtkvideo.h @ 93

Last change on this file since 93 was 93, checked in by sam, 11 years ago

The GTK loop now works. Sort of.

  • Property svn:keywords set to Id
File size: 548 bytes
Line 
1
2/*
3 * The video driver
4 */
5
6#if !defined __DH_GTKVIDEO_H__
7#define __DH_GTKVIDEO_H__
8
9#include "video.h"
10
11class GtkVideoData;
12
13class GtkVideo : public Video
14{
15public:
16    GtkVideo(char const *title, int width, int height);
17    virtual ~GtkVideo();
18
19    // New
20    void *GetWidget();
21
22    // Inherited
23    virtual int GetWidth() const;
24    virtual int GetHeight() const;
25    virtual void PreRender();
26    virtual void PostRender(float milliseconds);
27    virtual void FullScreen();
28
29private:
30    GtkVideoData *data;
31};
32
33#endif // __DH_GTKVIDEO_H__
34
Note: See TracBrowser for help on using the repository browser.