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
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
Torsten Dreyer
c89b18ddbd
Ignore generated files
...
add generated files to gitignore that has also been in cvsignore
remove generated config.h-msvc* from source control
2010-06-02 11:27:16 +02:00
Tim Moore
0d45920098
Merge branch 'jmt/gps' into next
2010-04-25 18:31:19 +02:00
jmt
3419b28919
MapWidget: fix a crash on uninitialized.
2010-04-25 09:00:41 +02:00
Tim Moore
ebdeb3eed3
Merge branch 'jmt/gps' into next
...
Conflicts:
src/Instrumentation/navradio.cxx
2010-03-28 15:32:59 +02:00
jmt
e4c4a3a412
MapWidget for the GUI, initial commit.
2010-03-28 15:25:47 +02:00
Tim Moore
39def8132a
Merge branch 'jmt/gpswidget'
2010-03-28 15:15:58 +02:00
Tim Moore
7ee645aa20
Merge branch 'timoore/getpath-rebase' into next
2010-03-09 11:25:18 +01:00
Tim Moore
7ff80d11a0
changes for SGPropertyNode::getPath return type
...
It's now a std::string.
2010-03-09 11:24:45 +01:00
Tim Moore
0b6579d6fb
Merge branch 'jmt/gpswidget' into next
2010-02-25 23:34:04 +01:00
jmt
8e12b0b679
Make automake happier.
2010-02-25 23:33:43 +01:00
Tim Moore
4ae8c90f76
Merge branch 'jmt/font'
2010-02-25 12:06:08 +01:00
Tim Moore
51846e5129
Merge branch 'jmt/gpswidget' into next
2010-02-23 08:53:58 +01:00
jmt
f0e72608a7
waypointList: stop using GNU extension / C99 features.
2010-02-23 08:53:46 +01:00
Tim Moore
da8be3ae7b
Merge branch 'jmt/gpswidget' into next
2010-02-22 09:37:05 +01:00
Tim Moore
247219d1f1
remove trailing slash / empty line from Makefile.am
2010-02-22 09:36:10 +01:00
Tim Moore
de79ec4421
Merge branch 'jmt/gpswidget' into next
2010-02-21 22:26:29 +01:00
jmt
4468d785b5
GPS / route-manager: add new custom widget to display the waypoints list.
...
Supports various new editing features, including dragging to re-order, and
+/- keys to adjust the target altitude for a waypoint. Also displays some
additional information, and will display *even* more once I land airways/
SID/STAR support.
2010-02-21 22:26:14 +01:00
Tim Moore
351d1ddb5e
Merge branch 'jmt/gui' into next
2010-02-17 07:41:48 +01:00
jmt
4f99561f63
Quiet: reduce log-level of various things from INFO to DEBUG or BULK, and tune the categories/level of some specific messages.
...
Commit split by timoore in order to apply most of it to maint branch.
2010-02-17 07:41:23 +01:00
jmt
26361f2f5a
Bugfix: stop dialogs jumping around when re-layout occurs - make positions persistent.
2010-02-17 07:31:05 +01:00
jmt
73334cf61b
Bugfix #35 / denker #20F:
...
Guard against invalid font names in panel XML files, and make font name
comparisons case-insensitive so that 'helvetica', 'Helvetica' or 'HELVETICA'
work as expected.
2010-02-11 00:20:59 +01:00
fredb
00e9ad3055
MINGW patch from Benot Laniel
2010-01-25 17:12:04 +01:00
Tim Moore
8933486a56
Merge branch 'jmt/dialog'
2009-11-26 23:32:38 +01:00
jmt
71c03b1ce4
Dynamic combo-boxes; read values from the property tree.
2009-11-04 23:13:42 +01:00
Tim Moore
3c5679fa40
Merge branches 'jmt/dialog' and 'durk/scenery'
2009-10-12 11:06:12 +02:00
jmt
23ce537168
Update for screen-dumps in PNG format instead of PPM.
2009-10-07 08:24:59 +02:00
jmt
90106c59ce
Dialog support for conditional enable and visible flags, and re-running layout when conditions change. Used by the GPS code, but potentially in many other places I expect.
2009-10-04 02:06:48 +02:00
torsten
16eefc84d1
Tatsuhiro Nishioka:
...
Patches for configure.ac and Makefile.am files in FG/SG so Mac developers can build these in a unix way.
These also enables Mac developers to choose either PLIB framework or PLIB static libs.
2009-09-17 22:54:42 +02:00
Tim Moore
8238bcddbd
fix warnings in GUI code
2009-08-24 18:00:10 +02:00
torsten
0c2db22988
Advanced input subsystem - Step1: cleanup dependencies
2009-08-08 08:37:14 +02:00
fredb
94caa0b891
Fix case typo
2009-07-27 23:52:33 +02:00
fredb
9718338560
Compile under MSVC9
2009-07-27 23:52:33 +02:00
Tim Moore
7d6c567fde
Refer to property types using props:: namespace
...
BOOL, FLOAT etc. conflict with typedefs in windows.h.
2009-07-17 14:54:12 +02:00
timoore
5cf18d30c6
Support for VEC3D and VEC4D properties.
...
Tiny update to property_list for extended properties.
New property types in nasal.
2009-07-16 12:10:47 +02:00
timoore
4cc3084256
SGPropertyNode::Type moves to simgear::props namespace
2009-07-16 12:10:47 +02:00
fredb
219be77f1e
Suppress warnings
2009-07-02 08:59:16 +02:00
Tim Moore
b588a92b7f
adapt to changes in sg_exception interface
...
sg_location now uses C strings. Also, change uses of sg_throwable to more
specific exceptions like sg_io_exception.
2009-06-16 11:46:47 +02:00
mfranz
744a23d0aa
fix leaks; make destructors virtual
2009-05-18 12:24:16 +02:00
mfranz
a57b626633
Ctrl-Shift-click on the '.' entry fires listeners of the parent node.
...
This can be used to validate atomic branches after individual members
have been changed.
(This is useful no matter how the discussion on aggregate property types
ends, and not meant to enforce/accelerate a decision.)
2009-04-15 23:19:29 +02:00
mfranz
6a590ce9de
gui/embedded nasal: don't rely on the nasal system being available
2009-04-01 09:23:54 +02:00
frohlich
a99ea1c7b5
Port over remaining Point3D usage to the more type and unit safe SG* classes.
...
Remove leftover headers from plib/sg.
Modified Files:
src/AIModel/AIBase.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx
src/ATCDCL/AIEntity.cxx src/ATCDCL/AIEntity.hxx
src/ATCDCL/AIGAVFRTraffic.cxx src/ATCDCL/AIGAVFRTraffic.hxx
src/ATCDCL/AILocalTraffic.cxx src/ATCDCL/AILocalTraffic.hxx
src/ATCDCL/AIMgr.cxx src/ATCDCL/ATC.hxx
src/ATCDCL/ATCDialog.cxx src/ATCDCL/ATCProjection.cxx
src/ATCDCL/ATCProjection.hxx src/ATCDCL/ATCutils.cxx
src/ATCDCL/ATCutils.hxx src/ATCDCL/approach.cxx
src/ATCDCL/commlist.cxx src/ATCDCL/ground.cxx
src/ATCDCL/ground.hxx src/ATCDCL/tower.cxx
src/ATCDCL/tower.hxx src/Airports/calc_loc.cxx
src/Airports/dynamics.cxx src/Airports/groundnetwork.cxx
src/Airports/parking.cxx src/Airports/runwayprefs.cxx
src/Airports/simple.cxx src/Cockpit/cockpit.cxx
src/Cockpit/hud.hxx src/Cockpit/hud_card.cxx
src/Cockpit/hud_rwy.cxx src/Environment/environment.cxx
src/FDM/UFO.cxx src/FDM/SP/MagicCarpet.cxx src/GUI/dialog.hxx
src/Instrumentation/HUD/HUD.hxx
src/Instrumentation/HUD/HUD_runway.cxx
src/Instrumentation/KLN89/kln89.cxx src/Main/fg_init.cxx
src/Main/viewer.cxx src/Main/viewmgr.cxx
src/Model/panelnode.cxx src/MultiPlayer/mpmessages.hxx
src/Scenery/tilemgr.cxx src/Traffic/SchedFlight.cxx
src/Traffic/TrafficMgr.cxx
2009-03-18 08:00:08 +01:00
frohlich
b120d9dfb3
Casaba Halász: Fix some const warnings.
...
Modified Files:
src/FDM/YASim/Rotor.cpp src/FDM/YASim/Rotor.hpp
src/GUI/fonts.cxx
2009-03-05 10:52:03 +01:00
mfranz
0bc3ec940d
make resize margin smaller
2009-02-13 10:18:20 +01:00
mfranz
880533037a
call puaLargeInput's checkKey() if active (fixes ctrl-c)
2009-02-13 10:18:17 +01:00
mfranz
ec03d4ce01
move <text> before <property> part, so that <format>s are applied initially
2009-02-02 00:58:01 +01:00
mfranz
c366a445c5
textbox: add <top-line> param that sets first line (last line if negative)
2009-02-01 23:44:10 +01:00
mfranz
48f22c330a
make use of plib/svn features
2009-02-01 23:44:10 +01:00
mfranz
2e1cfcb83d
fgPopup::checkHit(): revert r1.103 (consume mouse hits by default)
...
Can't reproduce the problem that r1.103 meant to fix, but it
caused another problem: MMB dragging events weren't passed,
so e.g. power lever control in the bo105 stopped working.
2009-01-26 09:48:14 +01:00
mfranz
b8c0e67cdc
one more PUCLASS exception (not that we used puaScrollBar yet)
2009-01-21 09:55:33 +01:00
mfranz
aa6e5fb528
disable dragging margins on non resizable dialogs
2009-01-18 23:21:44 +01:00
mfranz
390c1f4d1f
- ctrl-click in the property browser is for toggling bools, not dragging
...
- add vertical arg to sliders (apparently nobody ever use a vertical one :-)
- simplification
2009-01-18 23:21:41 +01:00
mfranz
e0463a51ae
- shift drag for global window dragging (like ctrl for global resizing)
...
- cleanup & some coding style unification
2009-01-13 23:07:52 +01:00
mfranz
a59ae7cb92
fix mouse flicker/disappearing problem
2009-01-12 13:04:44 +01:00
mfranz
16d2de1a0f
allow resizing dialogs by grabbing the frame (without Ctrl-key);
...
Ctrl extends the resize sensible area to the whole dialog
2009-01-12 13:04:39 +01:00
mfranz
ab58bbd41e
hits are consumed by default (prevents actions in lower dialogs)
2009-01-12 13:04:19 +01:00
mfranz
cc0b7e0076
puaLargeInput (textbox) aren't draggable areas
2009-01-12 13:04:14 +01:00
mfranz
014f366369
resize in SE direction (draggable borders planned)
2009-01-12 13:04:03 +01:00
mfranz
95c5a726a7
make dialogs resizable with Ctrl-dragging
...
At the moment the dialog grows to North-East. Only dialogs with
the <resizable> flag set to true are resizable.
2009-01-12 13:03:55 +01:00
mfranz
41da00105c
apply custom widget fonts also to the legend, so that they show
...
up in list/textbox etc. (This should really be separately settable
via style definition, but it's very rarely used and a change now
is probably not worth it as we'll probably switch to osgWidget,
anyway.)
2009-01-10 00:07:15 +01:00
jmt
f1b10eddfa
FGAirportList is gone. Everything should work as before, especially the
...
AirportList dialog. (It would now be possible to trivially implement a
VOR or NDB named search, if anyone wants such a thing).
2008-12-27 13:20:08 +00:00
mfranz
35f7f55507
Csaba/"Jester" and /me: since a few weeks the property browser had
...
displayed garbage in the title line if one left a directory. Jester
spent a lot of time finding the cause: a bug that must have been
there since ... forever: fgfs reported to PUI the string addresses
as returned by SGPropertyNode::getStringValue() without considering
that this address isn't valid after the next write access to that
node! It's almost a miracle that it worked so well for so long,
despite that issue. (I also used to opportunity for some more
cleanup -- so I'm to blame for any newly introduced bugs, and
also for reverting some of Jester's cleanups. :-)
2008-12-18 20:18:50 +00:00
mfranz
7f2f1e39e3
show verbose mode (see $FG_ROOT/Docs/README.gui -> property-list)
2008-12-03 20:18:15 +00:00
mfranz
995eaac10b
screenshots: check for empty screenshots-dir
2008-10-19 16:25:05 +00:00
fredb
9ebb9128c8
MINGW patch by Csaba Halasz, reworked by me to avoid breaking MSVC or Cygwin build
2008-09-28 08:27:32 +00:00
durk
b2df4d41a5
Czaba Halasz:
...
Somebody please add config.h to AirportList.cxx, because the #include
<plib/puAux.h> (in AirportList.hxx) needs the PU_USE_NONE define.
DT: Done :-)
2008-08-21 20:14:26 +00:00
mfranz
aedc6f0614
use <enabled>false</enabled> flag for widgets that shouldn't be drawn
...
instead of <hide>true</hide>. This is consistent with other places
in fgfs, like menu entries, hud elements, subsystem switches, etc.
2008-08-05 05:27:07 +00:00
timoore
6f802959ce
CameraGroup class for managing multiple cameras.
...
CameraGroup supports cameras opened in different windows or in the
same window, with flexible view and perspective specification.
Clean up mouse click handling via osgViewer. Don't let any camera
"have focus;" this forces events to be reported in window coordinates
and simplifies life. Don't use the osgViewer::View::requestWarpPointer
method; instead use our own code which only deals with window
coordinates.
Make glut and sdl versions work with CameraGroup too.
2008-08-01 15:57:29 +00:00
ehofman
14885374de
header cleanups
2008-07-31 12:04:32 +00:00
ehofman
667e64e1eb
- remove the SG_GLxxxx_H #defines, since OSG provides its own versions
...
- this exposed a bizarre issue on Mac where dragging in <AGL/agl.h> in
extensions.hxx was pulling in all of Carbon to the global namespace
- very scary. As a result, I now need to explicitly include CoreFoundation
in fg_init.cxx.
- change SG_USING_STD(x) to using std::x
2008-07-27 16:25:13 +00:00
fredb
3db0cf1659
Remove unneeded inclusions of windows.h, GL.h and GLU.H
2008-07-27 15:18:34 +00:00
mfranz
b68b751fd4
get rid of mouse.cxx and pu{Show|Hide}Cursor()
2008-07-27 09:39:10 +00:00
ehofman
46ae218672
remove all the FX and XMESA cruft relating to Glide support.
2008-07-27 07:54:13 +00:00
ehofman
d9bfd5a425
This should apply, and everything should build cleanly, in isolation from the
...
SimGear change. It changes all the SG_xxxx to be the 'real' includes, and gets
rid of many #ifdef SG_HAVE_STD_INCLUDES. As an added bonus, rather than
replacing 'SG_USING_NAMESPACE(std)' with 'using namespace std', I just fixed
the small number of places to use std:: explicitly. So we're no longer polluting
the global namespace with the entire contents of std, in many cases.
There is one more 'mechanical' change to come - getting rid of SG_USING_STD(X),
but I want to keep that separate from everything else. (There's another
mechnical change, replacing <math.h> with <cmath> and so on *everywhere*, but
one step at a time)
2008-07-25 18:38:29 +00:00
ehofman
eccddb3dfd
Attached patches remove BORLANDC, and hence SG_MATH_EXCEPTION_CLASH and SG_INCOM
...
PLETE_FUNCTIONAL from SimGear and FlightGear.
As a result, SG_HAVE_STD_INCLUDES is now *always* set, so I will get the boring
fixes for that done, but separately. I'm still auditing the other things in comp
ilers.h - there's a lot that can die now BORLAND is gone.
2008-07-25 10:39:53 +00:00
mfranz
1ace68e836
don't run the help browser from a property that a user could have
...
changed to something evil, but rather make sure that the browser
string can be trusted. (TODO: change system() to vfork()/execvp() ?)
2008-07-09 19:35:53 +00:00
mfranz
0ae36e3979
remove depreciated and unused src/GUI/trackball.*
2008-07-09 12:44:32 +00:00
mfranz
b8d62d212c
remove depreciated and unused src/GUI/trackball.*
2008-07-09 12:37:54 +00:00
mfranz
9f571a0f00
remove depreciated gui_local.[ch]xx:
...
- drop unused parts (MouseQuat/GuiQuat)
- move "old-reinit-dialog" fgcommand to fg_command.cxx under new name
"reset" for now. (May later get merged with fgcommand "reinit".)
- move reInit() to fg_init.cxx: This was used by Shift-Esc and
Menu->File-Reset (via fgcommand "old-reinit-dialog"). We have already
a similar function fgReInitSubsystems() in fg_init.cxx, so these two
functions will probably get merged later.)
2008-07-09 12:22:33 +00:00
mfranz
ecd5521bf8
- remove unused puObject args in gui fgcommands
...
- remove no longer used PU macros
2008-06-23 18:28:02 +00:00
fredb
7c8c8ff381
FGFontCache::initializeFonts() now portable across platform through the use of plib
2008-06-07 08:10:46 +00:00
timoore
18bece731a
Fix GUI and HUD text rendering problems.
...
After the changes that moved the GUI and HUD to a slave camera, the
texture-based fonts wouldn't display. The main fixes here are making
sure that the TXF textures are all loaded into the font cache early,
and explicitly setting the active texture unit in the GUI / HUD
drawImplementation.
2008-06-06 19:02:17 +00:00
mfranz
9fc99b10e2
Fred BOUVIER & Stuart BUCHANAN: make search function case-insensitive
...
mf: add leading space to allow search for word boundaries (" wat")
2008-06-03 10:25:58 +00:00
timoore
a251fd35cb
Include <iostream> and using declarations as needed.
...
SimGear no longer includes iostream and avoids using declarations in
header files, so various fixups are needed.
2008-06-02 21:07:35 +00:00
timoore
580ebf637b
Clean up OSG camera setup and interface to plib PUI
...
Switch to defining PU_USE_NONE and providing our own callback
functions to pui for "get window" and "get window size." A new
WindowSystemAdapter class assigns ID numbers to windows for the
purpose of identifying them to plib; the window size can be extracted
from the osg::GraphicsContext class in all the different
implementations (osgViewer, glut, sdl).
Implement a GraphicsContextOperation that runs code in a particular
graphics context, perhaps in another thread, and provides an
isFinished() method to test if the operation has finished. This allows
us to initialize plib PUI properly if there are multiple graphics
contexts without using fgMakeCurrent(). fgMakeCurrent() can't work in
multi-threaded OSG configurations.
Eliminate fgMakeCurrent() and all its uses, either by using
GraphicsContextOperation or by seeing that it is not necessary.
Attach the GUI camera as a slave camera.
Don't manipulate the OSG state in the drawImplementation() functions
for SGHUDAndPanelDrawable and SGPuDrawable; it's not needed.
2008-05-19 21:21:03 +00:00
fredb
87b6632ba6
Rename FontStatus enum labels because ERROR is already a macro under Windows
2008-05-14 09:51:11 +00:00
timoore
6cd9794b0c
Add a subclass of fntTexFont that defers font loading
...
Loading is deferred until the first render so that it has a chance of
happening in the proper graphics context.
2008-05-06 21:31:01 +00:00
mfranz
3fa32b1fcc
remove sgVec3Slider.hxx use
2008-04-27 18:07:38 +00:00
mfranz
907b9a7240
remove obsolete constants for hardcoded pui dialogs (after sgVec3Slider removal)
2008-04-27 18:00:21 +00:00
mfranz
8904a17277
move sgVec3Slider dialog to the Attic/:
...
- it's unused
- it's hardcoded (we already got rid of all other hardcoded dialogs)
- we'll have to consider switching to osgWidget, which is planned to
get imported into osg. It's unlikely that we add *more* of PLIB
in the meantime.
2008-04-27 17:56:05 +00:00
mfranz
586bfe0aea
move constants here so that the file is complete in the Attic/
2008-04-27 17:50:44 +00:00
mfranz
881274b1fd
remove sgVec3Slider.cxx sgVec3Slider.hxx altogether. Files will follow.
2008-04-27 17:44:14 +00:00
mfranz
17adffc5f9
comment out currently unused symbols (gui_msg_OK etc.)
2008-04-27 16:18:23 +00:00
mfranz
f134a708df
comment out unused widget. Needs to be reviewed and either actually
...
used or removed
2008-04-27 16:16:45 +00:00
mfranz
c8f2013c77
Nicolas: make screenshot target dir configurable (idea and first draft)
...
--prop:sim/paths/screenshot-dir=/tmp
2008-04-26 22:34:46 +00:00
timoore
ebf2e996e9
Fixes for compiling with gcc 4.3
...
Include standard header files and qualify with std:: where needed.
Qualify various char parameters and variables with const.
2008-04-13 21:12:36 +00:00
mfranz
2100394117
- require plib 1.8.5
...
- switch puList to puaList
- drop src/GUI/puList.[ch]xx
- remove #ifdefs, FIXMEs, and workarounds that have accumulated over time
- warnings--
2008-03-11 15:58:57 +00:00
timoore
1b439f8501
Memory leak fixes from Till Busch
2008-01-19 18:06:05 +00:00
curt
8f64d4820c
Add a command to dump just the terrain portion of the scene graph to a .osg
...
file. Possible uses of this functionality could include converting the
model to some other format or coordinate system for use in some other
visualization or simulation.
2007-11-21 20:51:49 +00:00
mfranz
44a1dbf090
don't initialize iterator twice
2007-10-22 17:28:08 +00:00
durk
f5e9e1898f
Miscellaneous tweaks and Bugfixes. Mostly memory leaks ported from the plib
...
version
* Delete ai list objects in ~ATC/AIMgr.cxx:AIMgr::~AIMgr()
* Delete colors in GUI/new_gui.cxx: NewGui::~NewGui.cxx
* Delete memory allocated to the class member "route" in
Instrumentation/gps.cxx
* Delete all globals (except a few "unsafe" ones that still cause segfaults
and need further examination.
* Use an SGShared pointer for navaid memory allocation, so that pointers to
individual navaid objects can be included safely in multiple navaid lists
2007-10-20 08:36:21 +00:00
andy
389e23b867
Wrong subtraction order lead to the "extra" space available (instead
...
of the extra space *required*) in a rowspan object being redistributed
back into the span, leading to a near-doubling of the size for small
objects with large span ranges.
2007-07-05 21:25:01 +00:00
mfranz
4ba64132b9
John DENKER: validate_format(): handle multiple flags correctly
2007-07-03 17:26:54 +00:00
mfranz
beef8cd1ed
- limit max number of messages displayed at the same time to 5 (Ideally,
...
it should be just one, but we don't want to block everything and
don't want to miss messages either.)
- prevent message duplicates
2007-07-03 15:35:55 +00:00
mfranz
f40d2f3b00
- allow multiple message/error dialogs
...
- hand the generation of the message dialog over to
$FG_ROOT/gui/dialogs/message.xml
2007-07-02 14:32:30 +00:00
andy
99885791e9
Remove the GUI popup from the screen capture C++ code (a request via
...
IRC wanted this to be scritable) and add it back (as a tip popup) via
a little nasal in the keyboard handler. Also put the synthesis of
property nodes back into fgcommand(), because I got cold feet.
2007-06-07 16:57:59 +00:00
frohlich
b59e3fe6ec
Modified Files:
...
src/GUI/dialog.cxx src/GUI/menubar.cxx
src/Include/config.h-msvc8 src/Main/fg_os_osgviewer.cxx:
Olaf Flebbe: build fixes for osgviewer on win32.
2007-05-30 13:15:14 +00:00
frohlich
0b44409fca
Modified Files:
...
src/GUI/gui.h src/GUI/gui_funcs.cxx src/Main/fg_commands.cxx
src/Main/renderer.cxx src/Main/renderer.hxx: Tim Moore:
These patches implement a command to dump the entire OSG scene graph as
a .osg text file. While large, this allows debuggers to really see
what's happening in the scene graph.
2007-05-26 11:39:13 +00:00
frohlich
16a2bb0118
Modified Files:
...
src/ATC/AIPlane.cxx src/ATC/ATC.cxx src/ATC/ATCDialog.cxx
src/ATC/ATCmgr.cxx src/ATC/Makefile.am src/ATC/approach.cxx
src/ATC/atis.cxx src/ATC/ground.cxx src/ATC/tower.cxx
src/GUI/mouse.cxx src/Main/Makefile.am src/Main/fg_init.cxx
src/Main/fg_props.cxx src/Main/globals.cxx
src/Main/globals.hxx src/Main/main.cxx src/Main/renderer.cxx
src/Model/acmodel.cxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx
Removed Files:
src/ATC/ATCdisplay.cxx src/ATC/ATCdisplay.hxx:
Remove unused functions and the disabled ATC display.
2007-05-09 20:41:08 +00:00
mfranz
b1b08beef8
(untested) last-minute changes are evil! :-)
2007-05-07 14:37:38 +00:00
mfranz
e88ba9a037
property_list.cxx: in verbose mode (toggle with Ctrl-'.'-entry) also
...
show "secret" values, that is: values of nodes with children. These
can be used like all normal (leaf) properties, but their values were
until now only shown in writeProperties() dumps. Also show the
number of attached listeners. Example: foo = 'bar' (string, AU, L3).
dialog.cxx: add warning message for broken <format>s; cosmetics
2007-05-07 14:29:40 +00:00
mfranz
939f83118f
use STL_IOMANIP to load <iomanip>
2007-05-05 11:40:12 +00:00
mfranz
dad550e0eb
write a more useful list on shift-"."-click, not the whole subtree
2007-05-03 21:20:15 +00:00
mfranz
7e070759ad
property browser: shift click on the "." entry dumps the contents of that
...
dir level to the terminal (remember: ctrl-click -> toggle additional info,
and ctrl-click on ".." move to root level)
2007-05-03 19:00:55 +00:00
frohlich
2f8beb56ea
Modified Files:
...
src/GUI/new_gui.cxx src/GUI/new_gui.hxx src/Main/main.cxx
src/Main/renderer.cxx src/Main/renderer.hxx
src/Main/splash.cxx src/Main/splash.hxx
src/Scenery/scenery.hxx: Move splash screen into the scenegraph.
2007-05-03 18:12:29 +00:00
mfranz
3cb5b0159d
MS Windows can't handle the symbols ... sigh
2007-04-02 17:20:05 +00:00
mfranz
887a1a732e
- move format checking to the GUIInfo class. It has all the info, and this
...
keeps copy_to_gui() cleaner
- add "float", "int" and "long"
2007-04-02 15:42:45 +00:00
mfranz
d9cbdb53ff
drop plib render callback, validate <format> in setupObject(), and apply
...
it in copy_to_pui()
2007-04-02 12:12:23 +00:00
mfranz
37acfd4e25
add signal on GUI reinit; needed for reloading Nasal loaded XML dialogs
2007-03-28 20:33:18 +00:00
mfranz
f27d7b2340
layout-props.cxx: hrule/vrule shall be accepted as widgets even if they
...
have no children (in which case they default to 1px thickness & stretch).
This allows to just write <hrule/> instead of <hrule><dummy/></hrule>.
One can still use <hrule><pref-height>3</pref-height></hrule>, of course.
layout.cxx: drop silly do??Box calls for hrule/vrule (yes, I wrote that :-)
2007-03-26 15:17:38 +00:00
mfranz
1d880a944f
don't descend into <nasal> groups to avoid padding space beind added around
2007-02-24 19:43:19 +00:00
mfranz
6ebce11275
set /sim/signals/reinit to true before reset, and back to zero after it;
...
otherwise the last Hobbs time couldn't be read out at a reset
2007-01-21 00:19:39 +00:00
frohlich
826866b327
Modified Files:
...
src/GUI/gui.h src/GUI/gui_funcs.cxx src/GUI/gui_local.cxx
src/GUI/mouse.cxx src/GUI/sgVec3Slider.cxx
src/GUI/sgVec3Slider.hxx src/Main/fg_commands.cxx:
Remove some dead code.
2007-01-07 15:51:29 +00:00
frohlich
059c906be5
Modified Files:
...
src/Cockpit/panel.cxx src/Cockpit/panel.hxx
src/Cockpit/panel_io.cxx src/GUI/dialog.cxx src/GUI/dialog.hxx
src/GUI/menubar.cxx src/GUI/menubar.hxx src/GUI/new_gui.hxx
src/Input/input.cxx src/Input/input.hxx src/Main/renderer.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx:
Use SGBinding instead of FGBinding. Remove FGBinding. Install hooks
to make the pick animation work.
2007-01-04 13:22:27 +00:00
mfranz
a1e62b9c62
remove function declarations for long removed functions
2006-11-01 23:36:46 +00:00
mfranz
8d1ecbfa1b
remove obsolete and non-functional menu toggle command
2006-11-01 23:23:26 +00:00
mfranz
65e2ce16d6
remove obsolete preset dialogs
2006-11-01 22:55:15 +00:00
mfranz
4deaed6d99
remove obsolete preset dialogs
2006-11-01 22:48:34 +00:00
mfranz
284c73a95c
remove old property dialog
2006-11-01 22:10:22 +00:00
mfranz
91dbe0c3fe
remove old property dialog
2006-11-01 21:59:46 +00:00
frohlich
b0f9d24f9d
Modified Files:
...
configure.ac src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx
src/AIModel/AIBase.hxx src/AIModel/AICarrier.cxx
src/AIModel/AICarrier.hxx src/AIModel/AIManager.cxx
src/AIModel/AIManager.hxx src/ATC/AIEntity.cxx
src/ATC/AIEntity.hxx src/ATC/AIMgr.cxx src/ATC/AIMgr.hxx
src/ATC/ATCdisplay.cxx src/ATC/ATCdisplay.hxx
src/Cockpit/cockpit.cxx src/Cockpit/cockpit.hxx
src/Cockpit/hud.cxx src/Cockpit/hud.hxx
src/Cockpit/hud_rwy.cxx src/Cockpit/panel.cxx
src/Cockpit/panel.hxx src/Cockpit/built_in/FGMagRibbon.cxx
src/Cockpit/built_in/FGMagRibbon.hxx src/FDM/flight.cxx
src/FDM/groundcache.cxx src/FDM/groundcache.hxx
src/GUI/gui_funcs.cxx src/Input/input.cxx
src/Instrumentation/od_gauge.cxx
src/Instrumentation/od_gauge.hxx
src/Instrumentation/render_area_2d.cxx
src/Instrumentation/render_area_2d.hxx
src/Instrumentation/wxradar.cxx
src/Instrumentation/wxradar.hxx
src/Instrumentation/HUD/HUD.cxx
src/Instrumentation/HUD/HUD.hxx
src/Instrumentation/HUD/HUD_runway.cxx src/Main/Makefile.am
src/Main/main.cxx src/Main/renderer.cxx src/Main/renderer.hxx
src/Main/viewmgr.cxx src/Model/acmodel.cxx
src/Model/acmodel.hxx src/Model/model_panel.cxx
src/Model/model_panel.hxx src/Model/modelmgr.cxx
src/Model/modelmgr.hxx src/Model/panelnode.cxx
src/Model/panelnode.hxx src/Navaids/awynet.cxx
src/Scenery/Makefile.am src/Scenery/hitlist.cxx
src/Scenery/hitlist.hxx src/Scenery/newcache.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx
src/Scenery/tileentry.cxx src/Scenery/tileentry.hxx
src/Scenery/tilemgr.cxx src/Scripting/NasalSys.cxx
src/Scripting/NasalSys.hxx src/Time/light.cxx
Big BLOB on the way to OSG.
2006-10-29 19:30:21 +00:00
mfranz
7ae6dd709a
don't let invisible objects prevent dragging (for example: currently
...
not shown combobox menus)
2006-07-10 14:56:07 +00:00
mfranz
d702ed379d
ok, so the old ~FGFontCache() was useless. But at least it didn't call
...
the buggy ~fnt(), causing an abort() ... ;-)
(Only loaded texture fonts (*.txf) have a new'ed puFont. The built-in
pixmap fonts don't, and may, thus, not be deleted.)
2006-06-22 08:35:50 +00:00
mfranz
229d499f7b
oh, and by the way: this destructor didn't do anything useful :-)
2006-06-21 21:17:21 +00:00
mfranz
124dfab5ae
umm ... fix a tiny leak :-)
2006-06-21 19:53:47 +00:00
mfranz
e2deb397a9
remove obsolete "lon/lat format" commands that have been labeled "deprecated"
...
and "will very soon be removed" since years
2006-06-17 16:37:33 +00:00
mfranz
e48967cb1d
fix another crash on exit by finally converting the rest of unguarded
...
SGPropertyNode to guarded ones. This is also done for JSBSim/JSBSim.hxx,
for which JSB had given explicit permission a while ago. I postponed that
back then, but now is the time.
2006-06-11 10:21:10 +00:00
mfranz
88beabb2d3
use global fontcache ... this is mostly cosmetic, as the whole file will
...
probably die a soon as the old property picker was removed
2006-06-06 16:33:38 +00:00
mfranz
355f86d6cf
FGFontCache: add getter for the fntTexFont component of a cached font
2006-06-06 12:49:42 +00:00
mfranz
43b66ac74b
don't choke on invalid nodes
2006-06-05 21:55:18 +00:00
mfranz
067e6d56c2
use global fontcache
2006-06-05 20:25:43 +00:00
mfranz
47223b0442
make FGFontCache independent of NewGUI and allow early construction in
...
FGGlobals
2006-06-05 20:23:56 +00:00
mfranz
18d09b569f
- display of SGPropertyNode flags can now be toggled per <property-list>
...
widget (Ctrl-click on "." entry), so we don't need a global property
for this
- s/dotFiles/_dot_files/ for consistency reasons
2006-06-03 11:20:19 +00:00
mfranz
9e9d463a11
not that!
2006-05-24 21:05:48 +00:00