Added Qt style command line options to help printout.
This commit is contained in:
parent
f4da749a44
commit
e38793f352
|
@ -6,6 +6,7 @@
|
|||
#include <limits.h>
|
||||
#include <unzip.h>
|
||||
|
||||
#include <QStyleFactory>
|
||||
#include "Qt/main.h"
|
||||
#include "Qt/throttle.h"
|
||||
#include "Qt/config.h"
|
||||
|
@ -439,6 +440,7 @@ static const char *DriverUsage =
|
|||
|
||||
static void ShowUsage(const char *prog)
|
||||
{
|
||||
int i,j;
|
||||
printf("\nUsage is as follows:\n%s <options> filename\n\n",prog);
|
||||
puts(DriverUsage);
|
||||
#ifdef _S9XLUA_H
|
||||
|
@ -448,6 +450,22 @@ static void ShowUsage(const char *prog)
|
|||
puts ("--videolog c Calls mencoder to grab the video and audio streams to\n encode them. Check the documentation for more on this.");
|
||||
puts ("--mute {0|1} Mutes FCEUX while still passing the audio stream to\n mencoder during avi creation.");
|
||||
#endif
|
||||
puts ("--style=KEY Use Qt GUI Style based on supplied key. Available style keys are:\n");
|
||||
|
||||
QStringList styleList = QStyleFactory::keys();
|
||||
|
||||
j=0;
|
||||
for (i=0; i<styleList.size(); i++)
|
||||
{
|
||||
printf(" %16s ", styleList[i].toStdString().c_str() ); j++;
|
||||
|
||||
if ( j >= 4 )
|
||||
{
|
||||
printf("\n"); j=0;
|
||||
}
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
puts("");
|
||||
printf("Compiled with SDL version %d.%d.%d\n", SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL );
|
||||
SDL_version v;
|
||||
|
|
Loading…
Reference in New Issue