|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SDLException | |
---|---|
org.gljava.opengl.model | |
sdljava | Provides the interface to SDL routines defined in SDL.h |
sdljava.cdrom | Provides all the routines defined in the SDL_cdrom.h header. |
sdljava.event | Provides the interface to SDL event management defined int SDL_events.h |
sdljava.image | Provides the IMG_Load function from the SDL_Image library. |
sdljava.joystick | Provides all the functions which are defined in the SDL_joystick.h header |
sdljava.mixer | Provides all the functions which are defined in the SDL_mixer.h header |
sdljava.ttf | Provides the interface to SDL TTF routines defined in SDL_ttf.h |
sdljava.video | Provides all the functions which are defined in the SDL_video.h header. |
sdljavax.gfx | Provides the interface to SDL_gfx routines defined in SDL_gfxPrimitives.h and SDL_rotozoom.h. |
Uses of SDLException in org.gljava.opengl.model |
---|
Methods in org.gljava.opengl.model that throw SDLException | |
---|---|
void |
ModelViewer.init()
|
Uses of SDLException in sdljava |
---|
Methods in sdljava that throw SDLException | |
---|---|
static void |
SDLMain.init(long flags)
Initializes SDL. |
static void |
SDLMain.initSubSystem(int flags)
Initialize subsystems |
static long |
SDLMain.wasInit(long flags)
Checks which subsystems are initialized |
Uses of SDLException in sdljava.cdrom |
---|
Methods in sdljava.cdrom that throw SDLException | |
---|---|
void |
SDLCdrom.cdEject()
Ejects a CDROM |
static void |
SDLCdrom.cdEject(SDLCdrom cdrom)
Ejects a CDROM |
static SDLCdrom |
SDLCdrom.cdOpen(int drive)
Describe cdOpen method here. |
void |
SDLCdrom.cdPause()
Pauses a CDROM |
static void |
SDLCdrom.cdPause(SDLCdrom cdrom)
Pauses a CDROM |
void |
SDLCdrom.cdPlay(int start,
int length)
Play a CD |
static void |
SDLCdrom.cdPlay(SDLCdrom cdrom,
int start,
int length)
Play a CD |
void |
SDLCdrom.cdPlayTracks(int start_track,
int start_frame,
int ntracks,
int nframes)
Play the given CD track(s) |
static void |
SDLCdrom.cdPlayTracks(SDLCdrom cdrom,
int start_track,
int start_frame,
int ntracks,
int nframes)
Play the given CD track(s) |
void |
SDLCdrom.cdResume()
Resumes a CDROM |
static void |
SDLCdrom.cdResume(SDLCdrom cdrom)
Resumes a CDROM |
void |
SDLCdrom.cdStop()
Stops a CDROM |
static void |
SDLCdrom.cdStop(SDLCdrom cdrom)
Stops a CDROM |
Uses of SDLException in sdljava.event |
---|
Methods in sdljava.event that throw SDLException | |
---|---|
static void |
SDLEvent.enableKeyRepeat(int delay,
int interval)
Enables or disables the keyboard repeat rate. |
static int |
SDLEvent.enableUNICODE(int mode)
Enables/Disables Unicode keyboard translation. |
static SDLEventState |
SDLEvent.eventState(int type,
SDLEventState state)
This function allows you to set the state of processing certain event types. |
static SDLAppState |
SDLEvent.getAppState()
This function returns the current state of the application. |
static MouseState |
SDLEvent.getMouseState()
Retrieve the current state of the mouse |
static MouseState |
SDLEvent.getRelativeMouseState()
Retrieve the relative current state of the mouse since the last call to getRelativeMouseState() |
static int |
SDLEvent.joystickEventState(SDLEventState state)
This function is used to enable or disable joystick event processing. |
static SDLEvent |
SDLEvent.pollEvent()
Polls for currently pending events. |
static SDLEvent |
SDLEvent.pollEvent(boolean returnEvent)
Polls for currently pending events. |
static void |
SDLEvent.pumpEvents()
Pumps the event loop, gathering events from the input devices. |
static SDLEvent |
SDLEvent.waitEvent()
Waits indefinitely for the next available event |
static SDLEvent |
SDLEvent.waitEvent(boolean returnEvent)
Waits indefinitely for the next available event |
Uses of SDLException in sdljava.image |
---|
Methods in sdljava.image that throw SDLException | |
---|---|
static SDLSurface |
SDLImage.load(java.nio.Buffer buf)
Load file for use as an image in a new surface. |
static SDLSurface |
SDLImage.load(byte[] data)
Load file for use as an image in a new surface. |
static SDLSurface |
SDLImage.load(java.io.InputStream in)
Load file for use as an image in a new surface. |
static SDLSurface |
SDLImage.load(java.lang.String file)
Load file for use as an image in a new surface. |
static SDLSurface |
SDLImage.load(java.net.URL url)
Load file for use as an image in a new surface. |
Uses of SDLException in sdljava.joystick |
---|
Methods in sdljava.joystick that throw SDLException | |
---|---|
void |
SDLJoystick.joystickGetBall(int ball,
java.lang.Integer dx,
java.lang.Integer dy)
Get relative trackball motion |
static SDLJoystick |
SDLJoystick.joystickOpen(int index)
Opens a joystick for use. |
Uses of SDLException in sdljava.mixer |
---|
Methods in sdljava.mixer that throw SDLException | |
---|---|
static int |
SDLMixer.allocateChannels(int count)
Set the number of channels being mixed. |
static void |
SDLMixer.close()
Shutdown and cleanup the mixer API. |
static int |
SDLMixer.expireChannel(int channel,
int ticks)
Halt channel playback, or all channels if -1 is passed in, after ticks milliseconds. |
static int |
SDLMixer.fadeInChannel(int channel,
MixChunk chunk,
int loops,
int ms)
Play chunk on channel, or if channel is -1, pick the first free unreserved channel. |
static int |
SDLMixer.fadeInChannelTimed(int channel,
MixChunk chunk,
int loops,
int ms,
int ticks)
f the sample is long enough and has enough loops then the sample will stop after ticks milliseconds. |
static void |
SDLMixer.fadeInMusic(MixMusic music,
int loops,
int ms)
Fade in over ms milliseconds of time, the loaded music, playing it loop times through from start to finish. |
static void |
SDLMixer.fadeInMusicPos(MixMusic music,
int loops,
int ms,
double position)
Fade in over ms milliseconds of time, the loaded music, playing it loop times through from start to finish. |
static int |
SDLMixer.fadeOutChannel(int channel,
int ms)
Gradually fade out which channel over ms milliseconds starting from now. |
static int |
SDLMixer.fadeOutGroup(int tag,
int ms)
Gradually fade out channels in group tag over ms milliseconds starting from now. |
static void |
SDLMixer.fadeOutMusic(int ms)
Gradually fade out the music over ms milliseconds starting from now. |
static Mix_Fading |
SDLMixer.fadingChannel(int which)
Tells you if which channel is fading in, out, or not. |
static void |
SDLMixer.freeChunk(MixChunk chunk)
Free the memory used in chunk, and free chunk itself as well. |
static void |
SDLMixer.freeMusic(MixMusic music)
Free the loaded music. |
static MixChunk |
SDLMixer.getChunk(int channel)
Get the most recent sample chunk pointer played on channel. |
static Mix_MusicType |
SDLMixer.getMusicType(MixMusic music)
Tells you the file format encoding of the music. |
static int |
SDLMixer.groupAvailable(int tag)
Find the first available (not playing) channel in group tag. |
static void |
SDLMixer.groupChannel(int which,
int tag)
Add which channel to group tag, or reset it's group to the default group tag (-1). |
static int |
SDLMixer.groupCount(int tag)
Count the number of channels in group tag. |
static int |
SDLMixer.groupNewer(int tag)
Find the newest, most recently started, actively playing channel in group tag. |
static int |
SDLMixer.groupOldest(int tag)
Find the oldest actively playing channel in group tag. |
static void |
SDLMixer.haltChannel(int channel)
Halt channel playback, or all channels if -1 is passed in. |
static void |
SDLMixer.haltGroup(int tag)
Halt playback on all channels in group tag. |
static void |
SDLMixer.haltMusic()
Halt playback of music. |
static MixMusic |
SDLMixer.loadMUS(byte[] data)
Load music file to use. |
static MixMusic |
SDLMixer.loadMUS(java.nio.ByteBuffer buf)
Load music file to use. |
static MixMusic |
SDLMixer.loadMUS(java.io.InputStream in)
Load music file to use. |
static MixMusic |
SDLMixer.loadMUS(java.lang.String path)
Load music file to use. |
static MixMusic |
SDLMixer.loadMUS(java.net.URL url)
Load music file to use. |
static MixChunk |
SDLMixer.loadWAV(java.nio.Buffer buf)
Load file for use as a sample. |
static MixChunk |
SDLMixer.loadWAV(byte[] data)
Load file for use as a sample. |
static MixChunk |
SDLMixer.loadWAV(java.io.InputStream in)
Load file for use as a sample. |
static MixChunk |
SDLMixer.loadWAV(java.lang.String path)
Load file for use as a sample. |
static MixChunk |
SDLMixer.loadWAV(java.net.URL url)
Load file for use as a sample. |
static void |
SDLMixer.openAudio(int frequency,
int format,
int channels,
int chunksize)
Initialize the mixer API. |
static void |
SDLMixer.pause(int channel)
Pause channel, or all playing channels if -1 is passed in. |
static int |
SDLMixer.paused(int channel)
Tells you if channel is paused, or not. |
static int |
SDLMixer.playChannel(int channel,
MixChunk chunk,
int loops)
Play chunk on channel, or if channel is -1, pick the first free unreserved channel. |
static int |
SDLMixer.playChannelTimed(int channel,
MixChunk chunk,
int loops,
int ticks)
If the sample is long enough and has enough loops then the sample will stop after ticks milliseconds. |
static int |
SDLMixer.playing(int channel)
Tells you if channel is playing, or not. |
static void |
SDLMixer.playMusic(MixMusic music,
int loops)
Play the loaded music loop times through from start to finish. |
static MixerSpec |
SDLMixer.querySpec()
Get the actual audio format in use by the opened audio device. |
static int |
SDLMixer.reserveChannels(int num)
Reserve num channels from being used when playing samples when passing in -1 as a channel number to playback functions. |
static void |
SDLMixer.resume(int channel)
Unpause channel, or all playing and paused channels if -1 is passed in. |
static void |
SDLMixer.setDistance(int channel,
int distance)
This effect simulates a simple attenuation of volume due to distance. |
static boolean |
SDLMixer.setMusicPosition(double position)
Set the position of the currently playing music. |
static void |
SDLMixer.setPanning(int channel,
int left,
int right)
This effect will only work on stereo audio. |
static void |
SDLMixer.setPosition(int channel,
int angle,
int distance)
This effect emulates a simple 3D audio effect. |
static int |
SDLMixer.volume(int channel,
int volume)
Set the volume for any allocated channel. |
static int |
SDLMixer.volumeChunk(MixChunk chunk,
int volume)
Set chunk->volume to volume. |
static int |
SDLMixer.volumeMusic(int volume)
Set the volume to volume, if it is 0 or greater, and return the previous volume setting. |
Uses of SDLException in sdljava.ttf |
---|
Methods in sdljava.ttf that throw SDLException | |
---|---|
void |
SDLTrueTypeFont.closeFont()
Free the memory used by font, and free font itself as well. |
GlyphMetrics |
SDLTrueTypeFont.glyphMetrics(char c)
Gets the glyph metrics from the font file. |
static void |
SDLTTF.init()
Initialize the truetype font API. |
static SDLTrueTypeFont |
SDLTTF.openFont(java.lang.String path,
int ptsize)
Load file for use as a font, at ptsize size. |
static SDLTrueTypeFont |
SDLTTF.openFontIndex(java.lang.String path,
int ptsize,
int index)
Load file for use as a font, at ptsize size. |
static void |
SDLTTF.quit()
Shutdown and cleanup the truetype font API. |
SDLSurface |
SDLTrueTypeFont.renderTextBlended(java.lang.String text,
SDLColor fg)
Create a 32-bit ARGB surface and render the given glyph at high quality, using alpha blending to dither the font with the given color. |
SDLSurface |
SDLTrueTypeFont.renderTextShaded(java.lang.String text,
SDLColor fg,
SDLColor bg)
Create an 8-bit palettized surface and render the given text at fast quality with the given font and color. |
SDLSurface |
SDLTrueTypeFont.renderTextSolid(java.lang.String text,
SDLColor fg)
Create an 8-bit palettized surface and render the given text at fast quality with the given font and color. |
void |
SDLTrueTypeFont.setFontStyle(int style)
Set the rendering style of the loaded font. |
Uses of SDLException in sdljava.video |
---|
Methods in sdljava.video that throw SDLException | |
---|---|
int |
SDLSurface.blitSurface(SDLRect src,
SDLSurface dstSurface,
SDLRect dst)
This performs a fast blit from the source surface to the destination surface. |
int |
SDLSurface.blitSurface(SDLSurface dstSurface)
|
int |
SDLSurface.blitSurface(SDLSurface dstSurface,
SDLRect dst)
|
SDLSurface |
SDLSurface.convertSurface(SDLPixelFormat fmt,
long flags)
Creates a new surface of the specified format, and then copies and maps the given surface to it so the blit of the converted surface will be as fast as possible. |
static SDLSurface |
SDLVideo.createRGBSurface(long flags,
int width,
int height,
int depth,
long rMask,
long gMask,
long bMask,
long aMask)
Allocate and free an RGB surface (must be called after SDL_SetVideoMode) If the depth is 4 or 8 bits, an empty palette is allocated for the surface. |
static SDLSurface |
SDLVideo.createRGBSurfaceFrom(int[] pixels,
int width,
int height,
int depth,
int pitch,
long rMask,
long gMask,
long bMask,
long aMask)
Create an SDL_Surface from pixel data |
SDLSurface |
SDLSurface.displayFormat()
This function takes a surface and copies it to a new surface of the pixel format and colors of the video framebuffer, suitable for fast blitting onto the display surface. |
SDLSurface |
SDLSurface.displayFormatAlpha()
This function takes a surface and copies it to a new surface of the pixel format and colors of the video framebuffer (if possible), suitable for fast alpha blitting onto the display surface. |
void |
SDLSurface.fillRect(long color)
Fill the entire surface area with color |
void |
SDLSurface.fillRect(SDLRect dstrect,
long color)
This function performs a fast fill of the given rectangle with 'color' The given rectangle is clipped to the destination surface clip area and the final fill rectangle is saved in the passed in pointer. |
void |
SDLSurface.flip()
On hardware that supports double-buffering, this function sets up a flip and returns. |
void |
SDLSurface.freeSurface()
Frees (deletes) a SDL_Surface |
SDLRect |
SDLSurface.getClipRect()
|
static GammaTable |
SDLVideo.getGammaRamp()
Retrieve the current values of the gamma translation tables. |
GL |
SDLSurface.getGL()
Get the OPEN GL Context. |
static SDLColor |
SDLVideo.getRGB(int pixel,
SDLPixelFormat fmt)
Maps a pixel value into the RGB components for a given pixel format This function uses the entire 8-bit [0..255] range when converting color components from pixel formats with less than 8-bits per RGB component (e.g., a completely white pixel in 16-bit RGB565 format would return [0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8]). |
static SDLColor |
SDLVideo.getRGBA(int pixel,
SDLPixelFormat fmt)
Maps a pixel value into the RGBA components for a given pixel format This function uses the entire 8-bit [0..255] range when converting color components from pixel formats with less than 8-bits per RGB component (e.g., a completely white pixel in 16-bit RGB565 format would return [0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8]). |
static SDLVideoInfo |
SDLVideo.getVideoInfo()
This function returns information about the video hardware. |
static SDLSurface |
SDLVideo.getVideoSurface()
This function returns the current display surface. |
static SDLSurface |
SDLVideo.loadBMP(java.lang.String path)
Load a surface from a BMP file located at path. |
boolean |
SDLSurface.lockSurface()
SDL_LockSurface() sets up a surface for directly accessing the pixels. |
long |
SDLSurface.mapRGB(int r,
int g,
int b)
Maps an RGB triple to an opaque pixel value for a given pixel format If the format has a palette (8-bit) the index of the closest matching color in the palette will be returned. |
static long |
SDLVideo.mapRGB(SDLPixelFormat format,
int r,
int g,
int b)
Maps an RGB triple to an opaque pixel value for a given pixel format If the format has a palette (8-bit) the index of the closest matching color in the palette will be returned. |
long |
SDLSurface.mapRGBA(int r,
int g,
int b,
int a)
Maps an RGBA quadruple to a pixel value for a given pixel format If the format has a palette (8-bit) the index of the closest matching color in the palette will be returned. |
static long |
SDLVideo.mapRGBA(SDLPixelFormat format,
int r,
int g,
int b,
int a)
Maps an RGBA quadruple to a pixel value for a given pixel format If the format has a palette (8-bit) the index of the closest matching color in the palette will be returned. |
void |
SDLSurface.saveBMP(java.lang.String path)
Save this surface as a BMP to the given path |
void |
SDLSurface.setAlpha(long flag,
int alpha)
This function sets the alpha value for the entire surface, as opposed to using the alpha component of each pixel. |
void |
SDLSurface.setClipRect(SDLRect rect)
Sets the clipping rectangle for the destination surface in a blit. |
void |
SDLSurface.setColorKey(long flag,
long key)
Sets the color key (transparent pixel) in a blittable surface and enables or disables RLE blit acceleration. |
void |
SDLSurface.setColors(SDLColor[] colors)
Sets a portion of the colormap for the given 8-bit surface. |
static void |
SDLVideo.setGamma(float red,
float green,
float blue)
Set the gamma correction for each of the color channels. |
static void |
SDLVideo.setGammaRamp(int[] red,
int[] green,
int[] blue)
Set the gamma translation table for the red, green, and blue channels of the video hardware. |
boolean |
SDLSurface.setPalette(int flags,
SDLColor[] colors)
Sets a portion of the palette for the given 8-bit surface. |
static SDLSurface |
SDLVideo.setVideoMode(int width,
int height,
int bpp,
long flags)
Set up a video mode with the specified width, height and bits-per-pixel. |
void |
SDLSurface.unlockSurface()
Unlock the surface. |
void |
SDLSurface.updateRect()
Update the entire screen, calls updateRect(0,0,0,0) |
void |
SDLSurface.updateRect(int x,
int y,
long w,
long h)
Makes sure the given area is updated on the given screen. |
void |
SDLSurface.updateRect(SDLRect r)
Makes sure the given area is updated on the given screen. |
static java.lang.String |
SDLVideo.videoDriverName()
Obtain the name of the video driver |
static int |
SDLVideo.videoModeOK(int width,
int height,
int bpp,
int flags)
Check to see if a particular video mode is supported. |
static void |
SDLVideo.warpMouse(int x,
int y)
Set the position of the mouse cursor (generates a mouse motion event). |
Uses of SDLException in sdljavax.gfx |
---|
Methods in sdljavax.gfx that throw SDLException | |
---|---|
static int |
SDLGfx.bezierColor(SDLSurface dst,
java.nio.ShortBuffer vx,
java.nio.ShortBuffer vy,
short s,
long color)
bezierColor |
static SDLSurface |
SDLGfx.rotozoomSurface(SDLSurface src,
double angle,
double zoom,
boolean smooth)
Rotates and zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface. |
static java.awt.Dimension |
SDLGfx.rotozoomSurfaceSize(int width,
int height,
double angle,
double zoom)
Compute the size that would be required to hold the surface after the zoom |
static SDLSurface |
SDLGfx.zoomSurface(SDLSurface src,
double zoomx,
double zoomy,
boolean smooth)
Zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface. |
static java.awt.Dimension |
SDLGfx.zoomSurfaceSize(int width,
int height,
double zoomx,
double zoomy)
Compute the size that would be required to hold the surface after the zoom |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |