James Turner
a3d3e81a86
Set placeholderText from code
...
Avoids a hard requirement of Qt 5.3; only 5.1 is
needed.
2015-02-25 23:14:02 +00:00
James Turner
1898a5fef8
Guard against a crash Torsten encountered once.
2015-02-23 18:22:52 +00:00
James Turner
c9c0833741
Qt launcher: additional arguments UI
...
Add a plain text edit widget to the launcher to support
custom command line arguments.
2015-02-23 13:41:50 +00:00
James Turner
8bfb63e4ed
Launcher: select season.
2015-01-10 14:57:59 +00:00
James Turner
ce10b4c8f1
Ask before creating the custom aircraft dir.
2015-01-10 14:18:44 +00:00
James Turner
55b092771f
Launcher: hook up MSAA checkbox.
2015-01-07 11:30:44 +00:00
James Turner
72e0ea9e40
Only set AUTOMOC for fglauncher target.
...
(Avoids pointless noise for all other targets)
2015-01-07 09:38:02 +00:00
James Turner
02bcb3718a
Hook up parking position in launcher.
2015-01-06 21:12:19 +00:00
James Turner
53b478654c
Linux fixes for launcher code.
2015-01-06 20:36:05 +00:00
James Turner
78e8f53312
In-app launcher for Mac, based on Qt5.
...
The old Mac launcher doesn’t work on Yosemite, add a tiny
Qt-based launcher inside the main process (no need to fork /
exec) which runs before the OSG window is created.
Will be merged for 3.4, hopefully with no impact on other
platforms.
2015-01-06 19:13:30 +00:00
James Turner
7317aff22d
Fix route-path bugs:
...
- accurate fly-over / fly-by computations
- parse additional LevelD XML elements
- path vector contains curves for turns
Remove dead code.
2014-12-18 23:05:28 +00:00
James Turner
01622dd1f4
Fix flight-plan course and distance computations.
...
Always use the RoutePath system for course and distance computations
in the flight plan, so that dynamic segments are handled correctly.
2014-12-08 17:56:15 +00:00
Thomas Geymayer
d836126c75
Better fallback for missing menu and splash translations.
2014-07-30 23:53:16 +02:00
Thomas Geymayer
a673f4a5f9
Nasal: update for simgear changes.
2014-07-21 00:26:54 +02:00
James Turner
3f433e2c35
Fix polar rendering of map. (Bug #55 )
...
Use an azimuth-equidistant projection, which handles high latitudes and
polar regions correctly. Written by Gijs de Rooy.
2014-06-29 21:45:18 +01:00
Thomas Geymayer
821af95e0d
Keep (PUI) menubar visibility on gui-redraw. ( Fix #1251 )
...
For aircraft using fgcommand("gui-redraw"), which is for example
also used by gui.menuBind, the menubar was always hidden and
not shown again.
2014-06-21 14:51:34 +02:00
Thomas Geymayer
75f5eba002
Update includes (required by simgear changes)
2014-06-04 02:58:14 +02:00
Thomas Geymayer
3c0b7f88b8
Updates for simgear nasal::Ghost changes.
2014-06-03 19:00:25 +02:00
Thomas Geymayer
5b74a72506
Canvas: support for custom events and event dispatching.
2014-05-19 00:28:40 +02:00
James Turner
070dba29f9
Close dialogs on GUI shutdown
...
- avoids orphaned dialogs on reset
- requires some guards in NasalSys since Nasal is shutdown first, but
dialogs can have Nasal modules.
2014-03-16 22:52:55 +00:00
Thomas Geymayer
764fbd519c
CanvasWidget (PUI): make button index consistent with Canvas windows
2014-03-15 15:01:09 +01:00
James Turner
f2a3090384
Fix some Clang warnings.
2014-03-11 16:46:00 +00:00
Thomas Geymayer
de38157916
FGPUIDialog: fix reading from already free'd memory.
...
Calls to updateValues can cause nested calls invalidating
the char* passed as argument, if retrieved from a
SGPropertyNode.
Probably SGPropertyNode should also be modified to return
a std::string instead of a pointer to an internal buffer.
2014-02-28 17:34:41 +01:00
Christian Schmitt
a0184ac80c
MapWidget: silence compiler warning
2014-02-02 16:47:25 +01:00
James Turner
4df9c61d2a
Check for and warn about old nVidia drivers.
...
(Had a bug report with someone using 189 drivers on Windows!)
2014-01-27 17:27:12 +00:00
James Turner
1a372d9366
Update image-server logic.
...
- no dependency on libJpeg or Simgear
- no duplicate rendering of the scene (uses a draw callback)
- supports other image types, eg PNG
- threaded so doesn't block the main loop ever
2014-01-27 09:08:34 +00:00
James Turner
45d67406a4
CrashRpt tweaks, checking.
...
- show a message box if setup fails
- log setup status
2014-01-22 22:33:30 +00:00
James Turner
1b585fa415
Windows native file-dialog, menu-bar
...
By Gijs with additions by James. Menubar is disabled at present
since it's not usable and potentially inferior to other solutions,
but committing the code so it doesn't rot.
2014-01-20 18:43:02 +00:00
James Turner
5e7574c9c2
Bug-fix: Cocoa menus work in aircraft with custom dialogs.
...
Restarting the GUI could cause Cocoa menus to misbehave, due to
destruction behaviour of SGBinding. Use new clear() helper in the
short term to work around this.
2014-01-15 22:00:09 +00:00
James Turner
1b9394fc37
Crashfix: move spatial, AI queries in map-widget
...
In threaded OSG drawing, MapWidget::draw runs in the render
thread context, but touches lots of main thread state. Move most of the
work to an update() helper run on the main thread instead, so draw()
mostly makes pure GL calls.
(This is a fix for 3.0, the real solution is to migrate to a
Canvas-based map and GUI)
2014-01-14 13:11:06 +00:00
James Turner
4c51ad0d87
Cocoa: fix warning about deprecated function.
...
SetFrontProcess is deprecated, use NSApplication instead now we
have the CocoaHelpers file.
2013-12-21 15:31:27 +00:00
Clément de l'Hamaide
efdb488736
Fix accent bug in MapWidget
2013-12-01 18:50:54 +01:00
James Turner
77075a2d66
Cocoa: more Function-key shortcuts in menus
2013-11-24 17:25:02 +00:00
James Turner
d99109c9e4
Reset: do re-init Ghost bindings.
2013-11-24 15:10:00 +00:00
James Turner
57c9ed1ae3
Cocoa menu fixes for reset
2013-11-24 15:10:00 +00:00
James Turner
0fbc448af0
Nasal changes for reset
...
- reduce use of global context (will die soon)
- replace static wrappedNode ref which breaks reset
2013-11-22 22:52:33 +00:00
James Turner
1f699984e9
One more Mac helper moved into CocoaHelpers.mm
2013-11-19 22:01:11 +00:00
James Turner
2331956539
One more Mac helper moved into CocoaHelpers.mm
2013-11-18 15:52:30 +00:00
James Turner
8b4b49cad2
Read-only mode fixes.
2013-11-18 15:40:14 +00:00
James Turner
fecb475145
Refactor Cocoa helpers.
...
Change away from using deprecated FSFindFolder.
2013-11-16 10:58:17 +00:00
James Turner
0cda3cbfb2
Multiple-instance support.
...
Write PID file to FG_HOME, use this to detect multiple launches.
When this situation is detected, set a marker property and place various
objects into read-only mode, such as the NavCache and TerraSync.
PID file is created using open+unlink semantics on POSIX, and
DELETE_ON_CLOSE on Windows, so it will be removed when fgfs exits,
even if killed or crashes.
2013-11-15 21:04:15 +00:00
James Turner
136cd6ac51
Message box support.
...
This allows us to display a platform-native dialog for problems
which occur early in startup (before we can show a PUI/Canvas dialog).
In particular this improves feedback where FG_HOME, FG_DATA or
aircraft selection is wrong, all of which happen very early in startup.
2013-11-14 22:02:29 +00:00
James Turner
e25aa4f004
Fix some static property references.
...
(These cause problems when replacing the property tree during reset)
2013-11-14 16:37:46 +00:00
James Turner
881df711ba
Reset: Nasal can be shutdown.
...
Also guard against duplicate init of cppbind wrapped classes.
2013-11-12 22:47:41 +00:00
James Turner
02a5261797
Reset: GUI can be shutdown.
2013-10-29 23:02:46 +00:00
James Turner
f499913762
Map shows all airports when zoomed in.
...
Bug 1135, or part of it.
(Ignore the short-runway culling when zoomed in)
2013-10-15 22:28:10 +01:00
James Turner
a45e3d1d07
Bug 1217, crash on AI traffic data.
...
Guard against flight plans with missing airport
information.
2013-10-15 22:27:19 +01:00
James Turner
38a373ba84
Display AI traffic route in map.
...
Add some helpers so MapWidget can show the
origin and destination of AIAircraft with a FlightPlan.
2013-09-14 12:17:33 +01:00
James Turner
1924bdfd82
Bug 550 / 454 work (not yet fully fixed)
...
Adding a spherical projection mode which will work at the poles and
+180/-180 line correctly. Not yet enabled since it has other issues to
be addressed.
2013-06-30 16:41:05 +01:00
James Turner
45ea8b5daa
Bug 947, menu item state wrong after reset.
...
Mark the entire /sim/menubar tree as PRESERVED, so reset doesn't
mess up all the state.
2013-06-25 21:28:56 +01:00
James Turner
145148944f
Kill off platformDesktopPath entirely
2013-06-20 00:20:12 +01:00
James Turner
6d158e886c
Abstraction for the user's desktop location.
2013-06-09 23:00:09 +01:00
Thomas Geymayer
3d3475e965
Small cleanup.
2013-06-03 23:46:27 +02:00
Thomas Geymayer
220f359d34
Fix crashing without support for GLSL/OpenGL 2.0
2013-04-24 00:19:37 +02:00
Thomas Geymayer
60bec150aa
Reduce severity of warning for missing gui/dialogs directory
2013-03-20 18:02:11 +01:00
Christian Schmitt
f11201d3d9
MapWidget: make partially use of the new colocated DME information.
...
Until a better way to draw proper symbols is implemented, this has to do.
2013-03-15 14:07:32 +01:00
James Turner
ead479532b
New cursor shapes.
...
Unfortunately OSG lacks the 'closed hand' (aka 'grab') cursor, really time to get platform cursor working reliably.
2013-03-10 12:05:14 +00:00
Christian Schmitt
461d89cb22
Fix some uninitialized variables (found by valgrind)
2013-03-10 01:24:57 +01:00
James Turner
b29470c129
Disable native cursor on Windows for now.
...
There's an unfortunate interaction with osgViewer on Windows that needs to be resolved, before the can switched on.
2013-03-07 19:33:46 +00:00
Thomas Geymayer
3047c316dc
Clean up/simplify NasalPositioned_cppbind
...
Ensure all FGPositioned related functions return SGSharedPtr
instead of raw pointers to allow automatic conversion to
nasal ghosts without custom helper functions.
2013-03-06 23:21:49 +01:00
James Turner
23a1d4338d
Windows cursor implementation.
...
This does not (yet) support custom cursor images, but can be easily
extended to do so.
2013-03-06 18:22:37 +00:00
Thomas Geymayer
1c905e5881
Typos, license headers...
2013-03-06 01:04:52 +01:00
James Turner
034140914c
Windows cursor handling stubs.
2013-03-05 20:59:05 +00:00
James Turner
8dc936b44b
Forgot GPL license on new files.
2013-03-05 20:53:43 +00:00
Christian Schmitt
658bda6e40
MapWidget: Show counties and towns as well, depending on the zoom.
...
Some colors added.
2013-03-05 18:26:01 +01:00
James Turner
4c32b832ec
Stray debug message, remove.
2013-03-05 14:29:14 +00:00
James Turner
f2c267f5d7
MouseInput changes to support hover.
...
This adds the framework for platform cursor implementations; Windows and X11 to be done.
It also extend the mouse-input code to generate hover events suitable for driving tooltips.
Note there should be no visible functionality change from this commit, since everything
is inactive until fgdata changes are made.
2013-03-04 23:35:30 +00:00
Christian Schmitt
6bf47cd248
MapWidget: make use of the new POI system and display cities on the map.
...
This is meant as a preview.
2013-03-04 00:27:12 +01:00
Thomas Geymayer
0587db3b1e
Update for nasal::Ghost changes
2013-03-03 19:30:16 +01:00
James Turner
88a4435cef
Remove isReciprocal from FGRunway.
...
This was a bogus concept, either runways have a reciprocal or not (if singled-ended), really this was simply exposing an artefact of the apt.dat encoding. Change to an API which gives what is actually wanted - the ability to extract an airport's runways without any reciprocals included.
2013-02-28 18:21:29 +00:00
Thomas Geymayer
3ea69785d9
CanvasWidget: automatically set auto-viewport.
...
If no viewport dimensions are given the viewport
will now automatically resize, otherwise it stays
unchanged.
2013-02-25 15:39:30 +01:00
Thomas Geymayer
045fc5b4ae
CanvasWidget: add auto-viewport property.
...
The auto-viewport property allows to disable automatic
update of the canvas viewport update upon resizing
the PUI canvas widget.
2013-02-25 15:32:07 +01:00
James Turner
1eb8ae1fbf
Give the FGAirport class a sane filename.
...
simple.[cxx|hxx] -> airport.[cxx|hxx]
2013-02-21 11:32:02 +00:00
Christian Schmitt
11c00afaec
Add support for helipads from apt.dat 850+
2013-02-21 00:01:36 +01:00
James Turner
7b663cd7f7
Split huge NasalSys header apart.
2013-02-09 15:33:05 +00:00
James Turner
ce9afecdbd
Support a log-list widget in PUI.
...
Add a puaListBox which can show the contents of a log-buffer. Currently only two buffer sources are supported more to follow (and the dialog XML updates).
2013-02-08 19:39:41 +00:00
Frederic Bouvier
7cc3ffb30f
Fix build for windows after logstream changes
2013-02-08 08:46:34 +01:00
James Turner
7cf4aa2d86
Make various PUI widgets private.
2013-02-07 12:02:52 +00:00
James Turner
11f15a9b36
Joystick/dialog caches, commit the transactions.
2013-01-25 09:30:31 +01:00
James Turner
37900e22a8
Wrap dialog and joystick stat-cache in a transaction.
...
Should improve startup times when the cache is rebuilt.
2013-01-24 09:27:09 +01:00
James Turner
a31c2d519c
Tolerate old blocks support in 10.6 compiler.
2013-01-22 18:33:16 +01:00
James Turner
980105385d
Use the aircraft position helper.
2013-01-22 18:15:05 +01:00
James Turner
c70bd65922
Tweaking syntax for 10.6 block locals.
2013-01-19 18:05:35 +00:00
James Turner
008a2d65f1
Make it all work with existing FileSelector API.
2013-01-19 16:23:05 +00:00
James Turner
9f8c66fbf9
Cocoa: use a window-sheet, and fire the callback.
2013-01-19 14:41:45 +00:00
James Turner
2e1fb7972e
Initial work on native file dialog support.
...
Add an abstract interface, version that forwards to the existing PUI dialog, and a Cocoa-native version.
2013-01-19 14:41:45 +00:00
James Turner
1e8cdd5829
Support partial all-within-range spatial queries.
...
As an opt-in API, allow clients to request partial results, with a time-bounded cutoff. Use this to keep the MapWidget responsive even when many airports are being added to the cache (e.g., zooming out or panning rapidly when zoomed out)
2012-12-18 10:23:44 +00:00
Thomas Geymayer
41d285a821
Canvas: remove old event handling code
2012-12-16 19:04:38 +01:00
James Turner
433af2b51a
Flight-path-history.
...
Record the historical flight-path (by default, since last takeoff). Optionally display the flight-path in the map; other visualisations (e.g., an 'in-world' view) could also be created. Nasal API to follow so Canvas-map or FMS can show the same data.
Altitude and attitude (Euler angles) are currently recorded but not used anywhere.
2012-12-10 18:11:44 +00:00
Thomas Geymayer
e62649e075
CanvasWidget: Retrieve texture id every frame.
...
If the size of a Canvas changes also the texture id
changes. We now retrieve the texture id for the CanvasWidget
every frame to ensure it uses the latest texture instance.
2012-12-09 23:15:49 +01:00
Thomas Geymayer
13cec7bd99
Canvas MouseEvent now provides client and screen position
2012-12-08 15:02:15 +01:00
Thomas Geymayer
91bc5e522a
Canvas add event time and expose current click count
2012-12-06 23:27:25 +01:00
Thomas Geymayer
ab1c0e946f
Fix calculating CanvasWidget mouse coordinates
2012-12-02 23:59:44 +01:00
Thomas Geymayer
8d8e9c3913
Fix for old PUI versions
2012-12-02 15:47:21 +01:00
Thomas Geymayer
28f2779c4b
Forward mouse events from (PUI) CanvasWidget to Canvas for new DOM like callbacks
2012-12-02 13:33:16 +01:00
James Turner
04598859e3
Make PUI menu-bar reinit safe.
...
Was only cleaning up the PUI menubar, not old bindings / names. This led to duplicate bindings, each time the GUI was reset, which can happen for various reasons.
2012-11-20 13:32:10 +00:00
Thomas Geymayer
d51499382d
Clean up CanvasWidget and more work on Canvas/Nasal bindings
2012-11-18 16:46:03 +01:00
ThorstenB
a784443a24
Remove static property dependencies
...
preventing us from wiping properties on reset/reinit/subsystem recreate.
(more work required for "native_gui" and "ATC-Outputs" protocols)
2012-11-18 16:35:54 +01:00
ThorstenB
076bbb8487
Fix some compiler warnings.
...
Unused vars, loss of precision, bool type conversions.
2012-10-13 17:59:47 +02:00
ThorstenB
b838691f50
#897 : float vs double precision issues (frequency dialog not always working)
...
puObject only provides float, not double, which causes precision/rounding
issues with some numerical values (try "114.2").
Work around: obtain string value, and manually convert with proper double
precision.
2012-10-10 20:28:17 +02:00
ThorstenB
dac8706e2e
Move GUI init code to gui module.
2012-09-25 22:39:13 +02:00
ThorstenB
2003e7cf2a
Avoid compiler warning.
2012-09-21 15:36:52 +02:00
James Turner
d7d19649aa
Fix a stupid logic bug when re-ordering waypoints.
...
http://code.google.com/p/flightgear-bugs/issues/detail?id=870
2012-09-21 12:47:51 +01:00
James Turner
d56ac505c4
Linux needs explicit <cstring> include.
2012-09-21 11:34:28 +01:00
James Turner
666a68c742
Lazy GUI dialog loading, for slightly faster startup.
2012-09-21 10:16:44 +01:00
James Turner
9b900e9430
Implement a persistent cache for navigation data.
...
Cache the parsed navigation and airport data in a binary file to reduce
startup times and memory consumption (since only referenced FGPositioned
elements are held in memory).
Data will be reimported when the mod-time of any input file is changed.
If a global file is changed (nav.dat, awy.dat, apt.dat, etc), the cache
will be completely rebuilt, which takes approximately 30 seconds on
moderate hardware. (Future work may reduce this).
2012-09-19 11:38:19 +01:00
Stuart Buchanan
cce186a57c
Add properties for raw axis and button values, for use
...
in joystick configuration function. Also rationalize references to
/sim/fg-home into a global property.
2012-08-23 21:52:30 +01:00
James Turner
7fabeed85d
Fix some places relying on public 'using std::string' in SimGear
...
(Otherwise my next SimGear commit will break them)
2012-08-21 17:07:47 +01:00
ThorstenB
59fe04f8e9
Make web browser app configurable through CMake (for Linux)
...
so package builders don't need local patches.
Also, instead of hardcoded firefox, use "xdg-open" or "sensible-browser"
launchers on Linux, to auto-detect user's preferred browser.
Override with cmake switch -DWEB_BROWSER=...
(Not affecting Mac/Win which are hard-coded anyway).
2012-08-18 14:11:31 +02:00
Thomas Geymayer
83bbd9e45c
Canvas: Image/Window unifying and allow using canvas inside canvas.
...
- Refactor and unify common functionality of canvas::Window and
canvas::Image
- Make canvas::Image actually work
- Allow using canvases inside canvas::Image
* Use new canvas:// "protocol" to allow using canvases in
place of images
- Prepare for categorizing canvases:
* Move canvases to /canvas/by-index
* Later support linking to other nodes in subbranches of
/canvas
2012-08-09 16:13:38 +02:00
James Turner
4593c3521f
Fix a crash with the native menubar.
...
http://code.google.com/p/flightgear-bugs/issues/detail?id=821
2012-08-05 21:30:15 +01:00
Frederic Bouvier
766014883c
Fix Win32 build - No GLUT please \!
2012-08-01 08:53:40 +02:00
Thomas Geymayer
91c3f63110
Canvas: UTF-8 support and more settings exposed.
...
- Allow hiding objects
- Use UTF-8 encoding for text elements
- Add paramter max-width to text elements
- Support stroke-linecap for path elements
- Fix mouse coords
- Set better mipmap filter
2012-07-31 23:19:23 +02:00
Thomas Geymayer
373d511c69
Canvas: Allow using canvases as PUI widgets.
...
- Add new widget type canvas
- Set canvas view dimension from the gui xml.
- Expose mouse events to canvas widget properties.
2012-07-31 23:19:22 +02:00
James Turner
36fe51c7f0
Add property to disable native menu on Mac.
2012-07-30 17:05:01 +01:00
ThorstenB
ec739a17c2
Fix compiler warning
...
(access beyond array bounds)
2012-07-17 19:32:05 +02:00
James Turner
e226983835
Revised patch from Yves to fix Mac 10.5 compilation
...
NSMenuDelegate is an informal protocol before 10.6, so declare it locally in that case.
2012-07-10 08:39:11 +01:00
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