!7 set flag GazelleMain. !include early #1035306 // "need latest" Include // 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 !include once #1035461 // Gazelle 22 Class synonyms Include module GazelleScreenCam is G22ProjectActions { !include early #1025212 // +Enabled without visualization { enabled = false; } transient static bool autoRunSelfTests = false; new SnPSettings screenCamSnPSettings; settableWithVar bool screenCamShowDecolorizerSelection; S script = "64p 8c gradientImage"; settableWithVar S newScript; S screenCamScript; S selectedTab; S javaCode; bool horizontalLayout; // flat layout int fpsTarget = 20; S webCamName; bool webCamAccessEnabled = true; // libraries to load when project is opened gettable Set projectLibs = syncSet(); G22WatchTarget 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; new 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 gettable Concepts concepts; S uiURL = "Main Tabs"; transient SimpleCRUD_v2