1
0
Fork 0
flightgear/src/GUI
Florent Rougon 101bdce343 APTLoader: improve progress status info
It is not needed anymore to hardcode the number of lines of
$FG_ROOT/Airports/apt.dat.gz. The new method, which relies on
SGPath::sizeInBytes() and sg_gzifstream::approxOffset(), works as well
for the other dat files.

Add a new NavCache rebuild phase, REBUILD_READING_APT_DAT_FILES, since
the process is now made of two parts.

Rename NavDataCachePrivate::getDatFilesPaths() to
NavDataCachePrivate::findDatFiles(), because it now returns a
DatFilesGroupInfo (new struct) instead of a PathList. For the same
reason, rename NavDataCachePrivate::aptDatPaths to
NavDataCachePrivate::aptDatFilesInfo. Adapt signatures, etc.

This requires up-to-date SimGear and FGData.
2016-10-19 13:01:35 +02:00
..
.gitignore Ignore generated files 2010-06-02 11:27:16 +02:00
AddCatalogDialog.cxx Fallback URL when official catalog is not found. 2016-05-26 17:37:26 +01:00
AddCatalogDialog.hxx Change handling of default hangar / catalog. 2015-11-23 22:58:00 +00:00
AddCatalogDialog.ui Launcher: spelling fix in "Add Catalog" dialog window 2016-04-17 17:53:02 +01:00
AircraftItemDelegate.cxx Avoid overlap of ratings / progress bar 2016-06-17 22:42:33 +01:00
AircraftItemDelegate.hxx Lots of work on aircraft package support 2015-09-20 19:46:35 -05:00
AircraftModel.cxx Fix an assert on Windows 2016-06-29 16:25:42 +01:00
AircraftModel.hxx Fixes to launcher description rendering. 2016-04-15 17:21:49 +01:00
airplane-icon.png Work on launcher diagrams. 2015-11-23 00:47:01 +00:00
airport-closed-icon.png Closed airport support. 2015-11-23 00:48:20 +00:00
airport-icon.png Navaid diagram for launcher 2015-11-23 00:47:01 +00:00
airport-tower-icon.png Navaid diagram for launcher 2015-11-23 00:47:01 +00:00
AirportDiagram.cxx Improve rendering of longer parking names. 2016-07-16 17:49:12 +01:00
AirportDiagram.hxx Enforce a minimum pixel width for runway clicking 2016-07-16 17:48:55 +01:00
AirportList.cxx Give the FGAirport class a sane filename. 2013-02-21 11:32:02 +00:00
AirportList.hxx Make FGDialog an interface, moving existing code to FGPUIDialog implementation. (no functionality change, yet) 2011-11-19 20:46:17 +00:00
arrow-left-icon.png Arrow icons for variant selection. 2015-03-05 15:53:40 +00:00
arrow-right-icon.png Arrow icons for variant selection. 2015-03-05 15:53:40 +00:00
BaseDiagram.cxx Clamp diagram zoom. 2015-11-27 23:25:11 +00:00
BaseDiagram.hxx Fix some coastline issues. 2015-11-27 23:02:42 +00:00
CanvasWidget.cxx More safe subsystem accessors. 2016-09-27 05:58:47 -05:00
CanvasWidget.hxx Fix some static property references. 2013-11-14 16:37:46 +00:00
CatalogListModel.cxx Minor improvement to hangar list in the launcher. 2016-04-15 17:27:29 +01:00
CatalogListModel.hxx Working on adding catalogs from the GUI 2015-04-10 14:44:44 +01:00
CMakeLists.txt Custom MP server support. 2016-07-12 16:52:59 +01:00
CocoaFileDialog.hxx Refactor Cocoa helpers. 2013-11-16 10:58:17 +00:00
CocoaFileDialog.mm Use future-proof SGPath APIs. 2016-06-28 10:08:38 +01:00
CocoaHelpers.h Cocoa: fix warning about deprecated function. 2013-12-21 15:31:27 +00:00
CocoaHelpers.mm Use Paths instead of strings. 2016-06-22 17:36:05 +01:00
CocoaHelpers_private.h Refactor Cocoa helpers. 2013-11-16 10:58:17 +00:00
CocoaMouseCursor.hxx Forgot GPL license on new files. 2013-03-05 20:53:43 +00:00
CocoaMouseCursor.mm Use future-proof SGPath APIs. 2016-06-28 10:08:38 +01:00
dialog.cxx Make FGDialog an interface, moving existing code to FGPUIDialog implementation. (no functionality change, yet) 2011-11-19 20:46:17 +00:00
dialog.hxx FGPUIDialog: fix reading from already free'd memory. 2014-02-28 17:34:41 +01:00
EditCustomMPServerDialog.cxx Custom MP server support. 2016-07-12 16:52:59 +01:00
EditCustomMPServerDialog.hxx Custom MP server support. 2016-07-12 16:52:59 +01:00
EditCustomMPServerDialog.ui Custom MP server support. 2016-07-12 16:52:59 +01:00
EditRatingsFilterDialog.cxx Add missing GPL boilerplate. 2015-03-08 00:42:39 +00:00
EditRatingsFilterDialog.hxx Add missing GPL boilerplate. 2015-03-08 00:42:39 +00:00
EditRatingsFilterDialog.ui In-app launcher for Mac, based on Qt5. 2015-01-06 19:13:30 +00:00
FGCocoaMenuBar.hxx Refactor Cocoa helpers. 2013-11-16 10:58:17 +00:00
FGCocoaMenuBar.mm Explicit AppKit includes for Mac. 2015-04-11 21:59:29 +01:00
FGColor.cxx Clean-up some SGMath dependencies. 2012-05-05 00:56:29 +02:00
FGColor.hxx Fix some compiler warnings. 2012-10-13 17:59:47 +02:00
FGFontCache.cxx Use future-proof SGPath APIs. 2016-06-28 10:08:38 +01:00
FGFontCache.hxx Remove FontCache from globals. 2016-01-03 12:00:15 -06:00
FGPUIDialog.cxx Remove FontCache from globals. 2016-01-03 12:00:15 -06:00
FGPUIDialog.hxx FGPUIDialog: fix reading from already free'd memory. 2014-02-28 17:34:41 +01:00
FGPUIMenuBar.cxx Keep (PUI) menubar visibility on gui-redraw. (Fix #1251) 2014-06-21 14:51:34 +02:00
FGPUIMenuBar.hxx And make FGMenuBar abstract too, sinking the current implementation into FGPUIMenubar 2011-11-19 22:04:35 +00:00
FGWindowsMenuBar.cxx Windows native file-dialog, menu-bar 2014-01-20 18:43:02 +00:00
FGWindowsMenuBar.hxx Windows native file-dialog, menu-bar 2014-01-20 18:43:02 +00:00
FileDialog.cxx add new QtFileDialog to avoid using Nasal in file selectors 2016-02-10 22:58:56 +00:00
FileDialog.hxx Update includes (required by simgear changes) 2014-06-04 02:58:14 +02:00
fonts.cxx Adapt font size behaviour to original plib font. 2012-05-01 11:44:52 +02:00
gui.cxx Fix corrupt HUD fonts 2016-03-28 22:54:24 +01:00
gui.h Show paused message when starting frozen. 2015-11-23 00:48:20 +00:00
gui_funcs.cxx Use future-proof SGPath APIs. 2016-06-28 10:08:38 +01:00
heliport-icon.png Navaid diagram for launcher 2015-11-23 00:47:01 +00:00
history-icon.png In-app launcher for Mac, based on Qt5. 2015-01-06 19:13:30 +00:00
InstallSceneryDialog.cxx Use future-proof SGPath APIs. 2016-06-28 10:08:38 +01:00
InstallSceneryDialog.hxx Allow scenery installation from the launcher. 2016-06-15 22:28:54 +01:00
InstallSceneryDialog.ui Allow scenery installation from the launcher. 2016-06-15 22:28:54 +01:00
Launcher.ui Tweak launcher layout margins. 2016-09-08 14:49:52 +01:00
layout-props.cxx Clean-up some SGMath dependencies. 2012-05-05 00:56:29 +02:00
layout-test.cxx fix warnings in GUI code 2009-08-24 18:00:10 +02:00
layout.cxx Fix a clang unused constant warning 2015-03-18 20:34:15 +01:00
layout.hxx use <enabled>false</enabled> flag for widgets that shouldn't be drawn 2008-08-05 05:27:07 +00:00
LocationWidget.cxx Fix re-selection of start location. 2016-08-21 10:36:54 -05:00
LocationWidget.hxx Launcher sets location via properties. 2016-08-20 19:46:19 -05:00
LocationWidget.ui Launcher: state that it is needed to press Enter to search for the airport 2016-04-17 17:53:36 +01:00
MapWidget.cxx ATC/Traffic doesn’t crash reset. 2015-12-11 12:11:59 -06:00
MapWidget.hxx Fix polar rendering of map. (Bug #55) 2014-06-29 21:45:18 +01:00
menubar.cxx Better fallback for missing menu and splash translations. 2014-07-30 23:53:16 +02:00
menubar.hxx Fix Mac compile. 2012-05-05 09:41:23 +02:00
MessageBox.cxx Set /sim/rendering/initialized to true at the appropriate moment and use it instead of /sim/initialized for the messagebox 2016-07-21 13:55:31 +02:00
MessageBox.hxx Message box support. 2013-11-14 22:02:29 +00:00
MouseCursor.cxx New cursor shapes. 2013-03-10 12:05:14 +00:00
MouseCursor.hxx New cursor shapes. 2013-03-10 12:05:14 +00:00
NavaidDiagram.cxx Move airplane drawing into the base class. 2015-11-23 00:48:20 +00:00
NavaidDiagram.hxx Navaid diagram work 2015-11-23 00:47:01 +00:00
ndb-icon.png Navaid diagram for launcher 2015-11-23 00:47:01 +00:00
ndb-large-icon.png Work on launcher diagrams. 2015-11-23 00:47:01 +00:00
ndb-small-icon.png Fix for FreeBSD and a typo 2016-03-12 20:55:46 +01:00
new_gui.cxx Use future-proof SGPath APIs. 2016-06-28 10:08:38 +01:00
new_gui.hxx More safe subsystem accessors. 2016-09-27 05:58:47 -05:00
NoOfficialHangar.ui Prompt the user when the default hangar is missing. 2016-04-15 17:06:53 +01:00
PathsDialog.cxx Add tooltips in built-in launcher: remind to restart after changing scenery paths 2016-10-17 12:10:03 +01:00
PathsDialog.hxx Allow scenery installation from the launcher. 2016-06-15 22:28:54 +01:00
PathsDialog.ui Tweak launcher layout margins. 2016-09-08 14:49:52 +01:00
property_list.cxx 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
property_list.hxx Make FGDialog an interface, moving existing code to FGPUIDialog implementation. (no functionality change, yet) 2011-11-19 20:46:17 +00:00
PUIFileDialog.cxx Use future-proof SGPath APIs. 2016-06-28 10:08:38 +01:00
PUIFileDialog.hxx Make it all work with existing FileSelector API. 2013-01-19 16:23:05 +00:00
QtFileDialog.cxx Work with new SGPath API. 2016-06-22 17:36:05 +01:00
QtFileDialog.hxx add new QtFileDialog to avoid using Nasal in file selectors 2016-02-10 22:58:56 +00:00
QtLauncher.cxx APTLoader: improve progress status info 2016-10-19 13:01:35 +02:00
QtLauncher.hxx Work on the launcher 2015-11-23 00:45:21 +00:00
QtLauncher_fwd.hxx Cap number of airports displayed in diagrams 2015-11-23 00:48:21 +00:00
QtLauncher_private.hxx Initial support for NavData/<type>/*.dat[.gz] files in scenery paths 2016-10-17 12:10:03 +01:00
QtMessageBox.cxx {fatal,modal}MessageBox: Use Qt on Linux when available 2015-11-24 07:24:32 +00:00
QtMessageBox.hxx {fatal,modal}MessageBox: Use Qt on Linux when available 2015-11-24 07:24:32 +00:00
README get rid of mouse.cxx and pu{Show|Hide}Cursor() 2008-07-27 09:39:10 +00:00
resources.qrc Fix for FreeBSD and a typo 2016-03-12 20:55:46 +01:00
seaport-icon.png Navaid diagram for launcher 2015-11-23 00:47:01 +00:00
seaport-tower-icon.png Navaid diagram for launcher 2015-11-23 00:47:01 +00:00
SetupRootDialog.cxx FlightGear path API tweaks 2016-07-15 10:16:08 +01:00
SetupRootDialog.hxx Use Paths instead of strings. 2016-06-22 17:36:05 +01:00
SetupRootDialog.ui Restructure paths handling in the launcher 2016-04-08 10:26:34 +01:00
spinner.gif Navaid diagram for launcher 2015-11-23 00:47:01 +00:00
vor-dme-icon.png Navaid diagram for launcher 2015-11-23 00:47:01 +00:00
vor-icon.png Navaid diagram for launcher 2015-11-23 00:47:01 +00:00
vortac-icon.png Navaid diagram for launcher 2015-11-23 00:47:01 +00:00
waypoint-icon.png Navaid diagram for launcher 2015-11-23 00:47:01 +00:00
WaypointList.cxx Work on visualisation of Vias 2015-12-11 13:43:25 -06:00
WaypointList.hxx GUI support for VIA/Discontinuity 2015-12-11 13:43:25 -06:00
WindowsFileDialog.cxx Further Windows SGpath fixes 2016-06-28 16:52:42 +01:00
WindowsFileDialog.hxx Windows native file-dialog, menu-bar 2014-01-20 18:43:02 +00:00
WindowsMouseCursor.cxx Windows cursor implementation. 2013-03-06 18:22:37 +00:00
WindowsMouseCursor.hxx Windows cursor handling stubs. 2013-03-05 20:59:05 +00:00

This directory contains code for the FlightGear user interface.
Currently, the code is based on PUI, which is part of PLIB.

The code is currently in transition between the old, hard-coded C++
interface and a new, XML-configurable modular subsystem.

Files:

dialog.[ch]xx           XML-configurable dialog box.
gui.cxx, gui.h          Top-level GUI functions (deprecated).
gui_funcs.cxx           Implementation of internal GUI functions (deprecated).
menubar.[ch]xx          XML-configurable menu bar.
new_gui.[ch]xx          Top-level for the GUI subsystem.


David Megginson
2003-09-26