Search found 90 matches: pui2canvas

Return to advanced search

Re: Any plans for a new GUI?

... refer to: http://wiki.flightgear.org/Howto:Processing_legacy_PUI_dialogs_using_Canvas http://wiki.flightgear.org/images/9/99/Logging-dialog-via-pui2canvas.png (last I checked, that parser was somewhere close to ~500 LOC (living in fgdata), whereas the Phi/Qt5 efforts are a hugely different beast)
by Hooray
Sat Dec 03, 2016 9:28 pm
 
Forum: New features
Topic: Any plans for a new GUI?
Replies: 9
Views: 2046

Re: More realistic Blackout/Redout

... dialog (e.g. using buttons, checkboxes, input fields): http://wiki.flightgear.org/images/9/97/Canvas_VBoxLayout_Demo_Dialog.png Alternatively, the pui2canvas parser is able to process a subset of PUI/XML dialogs without having to touch any dialogs at all: http://wiki.flightgear.org/Howto:Processing_legacy_PUI_dialogs_using_Canvas ...
by Hooray
Sat Dec 03, 2016 4:32 pm
 
Forum: Aircraft
Topic: More realistic Blackout/Redout
Replies: 91
Views: 12741

Re: car with random color

... fgcommands to implement something like that, and that, you can also register Nasal callbacks as dedicated fgcommands - which is basically what the pui2canvas code is doing: it registers itselfs as a new fgcommand, and at that point it can be used by all sorts of dialogs without any of them having ...
by Hooray
Mon Nov 07, 2016 8:50 pm
 
Forum: Nasal
Topic: car with random color
Replies: 3
Views: 866

Re: Nasal must go

... parsers that turn the legacy definition files (think 2D panels, GUI dialogs, HUDs) into the corresponding Canvas representation, which is what the pui2canvas parser is doing: http://wiki.flightgear.org/Howto:Processing_legacy_PUI_dialogs_using_Canvas Curt nicely summed up the multi-threading challange ...
by Hooray
Sat Oct 29, 2016 4:57 pm
 
Forum: Nasal
Topic: Nasal must go
Replies: 85
Views: 17962

Re: Nasal must go

... all existing Nasal code would not be an option - the only feasible/sane approach would be parsing a legit subset of Nasal, analogous to the pui2canvas translator which turns a subset of PUI/XML into Canvas GUI dialogs, without any of those having to be touched/edited: http://wiki.flightgear.org/Howto:Processing_legacy_PUI_dialogs_using_Canvas ...
by Hooray
Thu Oct 06, 2016 6:45 pm
 
Forum: Nasal
Topic: Nasal must go
Replies: 85
Views: 17962

Re: User language

... in use. Actually, it really should be all there - I think I was using it last year when I was toying with parsing the legacy UI/XML for the pui2canvas parser, and I didn't hit any major roadblocks as far I remember
by Hooray
Sat Aug 20, 2016 9:10 pm
 
Forum: Aircraft
Topic: User language
Replies: 13
Views: 2621

Re: Help needed updating Citation II

... the legacy 2.5D cockpit panel system can do, including even rendering those instruments/panels specifically - it would take the equivalent of the pui2canvas parser to parse existing instruments/cockpit XML markup and use that to populate a Canvas property tree structure to render fully functional ...
by Hooray
Wed Aug 03, 2016 6:39 pm
 
Forum: Aircraft
Topic: Help needed updating Citation II
Replies: 9
Views: 1020

Re: canvas vs. on-screen messages - 1:0

... against this on the mailing list and several people have said they can live with the option as long as it remains an option, I will commit pui2canvas to FGData in the form of a Nasal module that gets loaded 'on demand' dependent on a set property (similar to AW). We'll then see whether ...
by Thorsten
Sat Jul 02, 2016 5:08 am
 
Forum: Canvas
Topic: canvas vs. on-screen messages - 1:0
Replies: 7
Views: 1585

Re: canvas vs. on-screen messages - 1:0

yeah, pui2canvas will/would do it once/if it is adopted, i.e. by re-implemting a handful of fgcommands that are then dispatched to use native Canvas APIs instead of the legacy PUI stuff - however, for that to happen, the pui2canvas ...
by Hooray
Fri Jul 01, 2016 6:58 pm
 
Forum: Canvas
Topic: canvas vs. on-screen messages - 1:0
Replies: 7
Views: 1585

Re: canvas vs. on-screen messages - 1:0

Thanks for the context... my priority for fixing this is low as the use case is a tad exotic, and if pui2canvas does it anyway, I guess there's no real point in trying.
by Thorsten
Fri Jul 01, 2016 6:39 pm
 
Forum: Canvas
Topic: canvas vs. on-screen messages - 1:0
Replies: 7
Views: 1585

Re: canvas vs. on-screen messages - 1:0

... Here's the article: http://wiki.flightgear.org/GUI_Messages For the record, this will/would also be automatically handled (fixed) by adopting the pui2canvas approach, because it works transparently behind the scenes in the form of overriding these exact fgcommands and dispatching all such calls ...
by Hooray
Fri Jul 01, 2016 4:44 pm
 
Forum: Canvas
Topic: canvas vs. on-screen messages - 1:0
Replies: 7
Views: 1585

Re: Spitfire HUD

... HUD) on top of the Canvas system, so that legacy OpenGL code could be yanked over time. Conceptually, this is identical with having a "pui2canvas" that translates legacy PUI/XML files to use the Canvas system internally, i.e. can be mostly/entirely done in scripting space, which ...
by Hooray
Fri Jul 01, 2016 2:02 pm
 
Forum: Aircraft
Topic: Spitfire HUD
Replies: 28
Views: 3606

Re: Aircraft Center | pui2canvas parser (devel-list follow-u

... - it goes without saying that this won't look as good as a Qt5 UI, but it also won't have the costs associated with it - i.e. you could say, the pui2canvas approach is merely a simple fasttrack concept to get rid of PUI completely, without having to manually port any of the existing resources ...
by Hooray
Tue Jun 21, 2016 8:12 pm
 
Forum: Canvas
Topic: Aircraft Center | pui2canvas parser (devel-list follow-up)
Replies: 32
Views: 9216

Re: Aircraft Center | pui2canvas parser (devel-list follow-u

I would suggest having side-by-side screenshots of the PUI and CUI dialogs on the wiki article. It would be useful for tracking progress, graphic design, aesthetic layout, and how close to functional this is ;)

Regards,
Edward
by bugman
Tue Jun 21, 2016 7:53 pm
 
Forum: Canvas
Topic: Aircraft Center | pui2canvas parser (devel-list follow-up)
Replies: 32
Views: 9216

Re: Aircraft Center | pui2canvas parser (devel-list follow-u

... Nasal using the corresponding fgcommands (see $FG_ROOT/Nasal/wildfire.nas for details): http://wiki.flightgear.org/images/8/83/Wildfire-dialog-via-pui2canvas.png Obviously, it's ignoring dialog/widget size for now - i.e. the real thing looks like this: http://wiki.flightgear.org/images/1/13/Wildfire_dialog.jpg
by Hooray
Tue Jun 21, 2016 5:26 pm
 
Forum: Canvas
Topic: Aircraft Center | pui2canvas parser (devel-list follow-up)
Replies: 32
Views: 9216
PreviousNext

Return to advanced search