text: Provide script API for Stellarium global functions. More...
  #include <StelMainScriptAPI.hpp>
  Public slots in this class may be used in Stellarium scripts, and are accessed as member function to the "core" scripting object. Module-specific functions, such as setting and clearing of display flags (e.g. LandscapeMgr::setFlagAtmosphere) can be accessed directly via the scripting object with the class name, e.g. by using the scripting command: LandscapeMgr.setFlagAtmosphere(true);
  Preset states:
  You should do this before the end of your script.
  You should do this before the end of your script.
  Wrapper for StelSkyDrawer::getBortleScaleIndex
  "2008-03-24T13:21:01"
  "0h1m68.2s"
  The image is projected like a deep-sky object, with a notion for surface magnitude of the brightest parts. Transparent sections in the image are possibly rendered white, so make your image just RGB with black background. The black background covers the milky way, but is brightened by the Zodiacal light.
  "12d 14m 8s" or "5h 26m 8s" - formats accepted by StelUtils::getDecAngle()).
  Note that the edges will not be aligned with edges at center plus/minus size!
  Parameters are the same as the version of this function which takes double values for the lon and lat, except here text expressions of angles may be used.
  The move will run in AltAz coordinates. This will look different from moveToRaDec() when timelapse is fast. angles may be specified in a format recognised by StelUtils::getDecAngle()
  The move will run in equatorial coordinates. This will look different from moveToAltAzi() when timelapse is fast. angles may be specified in a format recognised by StelUtils::getDecAngle()
  Note that you may need to use a key sequence like 'Ctrl-D,R' or the GUI to resume script execution.
  Subsequent playSound calls will resume playing from the position in the file when it was paused.
  Subsequent playVideo() calls will resume playing from the position in the file when it was paused.
  The video appears out of fromX/fromY, grows within popupDuration to size finalSizeX/finalSizeY, and shrinks back towards fromX/fromY at the end during popdownDuration.
  This is required to allow reading with other program on Windows while output.txt is still open.
  Wrapper for StelSkyDrawer::setBortleScaleIndex Valid values are in the range [1,9]
  "2008-03-24T13:21:01"
  Note this only applies to GUI plugins which provide the public slot "setGuiVisible(bool)".
  Usually this minimum will be switched to after there are no user events for some seconds to save power. However, if can be useful to set this to a high value to improve playing smoothness in scripts.
  in wide cylindrical panorama screens to push the horizon down and see more of the sky.
  Use this e.g. in startup.ssc. Implemented for 0.15 for a setup with 5 projectors with edge blending. The 9600x1200 get squeezed somewhat which looks a bit odd. Use this stretch to compensate. Experimental! To avoid overuse, there is currently no config.ini setting available.
  This resets the position in the sound to the start so that subsequent playSound calls will start from the beginning.
  This resets the position in the video to the start so that subsequent playVideo() calls will start from the beginning.
  This function will take into account the rate (and direction) in which simulation time is passing. e.g. if a future date is specified and the time is moving backwards, the function will return immediately. If the time rate is 0, the function will not wait. This is to prevent infinite wait time.