39
39
static const unsigned int MAX_CLIPS = 10;
40
40
static const int DEFAULT_CAPTURE_WIDTH = 640;
41
41
static const int DEFAULT_CAPTURE_HEIGHT = 480;
42
// TODO:2010-10-15:aalex:Internationalize the help text.
43
static const std::string INTERACTIVE_HELP(
44
"Toonloop interactive controls:"
45
"\n Space: Grab a single image."
46
"\n Escape: Switch fullscreen mode."
47
"\n Delete: Erase the last captured frame."
49
"\n Page-down: Switch to the next clip."
50
"\n Page-up: Switch to the previous clip."
51
"\n Number from 0 to 9: Switch to a specific clip."
52
"\n Ctrl-number: Switch to a specific layout."
53
"\n s: Save the current clip as a movie file."
54
"\n period (.): Toggle the layout."
55
"\n Tab: Change the playback direction."
56
"\n r: Clear the current clip."
57
"\n Caps lock: Toggle video grabbing."
58
"\n a: Toggle on/off the intervalometer."
59
"\n k: Increase the intervalometer interval by 1 second."
60
"\n j: Decrease the intervalometer interval by 1 second."
61
"\n Right: Move writehead to the next image."
62
"\n Left: Move writehead to the previous image."
63
"\n Return: Move writehead to the last image."
64
"\n semicolon (;): Move writehead to the first image."
65
"\n o: Enable/disable onion skinning."
66
"\n (): Decrease/increase frame blending in playback layout."
67
"\n []: Increase/decrease opacity of the live input image in the overlay layout."
43
71
/** The Application class: starts Toonloop.