sdl.test.ext.sfont
Class TestSFont1

java.lang.Object
  |
  +--sdl.test.ext.sfont.TestSFont1
Direct Known Subclasses:
TestSFont2

public class TestSFont1
extends java.lang.Object

Draws "Welcome.." using SFont. Note, you must download an SFont image file from http://www.linux-games.com/sfont/fonts.html

When running you must specify this file as an argument. ex. java TestSFont1 /tmp/NeonFont.png


Field Summary
protected  sdl.core.Main m_SDL
           
 
Constructor Summary
TestSFont1()
           
 
Method Summary
 void cleanSDL()
           
 sdl.video.SDLSurface initSDL()
           
static void main(java.lang.String[] args)
           
 void runTest(java.lang.String name)
           
static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_SDL

protected sdl.core.Main m_SDL
Constructor Detail

TestSFont1

public TestSFont1()
Method Detail

initSDL

public sdl.video.SDLSurface initSDL()
                             throws java.lang.Exception
java.lang.Exception

cleanSDL

public void cleanSDL()

runTest

public void runTest(java.lang.String name)
             throws java.lang.Exception
java.lang.Exception

main

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

usage

public static void usage()
                  throws java.lang.Exception
java.lang.Exception