1
0
Fork 0
Commit graph

26 commits

Author SHA1 Message Date
Torsten Dreyer
778f056fd8 fgcommand.js: allow setting of multiple properties
extend setPropertyValue(path,value,callback,context)

if value is 'just a value': set value of property named by path
if value is object, assume JsonProperty(ies) and set the entire tree
if callback is set, callback gets called after to POST succeeded
if context is set, 'this' is set for the callback
2015-03-28 21:44:24 +01:00
Torsten Dreyer
c427e1605f props2.js: implement getValue(child,deflt) 2015-03-26 11:41:27 +01:00
Torsten Dreyer
605523000c Phi: Add Pause/Play buttons, widgets hidable 2015-03-14 22:31:31 +01:00
Torsten Dreyer
6ae95ea10a Use new multiplayer commands in gui 2015-03-12 09:50:16 +01:00
Torsten Dreyer
c5c832d598 Phi: Map changes multiplayer config
- Rename some map overlays
- add multiplayer config
2015-03-11 22:37:48 +01:00
Torsten Dreyer
4c28a44b3d fgcommand.js: bugfixes and wrap more commands
- more jQuery wrapping done
- expose the multiplayer command
- expose request-metar/clear-metar commands
2015-03-11 22:35:33 +01:00
Torsten Dreyer
3e6c115abd Phi: metar widget tweaks
- skip leading timestamp garbage
- bind tooltip so hovering the mouse displays complete metar
2015-03-10 22:44:20 +01:00
Torsten Dreyer
32cbf424f1 fgcommand.js: better reference to jQuery and property get/set 2015-03-10 20:38:16 +01:00
Torsten Dreyer
16cf44ccd6 fgcommand.js: wrap switch-aircraft command 2015-02-17 12:05:02 +01:00
Torsten Dreyer
2d9f7df50f Phi initial commit 2015-02-04 21:05:55 +01:00
Torsten Dreyer
1ff18c2cba make fgcommand.js a AMD module 2015-02-04 21:03:16 +01:00
Torsten Dreyer
0e9dcbbd08 fgfs.js: remove cyclic object reference 2015-01-07 10:54:00 +01:00
Torsten Dreyer
5e2a37be56 Some javascript library fixes
- don't ignore "func" property for Property InputValues
- expose "timeofday" command via fgcommand.js
2014-12-22 11:57:25 +01:00
Torsten Dreyer
0c6203c1c1 fgcommand.js: wrap reposition command 2014-11-10 14:21:50 +01:00
Torsten Dreyer
6b33ee4719 fgcommand.js: add wrappers for dialog-[show|close] 2014-11-10 10:52:10 +01:00
Torsten Dreyer
db9a880836 fgfs.js: FSweekend induced changes 2014-11-06 11:51:15 +01:00
Torsten Dreyer
60eed738e1 fgfs.js: allow lazy loading of animated elements 2014-10-13 10:39:16 +02:00
Torsten Dreyer
6fa9b0b17f jquery.fganimate.js: respect predefined transforms
Don't overwrite transforms defined in SVG by animation
but append to the transforms generated by the animation
2014-10-09 21:15:15 +02:00
Torsten Dreyer
7505f3b816 FGPanel2.0: implement setProperty 2014-09-25 22:50:52 +02:00
Torsten Dreyer
c32d6029ff WebPanel: be a litte more cpu friendly
- limit precision for animations to four digits
- don't insist on a strict update frequency but schedule a redraw after
  a configured time. This gives the rendering thread of the browser more
  time to draw
2014-09-24 21:07:19 +02:00
Torsten Dreyer
649ad4880c WebPanel: use inkscape pagecolor as background-color if set 2014-09-22 21:41:13 +02:00
Torsten Dreyer
e929b182af WebPanel: Move libraries out of aircraft to common folder 2014-09-22 20:28:51 +02:00
Torsten Dreyer
2072b37455 JavaScript PropertyChangeListener tweak
Initially fire a property change event on the first subscription
by sending a get to the fg instance.
2014-09-16 11:16:15 +02:00
Torsten Dreyer
311768e757 Webgui: altitude plotter and provide 3rdparty js libs
- The map has now a simple altitude plotter
- Provide the 3rdparty javascript libraries instead of loading them
  from their distributors
2014-03-28 18:36:19 +01:00
Torsten Dreyer
5371094f6c Some changes to the JavaScript PropertyChangeListener
- allow binding of a context to the listener
- start implementing RemoveListener
2014-03-26 22:07:00 +01:00
Torsten Dreyer
e46764624d Move the web gui to its own folder
serve FGDATA/webgui as url /gui/ and move the files
out of FGDATA/Docs (which was a bad place for those).
2014-03-14 21:15:51 +01:00