Author Topic: Boarding progress bar (message box) in VR  (Read 833 times)

GERAirborne272

  • Newbie
  • *
  • Posts: 41
Boarding progress bar (message box) in VR
« on: February 06, 2023, 09:42:00 am »
It has bothered me for a long time that I can't see any boarding progress in VR.
In 2D, this progress bar appears when boarding. Until yesterday I thought that this one does not appear in VR. When I pushed my real chair back yesterday, I could suddenly see this progress bar in VR as well. It just seems way too far back. It would be nice if this appeared at the same distance as the menu. Otherwise a really great addon.

icebird4all

  • Newbie
  • *
  • Posts: 14
Re: Boarding progress bar (message box) in VR
« Reply #1 on: September 29, 2024, 02:36:16 am »
Hello GSX Team!

Why isn't this problem fixed till today? Are we both the only one using the sim in VR and want to see the status bar from GSX? I did a little quirks to your code - you surely could do it better - so maybe serve us VR users a nice status bar. Since in non VR - the status bar is always on top left of the monitor - i did another approach - i placed the status bar on bottom of the GSX window. But instead the status bar will disappear with the GSX window disappearing - my status bar stays on and just gets all the new stati. If i don't want to see it anymore - i just have to click once on it.

This are the changes i made to the code:

in the FSDT_GSX_Panel.html:
Code: [Select]
</ingame-ui>
<!-- my change for a working VR status bar -->
    <new-push-button onclick="this.style.display = 'none';" style="font-size: .7em; display: none; background-color: rgba(13, 202, 240, 0.2); width: 100%; position: absolute; bottom: 0px; text-align: center;" id="MyTooltip">My Tooltip for VR!</new-push-button>
<!-- my change for a working VR status bar -->
  </ingamepanel-fsdt-gsx>

and in the FSDT_GSX_Panel.js:
Code: [Select]
/* my change for a working VR status bar line 238 - 240 */
this.MyTooltip = document.getElementById("MyTooltip");
/* my change for a working VR status bar line 238 - 240 */

and:
Code: [Select]
/* my change for a working VR status bar line 830 - 833 */
this.MyTooltip.style.display = "";
this.MyTooltip.innerHTML = text;
/* my change for a working VR status bar line 830 - 833 */

would be great - if you can do it like so...

Thx !!!