Search found 90 matches: pui2canvas

Return to advanced search

Re: Aircraft reselection qt5

... because at that point, some Canvas-based MFD features would no longer work for FlightGear versions without Qt5 support included. The "pui2canvas" parser demonstrates that this is perfectly possible, with very compact code - last I checked, it was somewhere around 350 lines of ...
by Hooray
Sun Jan 10, 2016 8:06 pm
 
Forum: New features
Topic: Aircraft reselection qt5
Replies: 5
Views: 1562

Re: updating a dialog immediately

... relates to all this. You could also search the wiki, I wrote quite a bit abotu those two fgcommands when I came up with the pui2canvas parser. That being said, Canvas might not be such a bad idea for an aircraft-specific dialog - unless you are hoping for it also be supported ...
by Hooray
Sat Jan 09, 2016 11:34 pm
 
Forum: Development
Topic: updating a dialog immediately
Replies: 5
Views: 1772

Re: Space Shuttle

... Nasal overhead, which would benefit other efforts, too - including the PFD/ND efforts, re-implementing HUD/2D panels on top of Canvas, but even pui2canvas I have posted a follow up here: http://forum.flightgear.org/viewtopic.php?f=71&p=266721#p266721 (what you describe, should be possible ...
by Hooray
Mon Nov 30, 2015 7:42 pm
 
Forum: Spaceflight
Topic: Space Shuttle
Replies: 2859
Views: 516004

Canvas performance (property overhead) (pm/space shuttle)

... frames.) We were recently talking about that, too - i.e. re-publishing some behind-the scenes exchanges: I was going to take another look at the pui2canvas parser, as well as supporting the "peformance monitor" (dynamic vis Nasal/dialog-show/update) and port/integrate that with the ...
by Hooray
Mon Nov 30, 2015 7:38 pm
 
Forum: Canvas
Topic: Canvas performance (property overhead) (pm/space shuttle)
Replies: 2
Views: 1241

addcommand() API & telnet (bug #1816)

... in a SGPropertyNode (props.Node) structure. To see such fgcommands can process their arguments using props.nas, you can take a look at the pui2canvas parser on the wiki: http://wiki.flightgear.org/Howto:Processing_legacy_PUI_dialogs_using_Canvas#Parsing_the_dialog_node But what were you ...
by Hooray
Mon Nov 23, 2015 9:36 pm
 
Forum: Nasal
Topic: addcommand() API & telnet (bug #1816)
Replies: 6
Views: 1182

Re: version checking for matching fgfs and -set.xml files

... log file, 2) log to the console and 3) write to a signal property that can be handled by an arbitrary GUI front-end like Phi, Qt5, PUI, Canvas or pui2Canvas - so it is totally agnostic to the front-end being used, and it would be to to the corresponding developers/maintainers to provide a corresponding ...
by Hooray
Tue Nov 17, 2015 8:08 pm
 
Forum: New features
Topic: version checking for matching fgfs and -set.xml files
Replies: 35
Views: 9972

Re: version checking for matching fgfs and -set.xml files

... the global property tree - which could in turn be watched/processed by arbitrary GUI front-ends, including Phi, Qt5 but also PUI/Canvas or "pui2Canvas". At the end of the callback, it would either run fgcommand("exit") to terminate the process, or return back to the Qt5 launcher ...
by Hooray
Tue Nov 17, 2015 4:34 pm
 
Forum: New features
Topic: version checking for matching fgfs and -set.xml files
Replies: 35
Views: 9972

Re: version checking for matching fgfs and -set.xml files

Hooray wrote in Tue Nov 17, 2015 4:10 pm:Image


This looks good. It also would need to be designed to take the aircraft centre into account, and switching in-sim.

Regards,
Edward
by bugman
Tue Nov 17, 2015 4:24 pm
 
Forum: New features
Topic: version checking for matching fgfs and -set.xml files
Replies: 35
Views: 9972

Re: version checking for matching fgfs and -set.xml files

... well processed using Phi, Qt5 or Canvas (and even dumped just to the console): http://wiki.flightgear.org/images/c/cd/Version-mismatch-dialog-via-pui2canvas.png There is no reason why Qt5/Phi or whatever could not render a similar dialog, and all front-ends could be using the same "common ...
by Hooray
Tue Nov 17, 2015 4:10 pm
 
Forum: New features
Topic: version checking for matching fgfs and -set.xml files
Replies: 35
Views: 9972

Re: Su-15

... Nasal code does have the advantage that it is straightforward to re-implement while using OSG internally - which can be also seen in the "pui2canvas" effort. Overall, Nasal does have its issues - but it is fairly hard to come up with buggy code that breaks the simulator for others ...
by Hooray
Sun Nov 01, 2015 7:43 pm
 
Forum: Aircraft
Topic: Su-15
Replies: 246
Views: 38425

Re: Please test the 3.6 RC

... () #9 0x0830642e in fgMainInit(int, char**) () #10 0x082c9cf7 in main () I know how to fix this, but I would rather see the pui2canvas parser improved so that Canvas would be used for these purposes, which will make it easy fix, and avoid, such issues in the future (you can ...
by Hooray
Fri Oct 23, 2015 11:15 pm
 
Forum: Release candidates
Topic: Please test the 3.6 RC
Replies: 168
Views: 33230

Re: Please test the 3.6 RC

... add scroll bars, said zakalawe to me in IRC years ago. to be fair, since I am now a little familiar with the PUI widget set (having prototyped the pui2canvas parser), I don't think that this is necessarily an accurate statement about PUI limitations. In fact, should you feel a little adventurous, ...
by Hooray
Fri Oct 23, 2015 9:27 pm
 
Forum: Release candidates
Topic: Please test the 3.6 RC
Replies: 168
Views: 33230

Re: Please test the 3.6 RC

... those platforms/people. In fact, should you feel a little brave, you could copy the code snippet from the wiki , put it into $FG_ROOT/Nasal/pui2canvas/pui2canvas.nas (simply create a new folder in $FG_ROOT/Nasal and then create/rename a text file using notepad/wordpad) and then run the following ...
by Hooray
Fri Oct 23, 2015 7:40 pm
 
Forum: Release candidates
Topic: Please test the 3.6 RC
Replies: 168
Views: 33230

Re: New Canvas GUI

The parser processing scenario.xml: http://wiki.flightgear.org/images/6/66/Scenarios-via-pui2canvas.xml.png Given the state of plans as outlined on the mailing list, I think this would be most useful to have, if only for a transition period. I have been documenting ...
by Hooray
Sat Oct 17, 2015 5:03 pm
 
Forum: Canvas
Topic: New Canvas GUI
Replies: 47
Views: 14158

Re: New Canvas GUI

Here's a little update from the "parsing PUI/XML" front: The parser is now roughly ~300 lines in size and can deal with: ⋅  embedded Nasal blocks (open/close) ⋅  bindings in the form of fgcommands (standard & Nasal) ⋅  the PUI <format> tag (dynamic labels ...
by Hooray
Sat Oct 17, 2015 3:34 pm
 
Forum: Canvas
Topic: New Canvas GUI
Replies: 47
Views: 14158
Previous

Return to advanced search