Browse Source

Remove dead code from the soon to be deprecated Video classes.

legacy
Sam Hocevar sam 14 years ago
parent
commit
3f18102a40
4 changed files with 0 additions and 24 deletions
  1. +0
    -10
      src/gtk/gtkvideo.cpp
  2. +0
    -2
      src/gtk/gtkvideo.h
  3. +0
    -10
      src/sdlvideo.cpp
  4. +0
    -2
      src/sdlvideo.h

+ 0
- 10
src/gtk/gtkvideo.cpp View File

@@ -120,16 +120,6 @@ void *GtkVideo::GetWidget()
return data->widget;
}

int GtkVideo::GetWidth() const
{
return data->widget->allocation.width;
}

int GtkVideo::GetHeight() const
{
return data->widget->allocation.height;
}

void GtkVideo::PreRender()
{
/// XXX: is this right?


+ 0
- 2
src/gtk/gtkvideo.h View File

@@ -19,8 +19,6 @@ public:
GtkVideo(char const *title, int width, int height);

// Inherited
int GetWidth() const;
int GetHeight() const;
void PreRender();
void PostRender(float milliseconds);



+ 0
- 10
src/sdlvideo.cpp View File

@@ -60,16 +60,6 @@ SdlVideo::SdlVideo(char const *title, int width, int height)
data->frames = 0;
}

int SdlVideo::GetWidth() const
{
return data->video->w;
}

int SdlVideo::GetHeight() const
{
return data->video->h;
}

void SdlVideo::PreRender()
{
Video::Clear();


+ 0
- 2
src/sdlvideo.h View File

@@ -19,8 +19,6 @@ public:
SdlVideo(char const *title, int width, int height);
~SdlVideo();

int GetWidth() const;
int GetHeight() const;
void PreRender();
void PostRender(float milliseconds);
void FullScreen();


Loading…
Cancel
Save