OSDN Git Service

SDL.getVideoInfoの実装
[scala-sdl/scalasdl-1.0.git.git] / src / SDL.scala
index fe273d2..fcc0381 100644 (file)
@@ -81,6 +81,8 @@ package sdl {
     // Video
     //-------------------------------------------------
     def getVideoSurface():Surface = return sdl.getVideoSurface()
+    def getVideoInfo():VideoInfo = return sdl.getVideoInfo()
+
     def setVideoMode(width:Int, height:Int, bitsperpixel:Int, flags:Int):Surface = return sdl.setVideoMode(width, height, bitsperpixel, flags)
     def flip(surface:Surface):Int = sdl.flip(surface)
     def setColors(surface:Surface, colors:Array[Color], firstcolor:Int, ncolor:Int):Int = return sdl.setColors(surface, colors, firstcolor, ncolor)