sdl_qtopia_main.cc

来自「Simple DirectMedia Layer - Simple Direct」· CC 代码 · 共 26 行

CC
26
字号
/* Include the SDL main definition header */#include "SDL_main.h"#ifdef main#undef main#endif#ifdef QWS#include <qpe/qpeapplication.h>#endifextern int SDL_main(int argc, char *argv[]);int main(int argc, char *argv[]){#ifdef QWS  // This initializes the Qtopia application. It needs to be done here  // because it parses command line options.  QPEApplication app(argc, argv);  QWidget dummy;  app.showMainWidget(&dummy);#endif  // Exit here because if return is used, the application  // doesn't seem to quit correctly.  exit(SDL_main(argc, argv));}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?