//============================================================================== void initialise (const String& commandLine) { // just create the main window... theMainWindow = new MainDPCWindow(); theMainWindow->centreWithSize (340, 400); theMainWindow->setVisible (true); // this little function just demonstrates a few system info calls Logger::outputDebugString (collectSomeSystemInfo()); /* on return from this method, the app will go into its the main event dispatch loop, and this will run until something calls JUCEAppliction::quit(). In this case, JUCEAppliction::quit() will be called by the demo window when the user clicks on its close button. */ }
//============================================================================== void initialise (const String& /*commandLine*/) { #if JUCE_IOS || JUCE_ANDROID theMainWindow.setVisible (true); theMainWindow.setFullScreen (true); #else theMainWindow.centreWithSize (700, 600); theMainWindow.setVisible (true); #endif // this little function just demonstrates a few system info calls Logger::outputDebugString (collectSomeSystemInfo()); /* on return from this method, the app will go into its the main event dispatch loop, and this will run until something calls JUCEAppliction::quit(). In this case, JUCEAppliction::quit() will be called by the demo window when the user clicks on its close button. */ }