Last change
on this file since 90 was
90,
checked in by sam, 11 years ago
|
Change the Video class into an interface, implemented by SdlVideo and,
soon, GtkVideo.
|
-
Property svn:keywords set to
Id
|
File size:
408 bytes
|
Line | |
---|
1 | |
---|
2 | /* |
---|
3 | * The video interface |
---|
4 | */ |
---|
5 | |
---|
6 | #if !defined __DH_VIDEO_H__ |
---|
7 | #define __DH_VIDEO_H__ |
---|
8 | |
---|
9 | class Video |
---|
10 | { |
---|
11 | public: |
---|
12 | //Video(char const *title, int width, int height); |
---|
13 | //virtual ~Video(); |
---|
14 | |
---|
15 | virtual int GetWidth() const = 0; |
---|
16 | virtual int GetHeight() const = 0; |
---|
17 | virtual void Clear() = 0; |
---|
18 | virtual void Refresh(float milliseconds) = 0; |
---|
19 | virtual void FullScreen() = 0; |
---|
20 | }; |
---|
21 | |
---|
22 | #endif // __DH_VIDEO_H__ |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.