source: trunk/src/gtk/gtkvideo.h @ 100

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

Slightly improve the documentation in a few files, add the missing
joystick class, and put a header in each source file.

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