James Turner
c2cbb36d16
Work around a strange link failure on Mac
...
- Xcode 7 seems to dislike this code as was, adjusted version
links fine. Very odd.
2015-09-20 19:45:03 -05:00
James Turner
f2a3090384
Fix some Clang warnings.
2014-03-11 16:46:00 +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
fecb475145
Refactor Cocoa helpers.
...
Change away from using deprecated FSFindFolder.
2013-11-16 10:58:17 +00: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
Frederic Bouvier
7cc3ffb30f
Fix build for windows after logstream changes
2013-02-08 08:46:34 +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
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
James Turner
8aeb650d16
On OS-X, used NSWorkspace to launch the browser.
2012-05-07 23:49:21 +01: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
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
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
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
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
Tim Moore
38e1600bed
add a command to print information about visible objects in the scene
2010-11-15 00:09:52 +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
fredb
00e9ad3055
MINGW patch from Benot Laniel
2010-01-25 17:12:04 +01:00
jmt
23ce537168
Update for screen-dumps in PNG format instead of PPM.
2009-10-07 08:24:59 +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
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
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
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
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
mfranz
3fa32b1fcc
remove sgVec3Slider.hxx use
2008-04-27 18:07:38 +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
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
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
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
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
mfranz
8d1ecbfa1b
remove obsolete and non-functional menu toggle command
2006-11-01 23:23:26 +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
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
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