Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:gspfldr:12pgs023

jsbasicslideshow

Demonstrates a basic slideshow (a Jumpstart program).

Synopsis

jsbasicslideshow <scriptfilename> [-a <n>]

Description

Basic slideshow which loads and displays image files.

Outline of functionality:

  • Read a list of image filenames
  • Load a pair of buffers with the first two images in the list
  • Show the first image in the list
  • Respond to control pad input: Right and down arrows mean show next image in list Left and up arrows mean show previous image in list Start button means quit the program B button means show the other buffer C button means toggle automatic display mode

Arguments

  • scriptfilename Name of file listing images to display, one name per line.
  • -a Set auto-show mode, displaying each image for n seconds.

Associated Files

jsbasicslideshow.c, jsbasicslideshow.make, jsbasicslideshow.h.

Location

examples/Jumpstart/Jumpstart2/jsslideshow

documentation/development/opera/pf25/ppgfldr/smmfldr/gspfldr/12pgs023.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1