James Turner
18469f0059
SafeTexFont is unused, remove from build & Git
2012-06-21 12:00:52 +02:00
Frederic Bouvier
cd06896b2d
Reset pointers in menus
2012-06-10 22:25:58 +02:00
James Turner
ffac5ff889
Standard property to ignore unusably short runways in NavDB.
...
Default values should match existing behaviour. Set
/sim/navdb/min-runway-length-ft to skip short runways
in GPS / Map / ND / Nasal queries.
2012-05-16 16:51:39 +01:00
James Turner
2999675234
From TomG - support per-aircraft GUI dialogs a little easier.
2012-05-15 18:06:38 +01:00
James Turner
b0384d035f
Remove remaining includes of simgear/waypoint
2012-05-11 23:49:12 +01:00
James Turner
8aeb650d16
On OS-X, used NSWorkspace to launch the browser.
2012-05-07 23:49:21 +01:00
James Turner
ff91fec1bb
Fix various route-manager issues reported by Hyde.
2012-05-07 23:48:56 +01:00
James Turner
1b7b69b498
Create a real FlightPlan (and Leg) class
...
Convert the route-manager to use a flight-plan internally, and expose
flightplan, leg and procedure data to Nasal. Move the Level-D parser
into its own file.
2012-05-07 00:35:48 +01:00
ThorstenB
1f7b57546d
Fix Mac compile.
2012-05-05 09:41:23 +02:00
ThorstenB
c5ce8e29ca
Support localized menu on Mac/CocoaMenuBar.
2012-05-05 09:30:52 +02:00
ThorstenB
e59fabaf82
Clean-up some SGMath dependencies.
2012-05-05 00:56:29 +02:00
ThorstenB
c808376927
Use separate header file for vector properties.
...
(We could drop the "SGMath.hxx" include in many places now...)
2012-05-05 00:12:41 +02:00
James Turner
1632c5b266
Add an auto-release pool wrapper to the Cocoa code
...
Hopefully this will address some warnings seen on Mac
2012-05-02 21:24:44 +01:00
ThorstenB
05588c2ee4
Adapt font size behaviour to original plib font.
...
Original plib 'Helvetica 12' reported point size "13". Stick with this to
keep backward compatibility of GUI layouts.
2012-05-01 11:44:52 +02:00
ThorstenB
89b41395d8
Move viewer-related sources to separate folder.
...
Simple source directory clean-up, so "Main" folder contains fewer stuff
and the list of files in the editors a lot shorter.
2012-04-25 23:28:00 +02:00
ThorstenB
17651be494
Try to fix MSVC build.
...
MSVC wants to see the full "SGVec3" class spec, not just the fwd
declaration provided by SGMathFwd.hxx.
2012-04-22 09:40:36 +02:00
ThorstenB
f3502a760b
#263 : (Re-)introduce language option for menu
...
Adapt FGPUIMenuBar to use new Locale module.
Adds support for separate "key" property for menu items, so keyboard hints
are no longer part of the item's label (and do not need to be part of the
translated text resources).
2012-04-21 20:18:01 +02:00
ThorstenB
470552fab1
Move locale code to separate module.
...
Introduce convenience methods to handle localized string resources
and obtain strings.
2012-04-21 20:17:42 +02:00
ThorstenB
056b85bc1f
Add Latin1 character subset to default FG font.
...
Copies HELVETICA_12 from PLIB to FG, adding some more chars needed for
Latin1/ISO-8859-1 (West European languages).
(SANS_12B and HELVETICA_14 also support Latin1, but not the other default
PLIB fonts).
2012-04-21 19:06:11 +02:00
James Turner
2e5febec7d
Work on an azimuthal project mode for the map, to improve behaviour in polar regions. Disabled for now since performance is extremely poor.
2012-04-21 11:14:45 +01:00
James Turner
4bde2451b0
Avoid a crash when using the native menubar on Mac, due to non-static classes with identical names.
2012-03-26 17:38:09 +01:00
James Turner
b501dc97ce
Bug 620, respect enable/disable state of entire menus when using native Cocoa menu
2012-01-25 18:56:51 +00:00
James Turner
da7adf63c0
Shortcuts support in the Cocoa menubar. We have fewer keyboard shortcuts for menu items than I realised.
2012-01-06 23:46:35 +00:00
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