diff --git a/guide/app_config_ini.tex b/guide/app_config_ini.tex index f8be3dda1bfb8..187ae21704c10 100644 --- a/guide/app_config_ini.tex +++ b/guide/app_config_ini.tex @@ -659,6 +659,8 @@ \subsection{\big[navigation\big]} To look Northwest and up at $45\degree$, use \emph{-1,-1,1} and so on.\\%\midrule auto\_move\_duration & float & Duration (seconds) for the program to move to point at an object when the space bar is pressed. Typical value: \emph{1.4}\\%\midrule +return\_home\_duration & float & Duration (seconds) of movement of returning to a home location (for a demo). Default value: \emph{0.}\\%\midrule +return\_fov\_duration & float & Duration (seconds) of zooming to an initial field of view value (for a demo). Default value: \emph{1.}\\%\midrule mouse\_zoom & float & Sets the mouse zoom amount (mouse-wheel)\\%\midrule move\_speed & float & Sets the speed of movement\\%\midrule zoom\_speed & float & Sets the zoom speed\\%\midrule diff --git a/plugins/RemoteControl/webroot/images/icons-active.png b/plugins/RemoteControl/webroot/images/icons-active.png index 913552d348e41..3a14f9b2d1ad0 100644 Binary files a/plugins/RemoteControl/webroot/images/icons-active.png and b/plugins/RemoteControl/webroot/images/icons-active.png differ diff --git a/plugins/RemoteControl/webroot/images/icons.png b/plugins/RemoteControl/webroot/images/icons.png index 7b8765269c8e2..02d1442c4e26a 100644 Binary files a/plugins/RemoteControl/webroot/images/icons.png and b/plugins/RemoteControl/webroot/images/icons.png differ diff --git a/plugins/RemoteControl/webroot/index.html b/plugins/RemoteControl/webroot/index.html index db27809ce44e8..2932a54cdd22b 100644 --- a/plugins/RemoteControl/webroot/index.html +++ b/plugins/RemoteControl/webroot/index.html @@ -89,8 +89,8 @@

  • -
  • -
  • +
  • +
  • @@ -313,7 +313,7 @@

    - + @@ -327,8 +327,17 @@

    -

    +
    + +
    +
    +
    + +
    +
    @@ -348,7 +357,17 @@

    -

    +

    @@ -356,9 +375,7 @@

    -

    - +

    @@ -373,7 +390,7 @@

    -
    +
    @@ -389,9 +406,9 @@

    + 8 + 16 + 32

    @@ -400,7 +417,7 @@

    + @@ -412,9 +429,9 @@

    '> - +

    -
    +
    @@ -426,22 +443,20 @@

    - + + - + + +

    - -
    +

    @@ -471,13 +486,13 @@

    -
    +
    @@ -637,15 +652,14 @@

    -
    +
    -
    -
    - + -- +
    +

    - -

    + +

    @@ -843,6 +857,7 @@

  • ">
  • ">
  • ">
  • +
  • ">
  • diff --git a/plugins/RemoteControl/webroot/style.css b/plugins/RemoteControl/webroot/style.css index 828d5f442a024..4e89b0d8237e7 100644 --- a/plugins/RemoteControl/webroot/style.css +++ b/plugins/RemoteControl/webroot/style.css @@ -8,7 +8,6 @@ url('dejavusans-webfont.svg#dejavu_sansbook') format('svg'); font-weight: normal; font-style: normal; - } @font-face { @@ -85,7 +84,7 @@ div#srch_tab_object { color: rgb(3,3,3); background: linear-gradient(rgb(86, 87, 90),rgb(48, 49, 52)); border-width: 0; - border-radius: 0; + border-radius: 0; } /* Large vertical spinners */ @@ -576,6 +575,7 @@ button.button32:active { .icon32.btConstellationLabels { background-position: -148px 0; } .icon32.btConstellationLines { background-position: -185px 0; } .icon32.btConstellationBoundaries { background-position: -885px 0; } +.icon32.btGotoHome { background-position: -922px 0; } .icon32.btDSS { background-position: -222px 0; } .icon32.btFlipHorizontal { background-position: -259px 0; } .icon32.btEquatorialGrid { background-position: -296px 0; } diff --git a/plugins/RemoteControl/webroot/tablet7in.html b/plugins/RemoteControl/webroot/tablet7in.html index 495cee6751205..bbfc573487063 100644 --- a/plugins/RemoteControl/webroot/tablet7in.html +++ b/plugins/RemoteControl/webroot/tablet7in.html @@ -435,15 +435,17 @@

    - -

    - -
    -
    -

    - - - +

    @@ -939,6 +941,7 @@

  • ">
  • ">
  • ">
  • +
  • ">
  • diff --git a/src/core/StelCore.cpp b/src/core/StelCore.cpp index f214af9e7df42..4e9f18f38b0ef 100644 --- a/src/core/StelCore.cpp +++ b/src/core/StelCore.cpp @@ -1130,6 +1130,7 @@ void StelCore::returnToHome() // between planets using SpaceShip and second method give does not exist data StelLocationMgr& locationMgr = StelApp::getInstance().getLocationMgr(); StelLocation loc; + QSettings* conf = StelApp::getInstance().getSettings(); if (defaultLocationID == "auto") { locationMgr.locationFromIP(); @@ -1139,10 +1140,9 @@ void StelCore::returnToHome() loc = locationMgr.locationForString(defaultLocationID); if (loc.isValid()) - moveObserverTo(loc, 0.); + moveObserverTo(loc, conf->value("navigation/return_home_duration", 0.).toDouble()); // ability set a duration of movement (for a demo) PlanetP p = GETSTELMODULE(SolarSystem)->searchByEnglishName(loc.planetName); - QSettings* conf = StelApp::getInstance().getSettings(); LandscapeMgr* landscapeMgr = GETSTELMODULE(LandscapeMgr); landscapeMgr->setCurrentLandscapeID(landscapeMgr->getDefaultLandscapeID()); @@ -1154,7 +1154,7 @@ void StelCore::returnToHome() StelMovementMgr* smmgr = getMovementMgr(); smmgr->setViewDirectionJ2000(altAzToJ2000(smmgr->getInitViewingDirection(), StelCore::RefractionOff)); - smmgr->zoomTo(smmgr->getInitFov(), 1.); + smmgr->zoomTo(smmgr->getInitFov(), conf->value("navigation/return_fov_duration", 1.).toDouble()); // ability set a duration of zooming (for a demo) } double StelCore::getJDOfLastJDUpdate() const diff --git a/src/core/modules/SolarSystem.cpp b/src/core/modules/SolarSystem.cpp index 83ccdd8178d6b..549abcc3ed6da 100644 --- a/src/core/modules/SolarSystem.cpp +++ b/src/core/modules/SolarSystem.cpp @@ -4191,7 +4191,7 @@ void SolarSystem::setExtraThreads(int n) void SolarSystem::setMarkerMagThreshold(double m) { - markerMagThreshold=qBound(-2.,m,37.); + markerMagThreshold=qBound(-5.,m,37.); // sync with GUI & WUI! StelApp::immediateSave("astro/planet_markers_mag_threshold", markerMagThreshold); emit markerMagThresholdChanged(markerMagThreshold); } diff --git a/src/gui/viewDialog.ui b/src/gui/viewDialog.ui index c16c19fe2e406..d92715d345662 100644 --- a/src/gui/viewDialog.ui +++ b/src/gui/viewDialog.ui @@ -1481,7 +1481,7 @@ -5.000000000000000 - 25.000000000000000 + 37.000000000000000 0.100000000000000