1
0
Fork 0
Commit graph

7108 commits

Author SHA1 Message Date
Thomas Geymayer
eb01ab7127 canvas.gui.ScrollArea: no need for double update of content size. 2014-06-28 13:18:56 +02:00
Thomas Geymayer
1864153b9a canvas.gui.MessageBox: Ensure path for saving selections exists. 2014-06-26 18:11:41 +02:00
Hal V. Engel
0f692bf89c Merge branch 'master' of gitorious.org:fg/fgdata 2014-06-25 21:19:31 -07:00
Hyde Yamakawa
ece46ff679 Update canvas map symbols 2014-06-25 21:35:32 -04:00
Thomas Geymayer
15d3e8612d Canvas REPL: update for ScrollArea changes/remove unneeded code. 2014-06-26 00:55:36 +02:00
Thomas Geymayer
0338d82c55 canvas.gui.ScrollArea: fix (wheel) scroll behavior.
Rewrite the way scrolling for ScrollAreas is handled: Store
content position instead of scrollbar positions to keep position
on resize and promote moving the content instead of the contents
to as primary API.
Let the mousewheel scroll by fixed content offset instead of
scrollbar offset to make it actually usable (especially with
low scrolling distance).
2014-06-26 00:50:46 +02:00
Philosopher
b7f0b09df4 Canvas REPL: actually fix copy/paste/continue line 2014-06-24 20:10:32 -05:00
Philosopher
2c3f457281 MapStructure: avoid flickering labels/paths 2014-06-24 14:21:14 -05:00
Philosopher
7207f2e629 Canvas REPL: a few bugfixes 2014-06-24 14:15:42 -05:00
Thomas Geymayer
170079a22e canvas.gui: Draw tooltips on top of other windows/dialogs. 2014-06-24 15:34:03 +02:00
Thomas Geymayer
43f8ce0870 Add props.compileCondition to actually use exposed SGCondition. 2014-06-23 21:12:57 +02:00
Thomas Geymayer
4b00bb3067 canvas.gui: tweak label size hints and text color. 2014-06-23 21:12:26 +02:00
Gijs de Rooy
ca96c27ab2 Boeing CDU: display stab trim units and CG 2014-06-21 22:08:10 +02:00
Thomas Geymayer
4673e862a2 radios.xml: fallback to OFF if transponder mode not set. 2014-06-21 12:09:34 +02:00
Thomas Geymayer
9e905228ef Nasal: respect color argument for debug._dump_prop 2014-06-21 12:09:34 +02:00
Thomas Geymayer
717c684dad tooltip: better error reporting on failed mapping. 2014-06-21 12:09:33 +02:00
Gijs de Rooy
9b4a1b52a4 Navdisplay: use true airspeed 2014-06-20 21:52:35 +02:00
Thomas Geymayer
a2aafc3b51 Canvas bug fixes.
- show canvas in a window
 - create window decoration also during pause
 - update content of ScrollArea on resize
2014-06-19 22:19:11 +02:00
Gijs de Rooy
5d1184dd70 Remove unused option --control 2014-06-19 14:20:57 +02:00
Thomas Geymayer
351f67952c canvas.gui: Tweak size hints and MessageBox size. 2014-06-19 01:17:40 +02:00
Thomas Geymayer
e091ff9c40 Aircraft Center: show a warning message that it is experimental. 2014-06-18 17:25:15 +02:00
Thomas Geymayer
c03454a6b4 canvas.gui: MessageBox allow saving user selection. 2014-06-18 17:24:51 +02:00
Thomas Geymayer
5d723e6eab canvas.gui: Add checkbox widget. 2014-06-17 21:02:59 +02:00
Thomas Geymayer
e496ca56ab canvas.gui: Add MessageBox class.
Use canvas.MessageBox.critical/warning/information/question
to show a standard, but also customizable dialog box.
2014-06-17 17:16:02 +02:00
Thomas Geymayer
9933398a37 canvas.gui: missing return and minor color update. 2014-06-17 17:12:21 +02:00
Thomas Geymayer
c4d9310e33 canvas.gui: Remove old demo code. 2014-06-17 17:11:48 +02:00
Thomas Geymayer
b5dae5b567 canvas.gui: Button color tweaking. 2014-06-17 11:44:05 +02:00
Thorsten Renk
4ff258ad70 US Southwest regional texture definitions 2014-06-17 10:04:44 +03:00
Thorsten Renk
eeef7633fb Hires noise strength parameter for ALS airport keep shader 2014-06-17 09:37:23 +03:00
Hal V. Engel
963c70b450 Merge branch 'master' of gitorious.org:fg/fgdata 2014-06-16 21:12:01 -07:00
Thomas Geymayer
8760036aa2 Aircraft Center: tabs for installed aircrafts. Buttons to switch aircraft. 2014-06-16 22:38:46 +02:00
Thomas Geymayer
55980af126 canvas.gui: remove canvas elements on deleting layout items. 2014-06-16 22:38:46 +02:00
Thomas Geymayer
cba00d9217 Aircraft Center: tweaking/typos.
- Increase default size.
 - Run parse_markdown on description to remove multi
   whitespace, possible present in catalog.xml and
   also support simple, one-level bullet point lists.
2014-06-16 22:38:45 +02:00
Rebecca Palmer
102e6b88e2 Restore previously-removed splash screens
Used at Viewer/splash.cxx:212-214
2014-06-16 08:19:56 +01:00
Hal V. Engel
0ee1f09350 Merge branch 'master' of gitorious.org:fg/fgdata 2014-06-14 23:09:34 -07:00
Thomas Geymayer
45889adb74 canvas.gui.ScrollArea: drag to scroll inside content area. 2014-06-13 12:27:31 +02:00
Rebecca Palmer
7a540ca6d6 Remove/move unused textures
Unused duplicate/downsampled and .dds-only textures are deleted,
unused unique .png are moved to Unused for possible future use
2014-06-12 23:53:24 +01:00
Rebecca Palmer
81607f734e Remove ATC chatter, as previously discussed:
http://sourceforge.net/p/flightgear/mailman/message/32440533/
http://sourceforge.net/p/flightgear/mailman/message/32428167/
2014-06-12 23:53:17 +01:00
Thomas Geymayer
6d086ad73e Aircraft Center: show description and package size.
Description is probably not visible, as currently now package
includes a description. If no description is available the
ratings are shown.
2014-06-13 00:34:44 +02:00
Thomas Geymayer
3505d3c8bf canvas.gui: support height-for-width layouting.
Setting wordWrap on canvas.gui.Label enables height-for-width
where the height of the label depends on the layouted texts
width.
2014-06-13 00:34:44 +02:00
Thomas Geymayer
2aeeae855f Aircraft Center: filter based on minimum rating and show missing thumbnail. 2014-06-12 00:49:18 +02:00
Thomas Geymayer
35bf001fa6 Aircraft Center: show progress and update button on install/remove. 2014-06-11 00:44:17 +02:00
Thomas Geymayer
1b5fc0cbdf canvas.gui: allow disabling widgets. 2014-06-11 00:36:42 +02:00
Thomas Geymayer
e4d60f2153 Simple canvas based "Aircraft Center".
- Needs FlightGear compiled with -DENABLE_PACKAGE_SYSTEM.
 - Shows only first 100 available aircrafts.
 - Now progress indication on install/remove (need to reopen
   dialog afterwards)
2014-06-10 18:47:13 +02:00
Thomas Geymayer
48f33fe78f canvas.gui: Checkable buttons, layout for ScrollArea and images for Lables. 2014-06-10 18:46:52 +02:00
Thomas Geymayer
7e2c93825f canvas.gui: restructuring, fixing and new Label widget. 2014-06-09 01:00:21 +02:00
Anton Gomez Alvedro
7b46de3e27 Code review comments and bugfixes
- Making run_tests accept a target namespace as an argument.
 - Fixed asynchronous trigger callback mechanism.
   MCBF triggers working again.
 - Fixed numerical problems when calculating standard deviation
   for rand triggers.
2014-06-06 21:41:13 -05:00
Anton Gomez Alvedro
081602633a Basic unit tests for the failure management framework
Includes a simple automated testing framework for Nasal
(Aircraft/Generic/Systems/Tests/test.nas) and a collection of unit tests
for the failure manager, mostly for the different triggers.
2014-06-06 21:41:12 -05:00
Anton Gomez Alvedro
5df7a784e5 Failure Management Framework (1st milestone)
Replaces existing Nasal/failures.nas script with a programmable failure
manager. The failure manager allows dynammic creation and removal of
failure modes, on demand activation and a flexible set of triggers.
The public interface can be found in Nasal/FailureMgr/public.nas

Aircraft/Generic/Systems/failures.nas provides a library of triggers and
failure actuators ready to use for programming the failure manager.

A compatibility layer is included under
Aircraft/Generic/Systems/compat_failure_modes.nas.
This compatibility layer is currently loaded on startup and programs the
FailureMgr to emulate the former behavior (same set of failure modes and
compatible interface through the property tree).

This first milestone is only intended to replace the failure management
engine underneeth with minimum visible changes, and hopefully no aircraft
breakages. Future milestones will build upon this to add a Canvas based
procedural GUI and example integration on aircrafts.
2014-06-06 21:41:11 -05:00
Anton Gomez Alvedro
8b16a71d50 Adds assert() for Nasal and fixes io.include internal marking
- A simple assert() function is added to the globals namespace.

 - io.include() marks the target namespace to avoid dependency loops.
   If the namespace is marked before the script to be included is
   compiled, a parse error leaves the target namespace marked while
   the script has not been loaded. This patch fixes this problem.
2014-06-06 21:41:10 -05:00