Search found 97 matches: pui2canvas

Return to advanced search

Check your facts buggy ;-)

... those having to be edited, all using ~600 lines of code (written during a few weekends): http://wiki.flightgear.org/images/0/05/Map-canvas-via-pui2canvas.png So, not sure where you are seeing the "failure" here - you may in fact be in for a huge surprise here. What you've been describing ...
by Hooray
Sat Aug 29, 2020 11:11 am
 
Forum: The FlightGear project
Topic: "Advertising FlightGear"
Replies: 31
Views: 1978

Re: Triggering XML bindings from Nasal

... into issues supporting pui dialogs via Phi due to nasal, i ended up using the same method to dynamically translate a subset of pui/xml to canvas (pui2canvas), you can still find the corresponding code on the wiki, and it can probably reused as is, or at least easily adapted. If you're going to ...
by Hooray
Mon May 11, 2020 10:06 am
 
Forum: Nasal
Topic: Triggering XML bindings from Nasal
Replies: 1
Views: 172

Re: A320-family development

... (especially in the UI department) - and a number of such efforts have been actively killed off by senior contributors, which is why the whole pui2canvas module has been turned into a tutorial rather than an actual option: Subject: nav.dat update? But FG is pretty good in 'pie in the sky' efforts ...
by Hooray
Sun May 10, 2020 10:21 am
 
Forum: Aircraft
Topic: A320-family development
Replies: 963
Views: 49121

Re: A320-family development

... dialog file: http://wiki.flightgear.org/Howto:Processing_legacy_PUI_dialogs_using_Canvas http://wiki.flightgear.org/images/0/05/Map-canvas-via-pui2canvas.png The same approach would also work for other features making use of legacy OpenGL code to use the Canvas instead (including the osgText ...
by Hooray
Sun May 10, 2020 8:12 am
 
Forum: Aircraft
Topic: A320-family development
Replies: 963
Views: 49121

Re: canvas.draw library merged to FGDATA

... to get rid of the legacy 2D panels code, at the mere cost of writing a parser to interpret/map 2D panels to canvas gauges (analogous to how pui2canvas works). Once we encourage an element-based extension mechanism, where new drawing primitives can be prototyped/implemented and registered ...
by Hooray
Tue Mar 10, 2020 2:05 pm
 
Forum: Canvas
Topic: canvas.draw library merged to FGDATA
Replies: 21
Views: 1223

Re: GL2PUI

... the same 10 hours spent by someone working on the Qt5/QQ2 port would provide more bang for the buck, and obviously 10 hrs spent fine-tuning the pui2canvas parser, would provide a fast track solution to get rid of PUI without having to be a core developer, and even without having to touch any ...
by Hooray
Sun Dec 22, 2019 11:22 am
 
Forum: Development
Topic: GL2PUI
Replies: 13
Views: 974

Re: GL2PUI

... http://wiki.flightgear.org/images/0/05/Map-canvas-via-pui2canvas.png Background: http://wiki.flightgear.org/PUI http://wiki.flightgear.org/Unifying_the_2D_rendering_backend_via_canvas http://wiki.flightgear.org/Canvas_Widget_Matrix ...
by Hooray
Fri Dec 20, 2019 9:30 pm
 
Forum: Development
Topic: GL2PUI
Replies: 13
Views: 974

Re: A320-family development

... http://wiki.flightgear.org/images/9/99/Logging-dialog-via-pui2canvas.png http://wiki.flightgear.org/images/2/23/View-dialog-comparison-pui2canvas.png In other words, all the building blocks for a PUI-free in-sim ...
by Hooray
Sat Nov 16, 2019 9:50 am
 
Forum: Aircraft
Topic: A320-family development
Replies: 963
Views: 49121

Re: A320-family development

... are registered as fgcommands, at that point the UI stack becomes totally relevant - because you'd be using primarily XML and fgcommands again. The pui2canvas parser can help accomplish that, and therefore it could even facilitate migrating to a different UI back-end, which may involve both, Qt ...
by Hooray
Fri Nov 15, 2019 4:14 pm
 
Forum: Aircraft
Topic: A320-family development
Replies: 963
Views: 49121

Re: Are radio buttons available?

... equivalent: http://wiki.flightgear.org/Howto:Processing_legacy_PUI_dialogs_using_Canvas http://wiki.flightgear.org/images/6/66/Scenarios-via-pui2canvas.xml.png Note that this indeed done procedurally, i.e. at runtime - the original PUI/XML dialog wasn't touched to create the Canvas equivalent. ...
by Hooray
Sat Nov 09, 2019 8:03 pm
 
Forum: Canvas
Topic: Are radio buttons available?
Replies: 32
Views: 2378

Re: Are radio buttons available?

Octal450 wrote in Tue Oct 01, 2019 9:57 pm:You realize, johan, that dialog is PUI not canvas...

it can be if it goes through the PUI2Canvas convertor ;)
by wkitty42
Tue Oct 01, 2019 10:57 pm
 
Forum: Canvas
Topic: Are radio buttons available?
Replies: 32
Views: 2378

Re: re: porting aircraft.nas /cppunit testing (pointers)

... - which is why making things work in a standalone setup requires some familiarity with fgfs/nasal internals, I ran into that when I prototyped the pui2canvas parser, which also needed a way to deal with Nasal blobs embedded in XML files, but also with procedurally created dialogs. It would be best ...
by Hooray
Mon Sep 16, 2019 4:35 pm
 
Forum: Nasal
Topic: re: porting aircraft.nas /cppunit testing (pointers)
Replies: 7
Views: 695

the UI debate raises its ugly head once again ...

... based parser to see how feasible a Canvas based PUI replacement would be (proof-of-concept, i.e. under 500 LOC): http://wiki.flightgear.org/Pui2canvas http://wiki.flightgear.org/images/0/05/Map-canvas-via-pui2canvas.png Later on, the only core developer intimately familiar with the process ...
by Hooray
Sat Dec 08, 2018 7:13 pm
 
Forum: The FlightGear project
Topic: 2018.3 Release
Replies: 114
Views: 95130

Re: advantage of using nasal

... http://wiki.flightgear.org/Qt5_Launcher http://wiki.flightgear.org/QtQuick_use_in_FlightGear http://wiki.flightgear.org/Pui2canvas Besides, while re-implementing a working Nasal VM would of course be possible, that would not magically fix up coding issues that crept up ...
by Hooray
Wed Oct 17, 2018 3:55 pm
 
Forum: Nasal
Topic: advantage of using nasal
Replies: 4
Views: 1773

Re: Annoying bug

... map-canvas.xml): http://wiki.flightgear.org/Howto:Processing_legacy_PUI_dialogs_using_Canvas http://wiki.flightgear.org/images/0/05/Map-canvas-via-pui2canvas.png Notably, the same mechanism could also work for a Canvas-enabled Phi back-end: http://wiki.flightgear.org/Read_canvas_image_by_HTTP http://wiki.flightgear.org/images/thumb/4/45/Canvas-ND-served-via-httpd.png/800px-Canvas-ND-served-via-httpd.png ...
by Hooray
Sat Sep 15, 2018 5:48 pm
 
Forum: Flying
Topic: Annoying bug
Replies: 5
Views: 971
Next

Return to advanced search