Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>gifshowvesa()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    gifShowVESA()

         Shows a GIF in VESA modes

    Syntax:

         gifShowVESA ( cFile ) -> lError

         cFile : Name of the GIF file

    Description:

         The GIF can be the size you want. Forget about the 64 kb
         limitation.
         It only works if a SVGA VESA compatible card exists in the system.
         The function does not wait for a key, nor restores the video
         mode, so this is left under the user's responsibility. This is
         very useful when you want to show various GIF and you don't
         want to get text mode between one and the other.
         This function works properly with GIF of less colours. It has
         been tested with GIFs of 640x400x256, 640x480x256, 800x600x256,
         1024x768x256 and 1280x1024x256.

    Return:

         .T. if all has gone well or .F. if the file is not found or the
         GIF format is incorrect.

    Example:

         If IsVESA()
           cFile    := "f:\xxx\car.gif"
           nOldMode := VideoMode()
           nNewMode := SearchVESA( cFile )
           If nNewMode != Nil
             VESAMode( nNewMode )
             If gifShowVESA ( cFile )
               Inkey(0)
             EndIf
             VideoMode ( nOldMode )
           EndIf
         EndIf

See Also: gifShow256() SearchVESA()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson