Package org.yajsdl.jna

Examples of org.yajsdl.jna.SDL_Surface


    @Test
    public void notSetVideoMode() {
        assertEquals( Screen.videoModeOK( 0, 0, 0, 0 ), 0 );
        Screen screen = Screen.setVideoMode( 0, 0, 0, 0 );
        SDL_Surface content = screen.toSource();

        assertNotNull( content );

        System.out.format( "screen.width = %d\n", content.w );
        System.out.format( "screen.height = %d\n", content.h );
View Full Code Here

TOP

Related Classes of org.yajsdl.jna.SDL_Surface

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.