浏览代码

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

legacy
Sam Hocevar sam 14 年前
父节点
当前提交
3f18102a40
共有 4 个文件被更改,包括 0 次插入24 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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();


正在加载...
取消
保存