source: trunk/src/sdlvideo.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: 605 bytes
Line 
1//
2// Deus Hax (working title)
3// Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
4//
5
6//
7// The SdlVideo class
8// ------------------
9//
10
11#if !defined __DH_SDLVIDEO_H__
12#define __DH_SDLVIDEO_H__
13
14#include "video.h"
15
16class SdlVideoData;
17
18class SdlVideo : public Video
19{
20public:
21    SdlVideo(char const *title, int width, int height);
22    virtual ~SdlVideo();
23
24    virtual int GetWidth() const;
25    virtual int GetHeight() const;
26    virtual void PreRender();
27    virtual void PostRender(float milliseconds);
28    virtual void FullScreen();
29
30private:
31    SdlVideoData *data;
32};
33
34#endif // __DH_SDLVIDEO_H__
35
Note: See TracBrowser for help on using the repository browser.