Comments on: X-Plane 11 Window API Sample https:/code-sample/x-plane-11-window-api-sample/ Developer resources for the X-Plane flight simulator Tue, 06 Jul 2021 23:41:50 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Adelaida https:/code-sample/x-plane-11-window-api-sample/#comment-40273 Tue, 06 Jul 2021 23:41:50 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7763#comment-40273 Hi Tyler,
I have a question. How can I protect the window from closing? I would like to disable X in the right top corner but can’t find the solution. Is it possible?
Also, I am wondering if the changing font/text size will be available soon? I found the PPL library but I am confused about how to use it. Is it possible to post here a Sample of changing the font – the same as some samples on this site (audio and etc) which are just awesome and helpful!

Thanks 🙂

]]>
By: Gregory Hofer https:/code-sample/x-plane-11-window-api-sample/#comment-39771 Fri, 02 Apr 2021 21:20:15 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7763#comment-39771 How can you tell when the window is closed so that you cleanup things like key sniffers which still seem to run after you close the window?

]]>
By: Greg https:/code-sample/x-plane-11-window-api-sample/#comment-39015 Sat, 31 Oct 2020 00:29:23 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7763#comment-39015 In reply to Tyler Young.

Isn’t it possible to make the old window system work in VR until you have the new UI SDK finished? I have so many plugins that use the old system, it’s going to take months trying to have to code everything including basic widgets from scratch.

]]>
By: Axel https:/code-sample/x-plane-11-window-api-sample/#comment-38265 Thu, 30 Jul 2020 19:30:48 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7763#comment-38265 In reply to quantumac.

Same problem here =(
Working on a new plugin and still have to use the old windows for anything else than simple text display

]]>
By: quantumac https:/code-sample/x-plane-11-window-api-sample/#comment-38060 Tue, 21 Jul 2020 02:11:45 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7763#comment-38060 In reply to Tyler Young.

I had the same question.

Thirty-three months after this new window API was announced and there is still no modern widget library for third party developers. It seems like a lot of trouble for every single developer to roll their own widget library, trying to visually emulate what Laminar Research has already coded but not made “SDK wrappers” for.

Sadly, I lack the energy I once had. So, I punted and I’m still using the legacy XP widgets. They look kinda dated, and my old eyes have to squint at the tiny, low-contrast font, but it works. I guess that’s enough for an open-source project. 😉

]]>
By: Tyler Young https:/code-sample/x-plane-11-window-api-sample/#comment-37903 Thu, 16 Jul 2020 12:40:26 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7763#comment-37903 In reply to Carlos Renan.

Sorry, we don’t have any news to share on the UI SDK.

]]>
By: Carlos Renan https:/code-sample/x-plane-11-window-api-sample/#comment-37898 Thu, 16 Jul 2020 03:04:47 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7763#comment-37898 Hi Tyler.

Do you have any news about the new SDK for Modern UI? I’m coding a new plugin and it would be awsome to make a UI that has the same “look and feel” of the game.

]]>
By: Axel Reinemuth https:/code-sample/x-plane-11-window-api-sample/#comment-37806 Fri, 10 Jul 2020 15:32:37 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7763#comment-37806 Hi,
is it now possible to add text boxes, sliders etc. to XP11 styled windows? Without those, the interaction with such windows is pretty limited.

best regards

]]>
By: Tyler Young https:/code-sample/x-plane-11-window-api-sample/#comment-31456 Wed, 13 Jun 2018 14:35:14 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7763#comment-31456 In reply to Ben Whitehead.

No, plugins have no (direct) access to other plugin’s windows. A cooperative plugin could expose this sort of thing via a custom dataref, though.

]]>
By: Ben Whitehead https:/code-sample/x-plane-11-window-api-sample/#comment-31429 Mon, 11 Jun 2018 19:05:12 +0000 http://developer.x-plane.com/?post_type=code-sample&p=7763#comment-31429 Thanks for updating the window behavior – it works well for me.

Question: Is there any way to query which windows other plugins have opened, their window geometry, so I can avoid overlapping windows when I create one?

Thanks for any help.

]]>