samcrow / rust-xplm

Rust interfaces to the X-Plane plugin SDK
Apache License 2.0
39 stars 15 forks source link

Two questions #12

Open Ev1dentSnow opened 2 years ago

Ev1dentSnow commented 2 years ago

Hi

Firstly, was wondering if the Menu module is functional yet? I did all the things required to create a menu and to add it to the XP plugins menu, but upon opening XP the plugin was in the Plugin Admin, but not in the plugins menu.

Secondly, was wondering if you have a Discord server where we can discuss this library, or would you like an invite to an XP dev server? It's currently dominated by cpp and lua devs, but I'm sure as this library grows, Rust will become more popular for XP.

samcrow commented 2 years ago
  1. I just added a menus example, which is working in X-Plane 11.11r2. While making it, I re-learned one of the tricky parts about this library: resources get destroyed when they go out of scope, which here means that the menus get removed before the user can ever see them. I fixed that by making the menu part of the plugin struct, so it stays around for as long as the plugin is running. That might be similar to the problem you are having.
  2. Thanks for the offer, but I don't have enough time right now to watch another communication platform. I'm just doing basic maintenance, fixing bugs, and accepting contributions in this repository for now.
Ev1dentSnow commented 2 years ago

Thanks