1
0
Fork 0
Commit graph

1151 commits

Author SHA1 Message Date
Benedikt Wolf
13b24e5290 Improve hitch.nas, work in progress 2023-02-10 10:40:35 +01:00
TheFGFSEagle
8a1192c918 Added Switch class, added group-checked-radio-changed signal for radio buttons 2023-02-03 11:28:29 +00:00
James Turner
b3b2871523 GUI style: make sizes parametric 2023-01-24 18:49:32 +00:00
TheFGFSEagle
7dd431cbbd Implemented canvas radio button 2023-01-24 14:09:22 +00:00
TheFGFSEagle
f569a5ac29 Added property tree widget and browser dialog 2023-01-24 13:59:47 +00:00
James Turner
151486219d Add ComboBox widget 2023-01-24 13:27:04 +00:00
TheFGFSEagle
2b9d10804b Added list widget 2023-01-24 13:17:02 +00:00
TheFGFSEagle
8a953d71a3 Create WidgetFactoryDialog instances in the global namespace to facilitate debugging 2023-01-24 13:15:53 +00:00
TheFGFSEagle
2a95685eb7 Improve menu item styling 2023-01-24 13:15:53 +00:00
TheFGFSEagle
66fcfce8af Added button to reload Nasal canvas module 2023-01-11 11:08:40 +00:00
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