Board index FlightGear Development Canvas

Mouse event.

Canvas is FlightGear's new fully scriptable 2D drawing system that will allow you to easily create new instruments, HUDs and even GUI dialogs and custom GUI widgets, without having to write C++ code and without having to rebuild FlightGear.

Mouse event.

Postby f-ojac » Mon May 20, 2013 11:02 am

Could this: https://gitorious.org/fg/flightgear/com ... 35258418ed and http://code.google.com/p/flightgear-bug ... t=&id=1125 be related (no more mouse effect with the UFO).
Thanks.
If you want to support my server, hosting Terrasync + World Scenery + TGWeb + osm2city data mirror, hosted on a private server, you can donate here: http://ns334561.ip-5-196-65.eu/WS2.0/WS ... 2.0.1.html
f-ojac
 
Posts: 1281
Joined: Fri Mar 07, 2008 9:50 am
Version: GIT
OS: GNU/Linux

Re: Mouse event.

Postby f-ojac » Mon May 20, 2013 6:11 pm

Seems Tom fixed this quickly.
Thanks.
If you want to support my server, hosting Terrasync + World Scenery + TGWeb + osm2city data mirror, hosted on a private server, you can donate here: http://ns334561.ip-5-196-65.eu/WS2.0/WS ... 2.0.1.html
f-ojac
 
Posts: 1281
Joined: Fri Mar 07, 2008 9:50 am
Version: GIT
OS: GNU/Linux

Re: Mouse event.

Postby Hooray » Tue May 21, 2013 8:34 pm

TheTom wrote:
Code: Select all
.addEventListener("click", func dlg.del());


@TheTom: I haven't checked the C++ code, but do you automatically clean up all canvas/eventListeners once the dtor is invoked or do they need to be freed explicitly? I am asking to ensure that relevant listeners are properly cleaned up: http://wiki.flightgear.org/Howto:Canvas ... submodules

Edit: Answered at: https://gitorious.org/fg/simgear/commit ... ce021d2dc6
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11427
Joined: Tue Mar 25, 2008 8:40 am


Return to Canvas

Who is online

Users browsing this forum: No registered users and 1 guest