Hotrian / OpenVRDesktopDisplayPortal

Put your favorite Desktop Window directly into any OpenVR game!
Other
449 stars 96 forks source link

Add an optional outline for the overlay #20

Closed Hotrian closed 8 years ago

Hotrian commented 8 years ago

Following up on #19, I still intend to add an optional outline for the overlay, visible in VR. Should be relatively easy, and I'll try to add it when I have a chance. You should be able to change the color of the outline.

Hotrian commented 8 years ago

This sort of exists in the latest source. There is now a nice outline when a controller is aiming at or contacting the overlay. Shouldn't be too hard to add color customization and an option for always-on.

Hotrian commented 8 years ago

Just added a color selector that lets you change the color of the outline in all of it's currently available states. It also enables an always-on outline if anyone wants it. Not committed to the repo yet but coming today.

Hotrian commented 8 years ago

Closing with 1.0.5. In 1.0.5 there is now an outline on the Overlay which can change color depending on the current state of the overlay. You can set the default color to invisible, or to something else for an always-on outline. The current states are: Default, Aiming, Touching, and Scaling. The Default color is shown when no other colors are active (invisible okay as mentioned above), Aiming is shown when a controller is aiming at the overlay, Touching is shown when a controller is touching or grabbing the overlay, and Scaling is shown when you are actively scaling the overlay.