James Turner
7e0a45c798
Tooltips and knobs for the C172P.
...
This is proof of concept, not a complete conversion.
2013-04-06 17:36:25 +01:00
James Turner
57dd7cb95f
Give balloons scenario a load script.
...
This makes balloons.nas obsolete.
2013-03-28 17:46:13 +00:00
James Turner
4f66ca4a8f
Use Tooltip instead of PUI dialog for gui.popupTip.
...
Hopefully everything works as expected, seems to for the cases I know about (changing view / FoV / visibility).
2013-03-16 12:48:18 +00:00
James Turner
29438e1e7d
Message feedback when changing sim speed-up.
2013-03-16 12:48:17 +00:00
James Turner
e740b916d3
Make tooltip also work for on-screen messages.
...
Required new (in flightgear) Nasal timer to work, so make sure your fg is up-to-date.
2013-03-16 12:48:15 +00:00
James Turner
5c4142ed6d
Option to disable mouse-mode feedback.
...
Drive off the 'show view names' checkbox in the view dialog for now, this might
evolve into a generic 'on-screen hints' control to avoid an explosion of
GUI checkboxes.
Also add a GUI checkbox (oh the irony...) to disable mouse flight-controls, to
keep AndersG and Emilian happy.
2013-03-12 21:45:06 +00:00
Thomas Geymayer
0980f6302a
Rework tooltip size calculations to get rid of delayed update.
2013-03-11 19:25:39 +01:00
James Turner
5b84e09572
Fix phantom tooltips, more mapping modes.
...
Null the tooltip ID in update-hover, regardless of visibility. Avoids later tooltips when picking other (tooltip-less) pickable objects.
Also add two more mapping models for bools: up-down and down-up.
2013-03-11 17:19:32 +00:00
James Turner
7679078aa7
Tooltip tweaks
...
add a 'heading' mapping mode, normalises to 0..360
support a 'measure text' property used to compute the tooltip size (and hence avoid visual jitter when value is changed)
2013-03-10 10:13:47 +00:00
Thomas Geymayer
226d11b104
Tooltips: Use (hopefully) nice background image for tooltips.
2013-03-09 14:03:33 +01:00
Thomas Geymayer
bf3cd83c61
Canvas API: allow passing image size as vector
2013-03-09 14:03:32 +01:00
James Turner
72a1a0047e
Work on tooltips, mouse-input config.
2013-03-08 16:47:00 +00:00
James Turner
6fefc775d7
Ignore tab-switches-mouse-mode if modifiers are set.
...
Clement confirmed that we're still get the tab key for alt-tab and ctrl-tab, which is bad. Explicitly ignore it for now.
2013-03-08 14:02:19 +00:00
James Turner
ce2d316e6d
Tooltip class.
...
This is work in progress, and not visible without additional patches.
2013-03-07 19:51:06 +00:00
James Turner
f2b984f709
User-interface config dialog.
...
This is temporary (hopefully!), to allow experimentation with different UX options in the near future. Right now it basically does nothing. As part of this, factor mouse-mode cycling into a separate command, and add some feedback. Feedback mechanism needs work, currently abusing the copilot facility.
2013-03-07 19:36:54 +00:00
Vivian Meazza
9b697adb4f
Use z/Z to control Max. Vis. when using Detailed Weather
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-03-02 19:38:50 +00:00
Christian Schmitt
312862271d
Position tower on canvas map at the correct place, not at the airport center
2013-03-01 17:16:01 +01:00
Christian Schmitt
0484849b67
Add helipads to the canvas map (grey rectangle for now).
2013-03-01 14:54:33 +01:00
Christian Schmitt
9dff0b4221
Canvas map: cleanup the runway routines. Simplify by using new functions and two runway ends
2013-03-01 14:54:13 +01:00
Thorsten Renk
f2ebbbbc70
Updates to Advanced Weather and cloud shaders - better support for low visibility conditions, improved framerates for Thunderstorm scenario
2013-03-01 09:40:05 +02:00
Christian Schmitt
51936dcff1
Adapt Canvas map to changed runway/taxiway internals
2013-02-28 13:39:07 +01:00
Stuart Buchanan
82f2de2fbc
Support <marker> and <page> tags in the conversion of checklists to tutorials.
2013-02-27 22:46:37 +00:00
Stuart Buchanan
0fc2bf56fb
Air-to-air refueling enhancements
...
- Support selectable tankers
- allow configuration of refueling radius, speed
- add optional reporting of contact
2013-02-24 22:34:11 +00:00
Thomas Geymayer
7027c604de
Tweak SVG parser id handling of text elements
2013-02-23 20:05:13 +01:00
Thomas Geymayer
71f3f878c6
SVG rect rounded corner and refactor rect helper
2013-02-23 19:19:53 +01:00
Thomas Geymayer
5d54d3c504
Improve SVG/Inkscape text parsing/interpretation
2013-02-23 18:27:35 +01:00
Thomas Geymayer
95109b7b0c
Fix parsing multiple SVG transforms and implement scale and rotation
2013-02-23 14:46:26 +01:00
Thorsten Renk
9b6578dcc0
Advanced Weather wind model selection bugfixes
2013-02-11 14:29:15 +02:00
Stuart Buchanan
1539891aa8
Bugfix for aircraft without checklists.
2013-02-09 20:27:05 +00:00
Thomas Geymayer
0bb3a1fe95
Remove CanvasText space hack.
...
With corrected alginment calculations within latest SimGear this
hack is not needed anymore.
2013-02-09 12:25:28 +01:00
Stuart Buchanan
402627b595
Auto-generate tutorials from checklists.
2013-02-07 22:14:19 +00:00
Anders Gidenstam
235c21985e
Nasal/scenery.nas: Handle joining/leaving the MP network at run time.
2013-02-03 19:27:47 +01:00
Anders Gidenstam
7ef68c310a
Nasal/mp_broadcast.nas: Handle joining/leaving the MP network at run time.
2013-02-03 19:27:35 +01:00
Emilian Huminiuc
e8bcd26450
Fix shader dialog.
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2013-02-01 13:21:58 +02:00
Thomas Geymayer
4374ab0ce8
Use new built-in string functions
2013-01-31 22:56:43 +01:00
Thomas Geymayer
8b3fa6f2fe
Fix std.string handling out of range indices in search methods
2013-01-31 20:20:36 +01:00
James Turner
124017a696
GUI: switch to internal file dialog interface.
...
This should give no visible change on platforms other than Mac. On Mac file-dialogs (open, save, choose dir) are now Cocoa native panels, not PUI. If someone wants to create a Windows equivalent, the API is pretty trivial.
2013-01-26 14:16:00 +00:00
Thorsten Renk
1c9f110192
Replace Nasal loop for camera altitude computation by property rule
2013-01-25 14:55:58 +02:00
Stuart Buchanan
840595fa8d
Add support for the Fuel and payload dialog to display the maximum arrested landing weight. Useful for carrier aircraft.
2013-01-22 21:35:33 +00:00
Thomas Geymayer
91ae186330
Canvas API: draw (rounded) rect and rename Dialog to Window.
...
- std.string:
* Add method compare
* Add method starts_with
- canvas.Group:
* Add method rect for drawing (rounded) rectangles
- Rename canvas.Dialog to canvas.Window to free the name Dialog
for real dialogs.
2013-01-22 18:02:20 +01:00
Thomas Geymayer
23c72fd53b
Fix #956 , cleanup canvas map listeners
2013-01-16 23:57:08 +01:00
Thomas Geymayer
ef95c4cf10
parsesvg: fix checking for relative/absolute path
2013-01-11 19:56:42 +01:00
Thorsten Renk
6d8940c4e0
Bugfix creating well-defined starting and re-starting conditions for Advanced Weather precipitation
2013-01-10 13:21:14 +02:00
Thomas Geymayer
73fcf429d0
Canvas/SVG fix calculating transformation center (Group)
2013-01-09 12:14:31 +01:00
Thomas Geymayer
530db2e97a
Ensure canvas dialogs clean up all references to canvas ghosts on destruction
2013-01-01 13:16:19 +01:00
James Turner
6612848745
Explicit 'cleared' callback for FP Delegate.
...
Fix bug 940, where GPS remains in active LEG mode when the route is cleared. (there is an associated flight gear code change). With this fix, the work-around in the GUI dialog is no longer required.
2012-12-31 17:38:18 +00:00
Thomas Geymayer
e9a40e7a79
remove old code (Canvas GUI constants)
2012-12-16 22:36:57 +01:00
Thomas Geymayer
9af21f41c0
Absolute placement for canvas gui dialogs (CSS like right/bottom margin)
2012-12-14 17:25:34 +01:00
Thorsten Renk
28b3d77566
Advanced Weather side fix for precipitation bug
2012-12-13 12:15:21 +02:00
Stuart Buchanan
abcfc2073b
Allow users to reset their joystick configuration from the Joystick Configuration dialog.
2012-12-07 22:42:18 +00:00