1
0
Fork 0
Commit graph

1141 commits

Author SHA1 Message Date
TheFGFSEagle
764e6f0ced Added Popup, Menu and MenuItem classes 2023-01-11 11:05:01 +00:00
James Turner
aa57b7992f Canvas: rule lines working with styling
PUI uses these a lot, so good to have them working
2023-01-11 10:57:42 +00:00
James Turner
d00c983429 Canvas widgets: style for Slider
Only horizontal mode for now, and not quite right visually,
but usable enough to start with.
2023-01-11 10:57:42 +00:00
TheFGFSEagle
4bc559bcf4 Added canvas widget factory dialog 2023-01-03 13:49:56 +00:00
TheFGFSEagle
8d5e4aaf1c Added basic tab widget 2023-01-03 12:39:51 +00:00
James Turner
7b43ca3cf4 When reloading Autopilot, also reload Prop-Rules 2022-12-01 09:43:01 +00:00
James Turner
aef16be4f0 Revert "Add option to read upper winds from simbrief"
As requested by Lars, revert these commits since they don't
work as hoped, reliably.

This reverts commit 55b17f4c5e.
This reverts commit 91401a95b0.
2022-11-24 12:17:49 +00:00
Stuart Buchanan
9e6bb54bca Scenery attribute - Scenery Sources dialog
Displays a set of properties under /scenery/sources

This property tree is populated with the contents
of sources.xml files in Scenery directories.  Such
files should have the following format:

<?xml version="1.0"?>
<PropertyList>
    <source>
        <name>Corine Land Cover (CLC) 2018, Version 2020_20u1</name>
        <link>http://web.archive.org/web/20221112175615/https://land.copernicus.eu/pan-european/corine-land-cover/clc2018?tab=metadata%2A</link>
        <license>GMES Open License</license>
    </source>
    <source>
        <name>NASADEM Merged DEM Global 1 arc second V001</name>
        <link>https://www.earthdata.nasa.gov/</link>
        <license>Public Domain</license>
    </source>
    <source>
        <name>OpenStreetMap</name>
        <link>https://www.openstreetmap.org/copyright</link>
        <license>Open Data Commons Open Database License</license>
    </source>
</PropertyList>
2022-11-12 20:47:50 +00:00
James Turner
1e1f974b76 Clean up autopush attribution 2022-10-18 10:08:41 +01:00
Roman Ludwicki
f8375dab68 Fix text in nasal test dialog 2022-10-13 21:17:50 +02:00
Roman Ludwicki
f29af4e558 Fix MHz unit 2022-09-29 00:46:59 +02:00
Roman Ludwicki
eed2bc3259 Correct margin for message text in the "Download scenery" dialog.
Minor correction for margin and padding for layout.
2022-09-28 16:43:50 +02:00
Roman Ludwicki
6c025f04b2 Correction of the arrangement of controls for "Weather" dialog
Remove gaps made by space characters.
Add ability to stretch the window.
Adapt to the Tortola style too.
2022-09-28 00:10:12 +02:00
Roman Ludwicki
fc60ae32c9 Correction of the arrangement of controls for "Devel extensions" dialog 2022-09-27 21:10:56 +02:00
James Turner
1a495a8ba9 Remove accidently added file 2022-09-26 09:01:02 +01:00
James Turner
82cb79feb3 Add additional widgets for PUI compat
Styling of these is not complete yet.
2022-09-09 12:19:33 +01:00
Roman Ludwicki
51a44d1b97 Fix the layout of the weather window after adding the help button 2022-09-01 14:17:47 +02:00
James Turner
7f1f3f6d52 Add help button to Weather dialog
Patch by Mariusz Matuszek

SF-ID: https://sourceforge.net/p/flightgear/codetickets/2754/
2022-08-31 15:55:39 +01:00
Lars Toenning
91401a95b0 Add option to read upper winds from simbrief 2022-08-16 08:33:35 +01:00
Roman Ludwicki
32e3a03946 Fix text overlap on checkbox in FGComm dialog 2022-07-22 20:39:32 +02:00
Roman Ludwicki
18c6a778a7 Fix radio buttons in random failures dialog. 2022-07-22 20:12:46 +02:00
Roman Ludwicki
b4cb00be23 Corrections for resizing "Documentation Browser" and "Select an Airport" dialogs 2022-07-19 00:39:21 +02:00
Roman Ludwicki
fcadca63a3 Fix range slider for Apply to close mp in Lag Settings 2022-04-24 00:12:03 +02:00
Josh Davidson
25c46a69bc Control: Add reworked Generic Autopilot
Rework of the generic autopilot

https://sourceforge.net/p/flightgear/fgdata/merge-requests/284/

Control: Improve FPA engagement smoothness

Control: Generic autopilot logical improvement
2022-03-31 16:31:32 +01:00
James Turner
54948c502c Location in air: Guard against missing carriers.
Since we don’t force node creation, tolerate the node being nil in
the dialog Nasal helpers
2022-03-06 18:53:41 +00:00
Chris Ringeval
fe6c709214 Fix ALS gamma sliders for IR and night vision 2022-03-03 19:08:59 +00:00
Richard Harrison
09adb59959 Controls: Added trim to position for rudder and aileron 2022-03-02 14:16:18 +01:00
James Turner
2d17217a01 Marker-pins FGData changes
From Tobias Dammers
2022-01-27 12:11:24 +00:00
James Turner
d1ff92fe54 Add POIs checkbox to map 2022-01-10 11:14:06 +00:00
Julian Smith
2a238a9de2 gui/dialogs/flight-recorder.xml: minor improvements to appearance. 2022-01-08 16:16:21 +00:00
Julian Smith
96ad1dc1f9 gui/menubar.xml: support greying-out of video-start/stop menu items.
Added enabled tags to video-start and video-stop. These are set to true/false
by C++ code depending on whether we are encoding to video or not. [There
doesn't seem to be a way of doing this directly in xml - expressions are not
supported in menu items?]
2022-01-06 22:18:38 +00:00
portree_kid
43fa71b70c Replace ATC-freq-search 2021-12-28 20:48:13 +01:00
portree_kid
fe894466bf Remove C++ ATC Dialog 2021-12-28 19:54:38 +01:00
Erik Hofman
0ef38014ad Introduce a step-size of 0.05 for ice-cover to make sure inland-ice will be activated when the slider in non-zero. 2021-12-23 13:00:29 +01:00
Erik Hofman
1bbe5a952b Set inland water bodies icing when the icing slider >= 0.05 2021-12-20 10:00:57 +01:00
Michael Danilov
5915acf7d5 Select Airport partial fix for #2661: spurious enabling of helipad mode, showing N0E0 instead of nearest airport, strange zoom units 2021-12-19 23:26:01 +01:00
Julian Smith
16d96b3b17 gui/dialogs/flight-recorder.xml: various improvements.
Use buttons for Continuous record start/stop instead of checkbox.

Grey-out Continuous settings checkboxes if we are already doing a Continuous
recording.

Added button to (re)show the Replay dialogue; greyed-out if we are not
replaying.

Various other tweaks.
2021-12-09 23:19:53 +00:00
Julian Smith
b055deeb90 gui/dialogs/flight-recorder-load.xml: added support for create-video and fixed-dt.
This makes it easy to create video from a recording - video is
auto-started/stopped etc.

Also show tape filesize in preview.
2021-12-09 23:19:53 +00:00
Julian Smith
3699884297 gui/dialogs/time-mode.xml: added control of fixed-dt.
If /sim/time/fixed-dt is not zero and time mode is simple-time, we use the
specified fixed dt value regardless of framerate. Useful for creating videos.
2021-12-09 23:19:53 +00:00
Julian Smith
05f7b034d0 Added user interface for video encoding.
Translations/default/menu.xml
defaults.xml
    Added /sim/video/ items.
gui/dialogs/video.xml
    New, allows one to select the video container, codec, quality, speed and
    bitrate to be used when encoding videos. Radio buttons are provided for
    common containers and codecs.
gui/menubar.xml
    File menu now has 'video start' and 'video stop' items, plus an item that
    opens new 'video control' dialogue. [We use menu items for video start/stop
    to minimise the visual affect at the beginning and end of the generated
    video.]
2021-12-09 23:19:53 +00:00
Roman Ludwicki
f0d29c347e Set the dialog "Metar description" larger for more convenient use 2021-11-23 11:12:27 +00:00
jimishol
f5a5ba60ca Fix Equipment-Instrument Settings inconsistency toward Altimeter Indicator.
Altimeter Indicator seems to respect even rounding. So, if on settings
appear 29.9299 it shows 29.93. Equipment-Instrument Settings do not and
shows 29.92. If user sets 29.93 then settings keep the rest previous digits
and shows 29.9399. So, altimeter indicator shows 29.94 but instrument
settings keep the difference of 0.01 and shows 29.93.
Same phenomenon happens to hpa value too.

In code with '+0.05' we create even rounding and because the coversion
of one unit to the other many times leaves decimals of values to end
to series of 9, thus Instrument Settings keeps showing 29.929999 as 29.92,
we add artificial small value 0.00001 so as to make significant digits exact.
2021-11-23 11:06:59 +00:00
Julian Smith
06b3fe62e5 gui/dialogs/flight-recorder.xml: improved layout a little. 2021-11-05 21:57:02 +00:00
Julian Smith
c81870cff1 Added 'Time mode' dialogue to File menu.
Allows choice of real-time or simple-time modes.
2021-10-24 15:35:47 +01:00
Stuart Buchanan
e934445f91 WS30: Remove WS30 LoD range factor
Better handled by camera controls.
2021-10-12 21:48:12 +01:00
Julian Smith
8c9e45ade3 Added simple highlighting dialogue on the 'Help' menu.
gui/dialogs/highlighting.xml
    Enable/disable highlighting dialog, plus shows highlighted dialog names
    etc.

gui/menubar.xml
    Added link to highlight dialog to help menu.
2021-10-07 18:21:27 +01:00
Michael Danilov
ae99e855b5 Advanced graphics options: fix missing rounding of cloud density 2021-09-25 02:27:39 +02:00
James Hogan
ab3718eb28
gui/dialogs/vr-options: Add mirror options
Add options to the vr-options dialog to allow the mirror to be toggled,
and the mirror mode to be changed (which reloads the compositor if
changed).
2021-09-11 23:43:55 +01:00
b'Fernando Garc\xc3\xada Li\xc3\xb1\xc3\xa1n
25068efaee Merge /u/amalon/fgdata/ branch vr_1 into next
https://sourceforge.net/p/flightgear/fgdata/merge-requests/238/
2021-09-03 22:23:20 +00:00
James Hogan
7ba3e5b975
Add a VR Options dialog
Add a VR Options dialog accessible from the View menu, allowing VR to be
enabled and disabled, and the current VR state to be seen.
2021-09-01 20:36:24 +01:00