sdl.test.gui
Class GUIRuntime

java.lang.Object
  |
  +--sdl.test.gui.GUIRuntime
All Implemented Interfaces:
sdl.event.EventListener

public class GUIRuntime
extends java.lang.Object
implements sdl.event.EventListener

for demo gui - unfinished, Rudimentary prototype for SDL implementation of a java.awt.Toolkit object. Handles the necessry SDL runtime stuff for us. The immediate goal is SDLComponent, SDLContainer, SDLFont, etc. Scott Straw 08/02/02


Constructor Summary
GUIRuntime()
           
 
Method Summary
static void dispatchEvent(sdl.event.SDLCustomEvent e)
           
static long doPixelColorHack(long oldColor, sdl.video.SDLSurface surface)
          SDL Pixel Access methods
 void finalize()
           
 GUIGraphics getGraphics()
           
static GUIRuntime getStaticInstance()
           
 boolean incomingEvents(sdl.event.SDLCustomEvent e)
           
 void initEventService()
           
 void initSDL()
          Begin SDL Runtime methods
 void quitEventService()
           
 void quitSDL()
           
 void setAsStaticInstance()
           
 void updateSurface()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIRuntime

public GUIRuntime()
Method Detail

doPixelColorHack

public static long doPixelColorHack(long oldColor,
                                    sdl.video.SDLSurface surface)
SDL Pixel Access methods


initSDL

public void initSDL()
Begin SDL Runtime methods


quitSDL

public void quitSDL()

initEventService

public void initEventService()

quitEventService

public void quitEventService()

updateSurface

public void updateSurface()

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

getGraphics

public GUIGraphics getGraphics()

dispatchEvent

public static void dispatchEvent(sdl.event.SDLCustomEvent e)

incomingEvents

public boolean incomingEvents(sdl.event.SDLCustomEvent e)
                       throws sdl.event.SDLEventException
Specified by:
incomingEvents in interface sdl.event.EventListener
sdl.event.SDLEventException

setAsStaticInstance

public void setAsStaticInstance()

getStaticInstance

public static GUIRuntime getStaticInstance()