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
mfranz
68beab9fb2
s/isascii/isprint/
2006-05-24 21:02:52 +00:00
mfranz
597298d5a7
- fix slider
...
- order functions like in puAuxList.cxx (plib/cvs) for easier
back/forward-porting
2006-05-24 20:46:10 +00:00
mfranz
e7e0e84add
- force multiline contents (Nasal scripts!) into one line, so that they
...
don't print over other entries or even leak out of the widget
- warning-- (MSVC)
2006-05-24 14:00:56 +00:00
fredb
790848b822
Compile
2006-05-24 10:51:35 +00:00