neocode Posted December 12, 2018 Report Posted December 12, 2018 Hello. Im new to p3d development. Is there a way to draw a line in the screen using fsuipc libraries? I only saw functions for drawing text in the documentation. Thanks in advance
Pete Dowson Posted December 12, 2018 Report Posted December 12, 2018 On 12/12/2018 at 4:01 PM, neocode said: Is there a way to draw a line in the screen using fsuipc libraries? Expand No. The plug-in Lua libraries don't offer any graphics facilities, and if you mean on the FSX or P3D screen, it would be very complex in any case with differences in full screen and windowed modes, docked and undocked windows,, etc. On 12/12/2018 at 4:01 PM, neocode said: I only saw functions for drawing text in the documentation. Expand Text display via SimConnect functions is supported. They are relatively trivial. I don't think SimConnect offers any real graphics features. You might be able to insert objects, and design an object which just looks like a line, but that would appear in the 3D scenery view and not really be a line on the screen. You could also design a gauge with a graphic which is just a line, and have it loaded as part of an aircraft panel, but then again it isn't a "line on screen". You'd probably be able to do it using normal Windows programming, external to the sim program, and make sure it is "on top", though doing that with the sim in genuine full screen mode (FSX) might be difficult. Pete
neocode Posted December 14, 2018 Author Report Posted December 14, 2018 That's what I call good support 😃 Thank you very much for your answer. I managed to do it using a panel.
Pete Dowson Posted December 14, 2018 Report Posted December 14, 2018 On 12/14/2018 at 9:39 AM, neocode said: That's what I call good support 😃 Expand Thank you! On 12/14/2018 at 9:39 AM, neocode said: I managed to do it using a panel. Expand Good, well done! Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now