Search found 97 matches: pui2canvas

Return to advanced search

Re: Is there a "standard reference system" for testing insta

... (this is fully functional "as is", and it would only require editing a single line in menubar.xml to use the pui2canvas parser to render the dialog using the Canvas back-end for just this particular dialog)
by Hooray
Sun Mar 19, 2017 8:21 pm
 
Forum: Development
Topic: Is there a "standard reference system" for testing installs?
Replies: 36
Views: 11274

Re: Menu text disappearing randomly on Windows 10-64Bit home

... been a few tricks around to mitigate the problem - changing to a different gui style for instance seems to help. Also, if you search the forum for pui2canvas, you'll get an experiments script which renders (parts of) the dialogs as canvas widgets which do not suffer from this problem. As far as ...
by Hooray
Sun Mar 19, 2017 12:31 pm
 
Forum: Graphics
Topic: Menu text disappearing randomly on Windows 10-64Bit home
Replies: 19
Views: 5136

Re: Menu text disappearing randomly on Windows 10-64Bit home

... been a few tricks around to mitigate the problem - changing to a different gui style for instance seems to help. Also, if you search the forum for pui2canvas, you'll get an experiments script which renders (parts of) the dialogs as canvas widgets which do not suffer from this problem. Being an ...
by Thorsten
Sun Mar 19, 2017 10:16 am
 
Forum: Graphics
Topic: Menu text disappearing randomly on Windows 10-64Bit home
Replies: 19
Views: 5136

Re: Nasal: Replacing a menubar item

... This could be considered the final step to get rid entirely rid of PUI once the pui2canvas is sufficiently complete to parse a subset of PUI/XML: http://wiki.flightgear.org/Howto:Processing_legacy_PUI_dialogs_using_Canvas http://wiki.flightgear.org/images/6/66/Scenarios-via-pui2canvas.xml.png
by Hooray
Sat Feb 25, 2017 5:25 pm
 
Forum: Nasal
Topic: Nasal: Replacing a menubar item
Replies: 6
Views: 2268

Re: Makeing a canvas window transparent?

As usual, someone has to do some work. If Hooray's Pui2Canvas module develops further, we might get the ability in a native way because that would render all current dialogs as canvas, and then there could just be some 'common' area to adjust things ...
by Hooray
Thu Jan 12, 2017 10:14 am
 
Forum: Canvas
Topic: Makeing a canvas window transparent?
Replies: 15
Views: 4044

Re: Makeing a canvas window transparent?

As usual, someone has to do some work. If Hooray's Pui2Canvas module develops further, we might get the ability in a native way because that would render all current dialogs as canvas, and then there could just be some 'common' area to adjust things like transparency and such.
by Thorsten
Thu Jan 12, 2017 6:49 am
 
Forum: Canvas
Topic: Makeing a canvas window transparent?
Replies: 15
Views: 4044

Re: GUI Combo: How to control so it drops down not up

... - for instance, you could use a select widget instead of the combo if the combo turns out to be problematic. Apart from that, the pui2canvas effort is using Canvas to parse/render a subset of the PUI/XML markup used by FlightGear to render a handful of widgets - and given that ...
by Hooray
Wed Jan 04, 2017 7:08 pm
 
Forum: Development
Topic: GUI Combo: How to control so it drops down not up
Replies: 3
Views: 2090

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: 2539

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: 13929

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: 945

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: 21098

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: 21098

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: 2922

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: 1074

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: 1781
PreviousNext

Return to advanced search