sdljava.x.swig
Class SWIG_SDLVideo

java.lang.Object
  extended by sdljava.x.swig.SWIG_SDLVideo
All Implemented Interfaces:
SWIG_SDLVideoConstants

public class SWIG_SDLVideo
extends java.lang.Object
implements SWIG_SDLVideoConstants


Field Summary
 
Fields inherited from interface sdljava.x.swig.SWIG_SDLVideoConstants
SDL_ALPHA_OPAQUE, SDL_ALPHA_TRANSPARENT, SDL_ANYFORMAT, SDL_ASYNCBLIT, SDL_DOUBLEBUF, SDL_FULLSCREEN, SDL_HWACCEL, SDL_HWPALETTE, SDL_HWSURFACE, SDL_IYUV_OVERLAY, SDL_LOGPAL, SDL_NOFRAME, SDL_OPENGL, SDL_OPENGLBLIT, SDL_PHYSPAL, SDL_PREALLOC, SDL_RESIZABLE, SDL_RLEACCEL, SDL_RLEACCELOK, SDL_SRCALPHA, SDL_SRCCOLORKEY, SDL_SWSURFACE, SDL_UYVY_OVERLAY, SDL_YUY2_OVERLAY, SDL_YV12_OVERLAY, SDL_YVYU_OVERLAY
 
Constructor Summary
SWIG_SDLVideo()
           
 
Method Summary
static SDL_Surface SDL_ConvertSurface(SDL_Surface src, SDL_PixelFormat fmt, long flags)
           
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)
           
static SDL_Surface SDL_CreateRGBSurface(long flags, int width, int height, int depth, long Rmask, long Gmask, long Bmask, long Amask)
           
static SDL_Surface SDL_DisplayFormat(SDL_Surface surface)
           
static SDL_Surface SDL_DisplayFormatAlpha(SDL_Surface surface)
           
static int SDL_Flip(SDL_Surface screen)
           
static void SDL_FreeSurface(SDL_Surface surface)
           
static void SDL_GetClipRect(SDL_Surface surface, SDL_Rect rect)
           
static int SDL_GetGammaRamp(int[] arg0, int[] arg1, int[] arg2)
           
static void SDL_GetRGB(long pixel, SDL_PixelFormat fmt, short[] arg2, short[] arg3, short[] arg4)
           
static void SDL_GetRGBA(long pixel, SDL_PixelFormat fmt, short[] arg2, short[] arg3, short[] arg4, short[] arg5)
           
static SDL_VideoInfo SDL_GetVideoInfo()
           
static SDL_Surface SDL_GetVideoSurface()
           
static int SDL_GL_GetAttribute(SDL_GLattr attr, SWIGTYPE_p_int value)
           
static int SDL_GL_LoadLibrary(java.lang.String path)
           
static void SDL_GL_Lock()
           
static int SDL_GL_SetAttribute(SDL_GLattr attr, int value)
           
static void SDL_GL_SwapBuffers()
           
static void SDL_GL_Unlock()
           
static void SDL_GL_UpdateRects(int numrects, SDL_Rect rects)
           
static SWIGTYPE_p_p_SDL_Rect SDL_ListModes(SDL_PixelFormat format, long flags)
           
static int SDL_LockSurface(SDL_Surface surface)
           
static long SDL_MapRGB(SDL_PixelFormat format, short r, short g, short b)
           
static long SDL_MapRGBA(SDL_PixelFormat format, short r, short g, short b, short a)
           
static int SDL_SetAlpha(SDL_Surface surface, long flag, short alpha)
           
static int SDL_SetColorKey(SDL_Surface surface, long flag, long key)
           
static int SDL_SetColors(SDL_Surface surface, SDL_Color colors, int firstcolor, int ncolors)
           
static int SDL_SetGamma(float red, float green, float blue)
           
static int SDL_SetPalette(SDL_Surface surface, int flags, SDL_Color colors, int firstcolor, int ncolors)
           
static SDL_Surface SDL_SetVideoMode(int width, int height, int bpp, long flags)
           
static void SDL_UnlockSurface(SDL_Surface surface)
           
static void SDL_UpdateRect(SDL_Surface screen, int x, int y, long w, long h)
           
static void SDL_UpdateRects(SDL_Surface screen, int numrects, SDL_Rect rects)
           
static java.lang.String SDL_VideoDriverName(java.lang.String namebuf, int maxlen)
           
static int SDL_VideoModeOK(int width, int height, int bpp, long flags)
           
static void SDL_WarpMouse(int x, int y)
           
static int SDL_WM_GrabInput(int mode)
           
static int SDL_WM_IconifyWindow()
           
static void SDL_WM_SetCaption(java.lang.String title, java.lang.String icon)
           
static void SDL_WM_SetIcon(SDL_Surface icon, short INPUT)
           
static int SDL_WM_ToggleFullScreen(SDL_Surface surface)
           
static void SWIG_executeBlitQueue(java.nio.Buffer vsrcX, java.nio.Buffer vsrcY, java.nio.Buffer vsrcWidth, java.nio.Buffer vsrcHeight, SDL_Surface src, java.nio.Buffer vdstX, java.nio.Buffer vdstY, java.nio.Buffer vdstWidth, java.nio.Buffer vdstHeight, SDL_Surface dst, int count)
           
static void SWIG_GetPaletteColors(SDL_Palette palette, SDL_Color[] colors)
           
static void SWIG_GetPixelData16(SDL_Surface surface, int[] pixelData)
           
static void SWIG_GetPixelData32(SDL_Surface surface, long[] pixelData)
           
static void SWIG_GetPixelData8(SDL_Surface surface, short[] pixelData)
           
static java.lang.Object SWIG_getPixelDirectByteBuffer(SDL_Surface surface)
           
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)
           
static SDL_Surface SWIG_SDL_CreateRGBSurfaceFrom(int[] pixels, int width, int height, int depth, int pitch, long Rmask, long Gmask, long bMask, long aMask)
           
static int SWIG_SDL_FillRect_FAST(SDL_Surface dst, int x, int y, int w, int h, long color)
           
static SDL_Surface SWIG_SDL_LoadBMP(java.lang.String file)
           
static int SWIG_SDL_MUSTLOCK(SDL_Surface surface)
           
static int SWIG_SDL_SaveBMP(SDL_Surface surface, java.lang.String file)
           
static int SWIG_SDL_SetClipRect(SDL_Surface surface, SDL_Rect rect)
           
static int SWIG_SDL_SetColors(SDL_Surface surface, SDL_Color[] colors, int firstcolor, int ncolors)
           
static int SWIG_SDL_SetGammaRamp(int[] red, int[] green, int[] blue)
           
static int SWIG_SDL_SetPalette(SDL_Surface surface, int flags, SDL_Color[] colors, int firstcolor, int ncolors)
           
static void SWIG_SDL_WM_GetCaption(java.lang.String arg0, java.lang.String arg1)
           
static void SWIG_SetPixelData16(SDL_Surface surface, int[] pixelData)
           
static void SWIG_SetPixelData32(SDL_Surface surface, long[] pixelData)
           
static void SWIG_SetPixelData8(SDL_Surface surface, short[] pixelData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWIG_SDLVideo

public SWIG_SDLVideo()
Method Detail

SDL_VideoDriverName

public static java.lang.String SDL_VideoDriverName(java.lang.String namebuf,
                                                   int maxlen)

SDL_GetVideoSurface

public static SDL_Surface SDL_GetVideoSurface()

SDL_GetVideoInfo

public static SDL_VideoInfo SDL_GetVideoInfo()

SDL_VideoModeOK

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

SDL_ListModes

public static SWIGTYPE_p_p_SDL_Rect SDL_ListModes(SDL_PixelFormat format,
                                                  long flags)

SDL_SetVideoMode

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

SDL_UpdateRects

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

SDL_UpdateRect

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

SDL_Flip

public static int SDL_Flip(SDL_Surface screen)

SDL_SetGamma

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

SDL_GetGammaRamp

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

SDL_SetColors

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

SDL_SetPalette

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

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_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_CreateRGBSurface

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

SDL_FreeSurface

public static void SDL_FreeSurface(SDL_Surface surface)

SDL_LockSurface

public static int SDL_LockSurface(SDL_Surface surface)

SDL_UnlockSurface

public static void SDL_UnlockSurface(SDL_Surface surface)

SDL_SetColorKey

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

SDL_SetAlpha

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

SWIG_SDL_SetClipRect

public static int SWIG_SDL_SetClipRect(SDL_Surface surface,
                                       SDL_Rect rect)

SDL_GetClipRect

public static void SDL_GetClipRect(SDL_Surface surface,
                                   SDL_Rect rect)

SDL_ConvertSurface

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

SDL_DisplayFormat

public static SDL_Surface SDL_DisplayFormat(SDL_Surface surface)

SDL_DisplayFormatAlpha

public static SDL_Surface SDL_DisplayFormatAlpha(SDL_Surface surface)

SDL_WarpMouse

public static void SDL_WarpMouse(int x,
                                 int y)

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_GL_LoadLibrary

public static int SDL_GL_LoadLibrary(java.lang.String path)

SDL_GL_SetAttribute

public static int SDL_GL_SetAttribute(SDL_GLattr attr,
                                      int value)

SDL_GL_GetAttribute

public static int SDL_GL_GetAttribute(SDL_GLattr attr,
                                      SWIGTYPE_p_int value)

SDL_GL_SwapBuffers

public static void SDL_GL_SwapBuffers()

SDL_GL_UpdateRects

public static void SDL_GL_UpdateRects(int numrects,
                                      SDL_Rect rects)

SDL_GL_Lock

public static void SDL_GL_Lock()

SDL_GL_Unlock

public static void SDL_GL_Unlock()

SDL_WM_SetCaption

public static void SDL_WM_SetCaption(java.lang.String title,
                                     java.lang.String icon)

SWIG_SDL_WM_GetCaption

public static void SWIG_SDL_WM_GetCaption(java.lang.String arg0,
                                          java.lang.String arg1)

SDL_WM_SetIcon

public static void SDL_WM_SetIcon(SDL_Surface icon,
                                  short INPUT)

SDL_WM_IconifyWindow

public static int SDL_WM_IconifyWindow()

SDL_WM_ToggleFullScreen

public static int SDL_WM_ToggleFullScreen(SDL_Surface surface)

SDL_WM_GrabInput

public static int SDL_WM_GrabInput(int mode)

SWIG_SDL_LoadBMP

public static SDL_Surface SWIG_SDL_LoadBMP(java.lang.String file)

SWIG_SDL_SaveBMP

public static int SWIG_SDL_SaveBMP(SDL_Surface surface,
                                   java.lang.String file)

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_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_SetColors

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

SWIG_SDL_SetPalette

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

SWIG_GetPaletteColors

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

SWIG_SDL_SetGammaRamp

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

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_GetPixelData32

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

SWIG_GetPixelData16

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

SWIG_GetPixelData8

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

SWIG_SetPixelData32

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

SWIG_SetPixelData16

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

SWIG_SetPixelData8

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

SWIG_executeBlitQueue

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

SWIG_SDL_MUSTLOCK

public static int SWIG_SDL_MUSTLOCK(SDL_Surface surface)

SWIG_getPixelDirectByteBuffer

public static java.lang.Object SWIG_getPixelDirectByteBuffer(SDL_Surface surface)