sdl.test
Class TestVideo2

java.lang.Object
  |
  +--sdl.test.TestVideo2

public class TestVideo2
extends java.lang.Object

Demo of direct pixel access to create a small window with a gradient color fill.


Constructor Summary
TestVideo2()
           
 
Method Summary
static short createHiColor(sdl.video.SDLPixelFormat fmt, byte red, byte green, byte blue)
           
static byte[] getShort(short s)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestVideo2

public TestVideo2()
Method Detail

createHiColor

public static short createHiColor(sdl.video.SDLPixelFormat fmt,
                                  byte red,
                                  byte green,
                                  byte blue)

getShort

public static byte[] getShort(short s)

main

public static void main(java.lang.String[] args)