Ground and sky is rendered as QML Rectangle with gradients;
Pitch scale and center line are rendered separately from the world
element, so they always fit the maximum texture size.
compass-band has a hidden vertical square to make the vertical limit.
New IDs:
world-bg (group of sky and ground)
sky (blue part of the world)
ground (orange part of the world)
pitch_scale (the center scale)
world-centerline (the centerline in the center of the world and in
the middle of the sky and ground)
By muralha
On older graphics cards the texture size limit
may be smaller than the compass band width,
QML downscales the element to fit the texture.
To avoid this, split compass band to tiles.
Added parameter like hslice=2:8 to svg image provider
and SvgElementImage.
Moved them to separate qml files
loaded by reqest using Loader.
This allows to keep PFD working even if one of views
can't be loaded and avoids the cost of loading expensive
views like camera.
This will allow us to build a parent project for
qt-creator that sits above both openpilotgcs and
uavobjgenerator so that we can build both projects
at the same time.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2528 ebee16cc-31ac-478f-84a7-5cbb03baadba