James Turner
9e344ee645
Avoid crash when reloading GUI from debug menu.
2011-11-20 16:33:22 +00:00
James Turner
ebfdebeb43
Cocoa menu-bar implementation.
2011-11-20 16:26:05 +00:00
James Turner
8b340ff043
Hopefully fix non-Mac ;)
2011-11-19 22:42:15 +00:00
Frederic Bouvier
394cc3ee9f
Fix MSVC build
2011-11-19 23:37:42 +01:00
James Turner
daa973f1bc
And make FGMenuBar abstract too, sinking the current implementation into FGPUIMenubar
2011-11-19 22:04:35 +00:00
ThorstenB
76baf75a47
Fix include dependencies for non-Mac platforms.
...
;-)
2011-11-19 22:48:26 +01:00
James Turner
03c966de13
Make FGDialog an interface, moving existing code to FGPUIDialog implementation. (no functionality change, yet)
2011-11-19 20:46:17 +00:00
James Turner
a05ea36acb
Restructure GUI code, isolate PLIB in source files, to ease future refactoring and alternative GUI layers.
2011-11-19 20:25:51 +00:00
James Turner
d2d3fc054e
Flip map zoom, to fit with user expectations better. http://code.google.com/p/flightgear-bugs/issues/detail?id=485
2011-11-08 21:06:51 +00:00
James Turner
70b4f38ebc
Goodbye automake.
2011-11-01 11:15:53 +00:00
James Turner
b1b4b7ecf4
Fix (nearly) all the std:: namespace violations in headers, in preparation for fixing SGsmplstat.hxx to *not* do a 'using namespace std'.
2011-10-17 17:41:59 +01:00
James Turner
3d544fbc1f
Tweak map-widget data boxes for AI objects, so speed/altitude update in real-time.
2011-10-12 22:33:56 +01:00
ThorstenB
30e2db94b1
Add generic "open-browser" command to show URLs or local HTML/text pages.
...
Replace deprecated "old-help-dialog" command with generic "open-browser".
Can also be used to add links to aircraft manuals in the menubar (local
file or http) , i.e.
<binding>
<command>open-browser</command>
<path>Aircraft/ogeL/FlightManual.html</path>
</binding>
2011-10-09 12:37:43 +02:00
James Turner
465557cfa7
Improve magnetic heading handling in MapWidget - following some testing at NZCH
2011-10-02 14:30:06 +01:00
James Turner
283b26114c
Fix glx shutdown to only apply on Unix & !Mac (but we should really add a proper ifdef for GLX)
2011-10-01 10:05:01 +01:00
Mathias Froehlich
978a577ea2
Ugly workaround for a crash on exit with multiple screens
2011-10-01 09:50:34 +02:00
James Turner
5a17ccf9eb
Push aspect-ratio handling into CameraGroup, so renderer doesn't need to resize viewports each update.
2011-09-21 17:13:53 +01:00
James Turner
66a3a7f164
Make map widget zoom a real property, so it persists between opening and closing the dialog.
2011-09-18 12:53:40 +01:00
Frederic Bouvier
5e30675c70
Fix issue #398 : Menubar - Help > Help opens strange path when including space character
2011-08-08 23:26:58 +02:00
James Turner
6c52a5ac85
Fixes for include-file flattening - condition.hxx no longer pulls in props or props_io
2011-07-30 10:47:28 +01:00
James Turner
7abf7c5748
CMake header support for XCode/Visual Studio
2011-07-19 07:58:03 +01:00
James Turner
8e682cb8a4
Disable flight-related key-bindings in the WaypointList widget for 2.4 release, pending a better solution to PLIB's lack of focus.
2011-07-16 13:25:29 +01:00
Torsten Dreyer
279fbdc837
Fix #357 : Enabling "fixes" on map dialog crashes FG
...
This happened for fixes with names shorter than 5 characters.
range check added, which operator[] does not perform.
2011-06-28 12:51:00 +02:00
ThorstenB
702d323a39
issue #127 : make screen shots work with OSG multi-threading
...
Make sure actual snap shot is executed in graphics context.
(Revert the revert :) - since the basic issue in simgear is solved now)
(patch requires simgear+fgdata update!)
2011-06-13 20:31:27 +02:00
ThorstenB
25fdbebd57
Revert "issue #127 : make screen shots work with OSG multi-threading"
...
This reverts commit b4d90150c5
.
2011-06-13 00:52:43 +02:00
ThorstenB
88f7c05274
Introduce "PRESERVE" flag to protect properties on sim reset.
...
Some specific properties need protection and shouldn't be restored to their
original values on sim-reset.
2011-06-12 20:31:56 +02:00
ThorstenB
b4d90150c5
issue #127 : make screen shots work with OSG multi-threading
...
Make sure actual snap shot is executed in graphics context.
(patch requires simgear+fgdata update!)
2011-05-28 23:27:46 +02:00
ThorstenB
9f13c49d29
issue #316 : panning not working when center-on-aircraft enabled
...
Panning feature looked broken to some users since auto-center is enabled
by default which blocks panning. center-on-aircraft is now disabled
automatically when view is panned.
2011-05-20 19:48:05 +02:00
ThorstenB
0c500d4fc4
Wish #304 : MapWidget's center-on-aircraft button should be sticky
...
Thanks to Victhor Foster for the idea.
2011-04-16 10:53:09 +02:00
ThorstenB
d7798a7cc2
Slightly brighter blue color level for map widget
...
Almost couldn't see the new blue color on my screen.
Enjoy the blues... :)
2011-03-27 11:32:41 +02:00
Stuart Buchanan
23971c17aa
Improve display of shipping in map widget.
2011-03-26 11:02:00 +00:00
Torsten Dreyer
f938a23d7c
clear two gcc warnings
2011-02-25 20:46:18 +01:00
ThorstenB
7f846d20c7
Make route editing sane.
...
Drag&drop, insert and remove now update the current waypoint as expected.
2011-01-23 00:45:06 +01:00
James Turner
7cbb3a10ed
Expand route-manager waypoint info, to support smarter FMS functions.
2011-01-20 00:39:42 +00:00
Curtis L. Olson
7fb8114feb
Add code to draw AI ships on the map widget (useful for carrier ops.)
...
An AI Tanker requested from the AI menu has an id of -2, so change the code to
only ignore AI models with an ID of -1.
2011-01-07 13:05:47 -06:00
James Turner
7d58b44f73
Alexey Varjat: Add ILS data to GUI/MapWidget
2011-01-03 17:29:24 +00:00
James Turner
a91ec5f9f9
Initial work on CMake build files, with considerable help from Olaf Flebbe.
2010-12-19 15:06:04 +00:00
Torsten Dreyer
58fbd0d72a
msvc warning fixes
2010-12-15 16:40:25 +01:00
James Turner
2c175f57ae
Override puaComboBox recalc_bbox, ignore the popup-menu
2010-12-07 10:33:14 +00:00
Tim Moore
38e1600bed
add a command to print information about visible objects in the scene
2010-11-15 00:09:52 +01:00
Christian Schmitt
0a5e86f4e6
remove old .cvsignore files
2010-11-11 01:16:29 +01:00
James Turner
e5abcb1d4e
Merge commit 'refs/merge-requests/9' of git://gitorious.org/fg/flightgear into integration/merge9
...
Conflicts:
src/GUI/new_gui.cxx
2010-10-25 09:12:21 +01:00
ThorstenB
d61e992d76
Fix occasional start-up crash when reading GUI XMLs.
...
_dialog_props holds SGSharedPtrs (pointers managed by reference counters).
Explicitly casting the object to an unmanaged SGPropertyNode* and deleting it
may cause heap corruption, since the following assignment "_dialog_props[..] = ..."
also tries to delete the (already deleted) object.
2010-10-24 21:36:15 +02:00
James Turner
7ccba95b9c
Remove direct uses of PLIB ulXXX functions
2010-10-24 07:10:51 +01:00
James Turner
dd2eec7bd8
Airways/procedures code - add new data structures to store waypoints and
...
procedures, and routing algorithms, and modify the GPS, route manager and
WaypointList to use the new objects.
2010-10-20 09:02:02 +01:00
James Turner
1afd4e602e
Get rid of FGGeneral; expose equivlanet values via properties.
2010-10-01 09:33:31 +01:00
James Turner
582c1e8df8
Tidy new_gui header
2010-09-30 23:10:00 +01:00
James Turner
19360a8425
Fix 'using std::' abuses
2010-08-09 08:36:20 +01:00
James Turner
5c507beba2
Fix up Win32 GUI code after simgear/screen cleanup; deprecated dialog code going away.
2010-07-31 16:56:07 +01:00
James Turner
18d42ec1af
Rename reInit() method to 'resetSimulator', and document that it's hooked up to the 'reset' command.
2010-07-01 22:50:11 +01:00