Преглед изворни кода

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


Loading…
Откажи
Сачувај