!7 need latest area. // We're banning db_mainConcepts() again to allow multiple databases loaded at once // !transpileMainSnippet #1033860 !include once #1033998 // RSyntaxTextArea !include once #1013490 // sarxos webcam !include early #1034876 // Gazelle 22 Flags [Include] !include early #1033884 // Compact Module Include Gazelle V [dev version] !include once #1034034 // Gazelle 22 Function Include for Scripts rewrite Challenge to G22Challenge. rewrite Label to G22Label. rewrite GalleryImage to G22GalleryImage. module GazelleScreenCam is G22ProjectActions { !include early #1025212 // +Enabled without visualization { enabled = false; } transient static bool autoRunSelfTests = true; int pixelRows = 128, colors = 8; S script = "64p 8c gradientImage"; S newScript; S screenCamScript; S selectedTab; S javaCode; bool horizontalLayout; // flat layout int fpsTarget = 20; S webCamName; bool webCamAccessEnabled = true; WatchTarget watchTarget; new G22_TestScreenPanel testScreen; // The following fields related to the screen cam panel transient ImageSurface isPosterized; transient new ScreenCamStream imageStream; transient Gazelle22_ImageToRegions imageToRegions_finished; transient new DoubleFPSCounter fpsCounter; transient int fps; transient WatchTargetSelector watchTargetSelector; transient new RollingAverage remainingMSPerFrame; transient int remainingMS; // End of fields for screen cam panel transient new FunctionTimings functionTimings; transient ReliableSingleThread rstRunScript = dm_rst(me(), r _runScript); transient JGazelleVScriptRunner scriptRunner; transient UIURLSystem uiURLs; //transient L availableWebCams; transient JComboBox cbWebCam; transient SingleComponentPanel scpWebCamImage; transient WebcamPanel webCamPanel; transient JLeftArrowScriptIDE screenCamScriptIDE; transient GazelleV_LeftArrowScript.Script runningScreenCamScript; // set by host transient Concepts concepts; S uiURL = "Main Tabs"; transient FileWatchService fileWatcher; transient SimpleCRUD_v2