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

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

Create a helper class for easy scene setup. Highly reduces the number
of includes in a few source files.

  • Property svn:keywords set to Id
File size: 534 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
14class GtkVideoData;
15
16class GtkVideo
17{
18public:
19    GtkVideo(char const *title, int width, int height);
20
21    // Inherited
22    int GetWidth() const;
23    int GetHeight() const;
24    void PreRender();
25    void PostRender(float milliseconds);
26
27    // New
28    void *GetWidget();
29
30private:
31    GtkVideoData *data;
32};
33
34#endif // __DH_GTKVIDEO_H__
35
Note: See TracBrowser for help on using the repository browser.