sdljava.x.swig

Class SWIG_SDLVideo

public class SWIG_SDLVideo extends Object implements SWIG_SDLVideoConstants

Method Summary
static SDL_SurfaceSDL_ConvertSurface(SDL_Surface src, SDL_PixelFormat fmt, long flags)
static SWIGTYPE_p_SDL_CursorSDL_CreateCursor(SWIGTYPE_p_unsigned_char data, SWIGTYPE_p_unsigned_char mask, int w, int h, int hot_x, int hot_y)
static SDL_SurfaceSDL_CreateRGBSurface(long flags, int width, int height, int depth, long Rmask, long Gmask, long Bmask, long Amask)
static SDL_SurfaceSDL_DisplayFormat(SDL_Surface surface)
static SDL_SurfaceSDL_DisplayFormatAlpha(SDL_Surface surface)
static intSDL_Flip(SDL_Surface screen)
static voidSDL_FreeSurface(SDL_Surface surface)
static voidSDL_GetClipRect(SDL_Surface surface, SDL_Rect rect)
static intSDL_GetGammaRamp(int[] arg0, int[] arg1, int[] arg2)
static voidSDL_GetRGB(long pixel, SDL_PixelFormat fmt, short[] arg2, short[] arg3, short[] arg4)
static voidSDL_GetRGBA(long pixel, SDL_PixelFormat fmt, short[] arg2, short[] arg3, short[] arg4, short[] arg5)
static SDL_VideoInfoSDL_GetVideoInfo()
static SDL_SurfaceSDL_GetVideoSurface()
static intSDL_GL_GetAttribute(SDL_GLattr attr, SWIGTYPE_p_int value)
static intSDL_GL_LoadLibrary(String path)
static voidSDL_GL_Lock()
static intSDL_GL_SetAttribute(SDL_GLattr attr, int value)
static voidSDL_GL_SwapBuffers()
static voidSDL_GL_Unlock()
static voidSDL_GL_UpdateRects(int numrects, SDL_Rect rects)
static SWIGTYPE_p_p_SDL_RectSDL_ListModes(SDL_PixelFormat format, long flags)
static intSDL_LockSurface(SDL_Surface surface)
static longSDL_MapRGB(SDL_PixelFormat format, short r, short g, short b)
static longSDL_MapRGBA(SDL_PixelFormat format, short r, short g, short b, short a)
static intSDL_SetAlpha(SDL_Surface surface, long flag, short alpha)
static intSDL_SetColorKey(SDL_Surface surface, long flag, long key)
static intSDL_SetColors(SDL_Surface surface, SDL_Color colors, int firstcolor, int ncolors)
static intSDL_SetGamma(float red, float green, float blue)
static intSDL_SetPalette(SDL_Surface surface, int flags, SDL_Color colors, int firstcolor, int ncolors)
static SDL_SurfaceSDL_SetVideoMode(int width, int height, int bpp, long flags)
static voidSDL_UnlockSurface(SDL_Surface surface)
static voidSDL_UpdateRect(SDL_Surface screen, int x, int y, long w, long h)
static voidSDL_UpdateRects(SDL_Surface screen, int numrects, SDL_Rect rects)
static StringSDL_VideoDriverName(String namebuf, int maxlen)
static intSDL_VideoModeOK(int width, int height, int bpp, long flags)
static voidSDL_WarpMouse(int x, int y)
static intSDL_WM_GrabInput(int mode)
static intSDL_WM_IconifyWindow()
static voidSDL_WM_SetCaption(String title, String icon)
static voidSDL_WM_SetIcon(SDL_Surface icon, short INPUT)
static intSDL_WM_ToggleFullScreen(SDL_Surface surface)
static voidSWIG_executeBlitQueue(Buffer vsrcX, Buffer vsrcY, Buffer vsrcWidth, Buffer vsrcHeight, SDL_Surface src, Buffer vdstX, Buffer vdstY, Buffer vdstWidth, Buffer vdstHeight, SDL_Surface dst, int count)
static ObjectSWIG_getPixelDirectByteBuffer(SDL_Surface surface)
static voidSWIG_GetPaletteColors(SDL_Palette palette, SDL_Color[] colors)
static voidSWIG_GetPixelData16(SDL_Surface surface, int[] pixelData)
static voidSWIG_GetPixelData32(SDL_Surface surface, long[] pixelData)
static voidSWIG_GetPixelData8(SDL_Surface surface, short[] pixelData)
static intSWIG_SDL_BlitSurface_FAST(SDL_Surface src, int sX, int sY, int sWidth, int sHeight, SDL_Surface dst, int dX, int dY, int dWidth, int dHeight)
static SDL_SurfaceSWIG_SDL_CreateRGBSurfaceFrom(int[] pixels, int width, int height, int depth, int pitch, long Rmask, long Gmask, long bMask, long aMask)
static intSWIG_SDL_FillRect_FAST(SDL_Surface dst, int x, int y, int w, int h, long color)
static SDL_SurfaceSWIG_SDL_LoadBMP(String file)
static intSWIG_SDL_MUSTLOCK(SDL_Surface surface)
static intSWIG_SDL_SaveBMP(SDL_Surface surface, String file)
static intSWIG_SDL_SetClipRect(SDL_Surface surface, SDL_Rect rect)
static intSWIG_SDL_SetColors(SDL_Surface surface, SDL_Color[] colors, int firstcolor, int ncolors)
static intSWIG_SDL_SetGammaRamp(int[] red, int[] green, int[] blue)
static intSWIG_SDL_SetPalette(SDL_Surface surface, int flags, SDL_Color[] colors, int firstcolor, int ncolors)
static voidSWIG_SDL_WM_GetCaption(String arg0, String arg1)
static voidSWIG_SetPixelData16(SDL_Surface surface, int[] pixelData)
static voidSWIG_SetPixelData32(SDL_Surface surface, long[] pixelData)
static voidSWIG_SetPixelData8(SDL_Surface surface, short[] pixelData)

Method Detail

SDL_ConvertSurface

public static SDL_Surface SDL_ConvertSurface(SDL_Surface src, SDL_PixelFormat fmt, long flags)

SDL_CreateCursor

public static SWIGTYPE_p_SDL_Cursor SDL_CreateCursor(SWIGTYPE_p_unsigned_char data, SWIGTYPE_p_unsigned_char mask, int w, int h, int hot_x, int hot_y)

SDL_CreateRGBSurface

public static SDL_Surface SDL_CreateRGBSurface(long flags, int width, int height, int depth, long Rmask, long Gmask, long Bmask, long Amask)

SDL_DisplayFormat

public static SDL_Surface SDL_DisplayFormat(SDL_Surface surface)

SDL_DisplayFormatAlpha

public static SDL_Surface SDL_DisplayFormatAlpha(SDL_Surface surface)

SDL_Flip

public static int SDL_Flip(SDL_Surface screen)

SDL_FreeSurface

public static void SDL_FreeSurface(SDL_Surface surface)

SDL_GetClipRect

public static void SDL_GetClipRect(SDL_Surface surface, SDL_Rect rect)

SDL_GetGammaRamp

public static int SDL_GetGammaRamp(int[] arg0, int[] arg1, int[] arg2)

SDL_GetRGB

public static void SDL_GetRGB(long pixel, SDL_PixelFormat fmt, short[] arg2, short[] arg3, short[] arg4)

SDL_GetRGBA

public static void SDL_GetRGBA(long pixel, SDL_PixelFormat fmt, short[] arg2, short[] arg3, short[] arg4, short[] arg5)

SDL_GetVideoInfo

public static SDL_VideoInfo SDL_GetVideoInfo()

SDL_GetVideoSurface

public static SDL_Surface SDL_GetVideoSurface()

SDL_GL_GetAttribute

public static int SDL_GL_GetAttribute(SDL_GLattr attr, SWIGTYPE_p_int value)

SDL_GL_LoadLibrary

public static int SDL_GL_LoadLibrary(String path)

SDL_GL_Lock

public static void SDL_GL_Lock()

SDL_GL_SetAttribute

public static int SDL_GL_SetAttribute(SDL_GLattr attr, int value)

SDL_GL_SwapBuffers

public static void SDL_GL_SwapBuffers()

SDL_GL_Unlock

public static void SDL_GL_Unlock()

SDL_GL_UpdateRects

public static void SDL_GL_UpdateRects(int numrects, SDL_Rect rects)

SDL_ListModes

public static SWIGTYPE_p_p_SDL_Rect SDL_ListModes(SDL_PixelFormat format, long flags)

SDL_LockSurface

public static int SDL_LockSurface(SDL_Surface surface)

SDL_MapRGB

public static long SDL_MapRGB(SDL_PixelFormat format, short r, short g, short b)

SDL_MapRGBA

public static long SDL_MapRGBA(SDL_PixelFormat format, short r, short g, short b, short a)

SDL_SetAlpha

public static int SDL_SetAlpha(SDL_Surface surface, long flag, short alpha)

SDL_SetColorKey

public static int SDL_SetColorKey(SDL_Surface surface, long flag, long key)

SDL_SetColors

public static int SDL_SetColors(SDL_Surface surface, SDL_Color colors, int firstcolor, int ncolors)

SDL_SetGamma

public static int SDL_SetGamma(float red, float green, float blue)

SDL_SetPalette

public static int SDL_SetPalette(SDL_Surface surface, int flags, SDL_Color colors, int firstcolor, int ncolors)

SDL_SetVideoMode

public static SDL_Surface SDL_SetVideoMode(int width, int height, int bpp, long flags)

SDL_UnlockSurface

public static void SDL_UnlockSurface(SDL_Surface surface)

SDL_UpdateRect

public static void SDL_UpdateRect(SDL_Surface screen, int x, int y, long w, long h)

SDL_UpdateRects

public static void SDL_UpdateRects(SDL_Surface screen, int numrects, SDL_Rect rects)

SDL_VideoDriverName

public static String SDL_VideoDriverName(String namebuf, int maxlen)

SDL_VideoModeOK

public static int SDL_VideoModeOK(int width, int height, int bpp, long flags)

SDL_WarpMouse

public static void SDL_WarpMouse(int x, int y)

SDL_WM_GrabInput

public static int SDL_WM_GrabInput(int mode)

SDL_WM_IconifyWindow

public static int SDL_WM_IconifyWindow()

SDL_WM_SetCaption

public static void SDL_WM_SetCaption(String title, String icon)

SDL_WM_SetIcon

public static void SDL_WM_SetIcon(SDL_Surface icon, short INPUT)

SDL_WM_ToggleFullScreen

public static int SDL_WM_ToggleFullScreen(SDL_Surface surface)

SWIG_executeBlitQueue

public static void SWIG_executeBlitQueue(Buffer vsrcX, Buffer vsrcY, Buffer vsrcWidth, Buffer vsrcHeight, SDL_Surface src, Buffer vdstX, Buffer vdstY, Buffer vdstWidth, Buffer vdstHeight, SDL_Surface dst, int count)

SWIG_getPixelDirectByteBuffer

public static Object SWIG_getPixelDirectByteBuffer(SDL_Surface surface)

SWIG_GetPaletteColors

public static void SWIG_GetPaletteColors(SDL_Palette palette, SDL_Color[] colors)

SWIG_GetPixelData16

public static void SWIG_GetPixelData16(SDL_Surface surface, int[] pixelData)

SWIG_GetPixelData32

public static void SWIG_GetPixelData32(SDL_Surface surface, long[] pixelData)

SWIG_GetPixelData8

public static void SWIG_GetPixelData8(SDL_Surface surface, short[] pixelData)

SWIG_SDL_BlitSurface_FAST

public static int SWIG_SDL_BlitSurface_FAST(SDL_Surface src, int sX, int sY, int sWidth, int sHeight, SDL_Surface dst, int dX, int dY, int dWidth, int dHeight)

SWIG_SDL_CreateRGBSurfaceFrom

public static SDL_Surface SWIG_SDL_CreateRGBSurfaceFrom(int[] pixels, int width, int height, int depth, int pitch, long Rmask, long Gmask, long bMask, long aMask)

SWIG_SDL_FillRect_FAST

public static int SWIG_SDL_FillRect_FAST(SDL_Surface dst, int x, int y, int w, int h, long color)

SWIG_SDL_LoadBMP

public static SDL_Surface SWIG_SDL_LoadBMP(String file)

SWIG_SDL_MUSTLOCK

public static int SWIG_SDL_MUSTLOCK(SDL_Surface surface)

SWIG_SDL_SaveBMP

public static int SWIG_SDL_SaveBMP(SDL_Surface surface, String file)

SWIG_SDL_SetClipRect

public static int SWIG_SDL_SetClipRect(SDL_Surface surface, SDL_Rect rect)

SWIG_SDL_SetColors

public static int SWIG_SDL_SetColors(SDL_Surface surface, SDL_Color[] colors, int firstcolor, int ncolors)

SWIG_SDL_SetGammaRamp

public static int SWIG_SDL_SetGammaRamp(int[] red, int[] green, int[] blue)

SWIG_SDL_SetPalette

public static int SWIG_SDL_SetPalette(SDL_Surface surface, int flags, SDL_Color[] colors, int firstcolor, int ncolors)

SWIG_SDL_WM_GetCaption

public static void SWIG_SDL_WM_GetCaption(String arg0, String arg1)

SWIG_SetPixelData16

public static void SWIG_SetPixelData16(SDL_Surface surface, int[] pixelData)

SWIG_SetPixelData32

public static void SWIG_SetPixelData32(SDL_Surface surface, long[] pixelData)

SWIG_SetPixelData8

public static void SWIG_SetPixelData8(SDL_Surface surface, short[] pixelData)