1
0
Fork 0
Commit graph

66 commits

Author SHA1 Message Date
James Turner
b4009db5f6 Hide FGQCanvas UI in daemon mode 2019-01-19 15:20:19 +00:00
James Turner
da65411ef4 FGQCanvas clipping / default text color fixes
Also fix some compiler warnings, but the main thing is text now
defaults to white correctly if no color was set explicitly, and
local/parent clip-reference-frames are supported.
2019-01-17 10:46:58 +00:00
James Turner
591750b911 Frameless mode for FGQCanvas 2019-01-02 17:35:45 +00:00
James Turner
56495485e2 FGQCanvas: in-app help page 2018-11-08 09:40:53 +01:00
James Turner
d052dc2576 Remote canvas: UI fixes 2018-11-07 09:39:54 +01:00
James Turner
41e9baaba1 FGQCanvas iOS tweaks 2018-11-07 09:39:54 +01:00
James Turner
d0017f3bec Remove canvas: handle node removes
Especially on the path, handles removes of path coord/cmd data
2018-09-29 15:32:16 +01:00
James Turner
c15d65692a Remote-canvas logging cleanups 2018-09-27 22:39:39 +01:00
James Turner
639c8fd4b4 FGCanvas: warning fixes 2018-09-18 23:31:07 +01:00
James Turner
7e3c1a1b1d Fixes for the sim-pit
* ensure the UI disappears with no user interaction
* comoile fix for GCC
2018-07-27 18:45:25 +01:00
James Turner
2403e95559 FGCanvas tweaks
Enable daemon mode for hands-off operation. Add auto-reconnect
feature for daemon mode, will keep trying to connect to the configured
FGFS instance.
2018-06-26 23:24:02 +01:00
James Turner
f24d0a0fab Update Qmake build of FGQCanvas 2018-06-25 23:39:22 +01:00
James Turner
b2e8097b22 Remote-canvas: hide the whole UI on click 2018-06-24 21:33:07 +01:00
James Turner
b0aa3b93b7 FGQCanvas: load config on start mode 2018-06-24 14:11:46 +01:00
James Turner
57fbd2fe01 Remote-canvas: QPainter rendering mode 2018-06-24 11:34:43 +01:00
James Turner
8f205040dc Work on clipping in remote canvas
Different canvas clip reference frames are handled now, and updating
the clip nodes should not longer crash. Unfortunately, clips set
on groups don't work yet, further work is needed here.
2018-06-21 14:34:05 +01:00
James Turner
c82a725e47 Fills working again in FGQCanvas 2018-06-21 08:03:02 +01:00
James Turner
cf5e2b39f1 Handle CMake policy 0071 correctly 2018-05-01 12:35:55 +01:00
James Turner
8e6500ae47 Orderly destruction of canvas elements
Driven from the object destroyed signal, ensure children and 
corresponding QQ items are also destroyed when the property is removed.
2017-11-28 22:54:12 +00:00
James Turner
e4b5a699d8 Remote canvas: fix crashes on remove 2017-11-28 22:32:30 +00:00
James Turner
731097bca3 Remote canvas: fix snapshot loading
Visibility prop was being saved incorrectly.
2017-11-28 16:20:23 +00:00
James Turner
089abcfe40 Fix FGQCanvas compilation with Qt 5.7
Use raw OpenGL type constants instead of the QSG aliases which were
only added in 5.8
2017-11-19 21:57:14 +01:00
James Turner
3b18a3667b Fix offsetting in FGQCanvas, enable clipping
Visual output is nearly correct now, just some crashes when changing
the display contents to track down.
2017-11-16 09:24:07 +00:00
James Turner
9eaa2f7efc Missed build fix for FGQCanvas 2017-11-09 16:01:21 +02:00
James Turner
89827fcd96 Restoring snapshots nearly working 2017-11-09 12:33:33 +02:00
James Turner
157b2148cb Add snapshots UI 2017-11-08 15:36:07 +02:00
James Turner
3c1cb67a27 Remove old FGQCanvas files 2017-11-07 17:23:55 +02:00
James Turner
a184f532ce Clipping support in all elements 2017-11-07 17:20:42 +02:00
James Turner
a22a17a995 Further work on snapshots feature 2017-11-05 19:42:57 +00:00
James Turner
6156cbbe1d Fixes after merging branch 2017-11-05 14:04:17 +00:00
James Turner
78b0d9c91e Working on snapshot save/loading 2017-11-05 13:57:51 +00:00
James Turner
19fd8e6e26 WIP on clipping working 2017-11-05 13:49:33 +00:00
James Turner
045e6fb29a Fix image rendering, somewhat. 2017-11-05 13:47:15 +00:00
James Turner
70a199a2f5 Render text in Quick directly.
Uses private QQuickTextNode api.
2017-11-05 13:46:52 +00:00
James Turner
66543f1588 Fix support for Uint32 indices. 2017-11-05 13:41:46 +00:00
James Turner
905d8ae734 Text alignment support mostly working
Baseline is still being strange, possibly need to use an
AnchorChange instead of multiple Binding elements
2017-11-05 13:37:38 +00:00
James Turner
928fd31f2c Better image support in Quick-remote-canvas 2017-11-05 13:37:20 +00:00
James Turner
9af6e6cea0 Starting work on snapshots. 2017-11-05 13:21:28 +00:00
James Turner
c03d7b3c1f Remote-Canvas: nicer UI fades 2017-11-04 10:47:14 +00:00
James Turner
81a753cfa1 Delete and modify Remote-canvas configs 2017-11-04 10:09:08 +00:00
James Turner
623305965b Fix canvas sizing + scaling 2017-11-04 10:09:08 +00:00
James Turner
4bae38f994 Remote-canvas Image and font caches working again
Reconnecting and disconnecting also starting to work more smoothly
2017-11-04 10:09:08 +00:00
James Turner
67ab1c7162 Fix missing include for std::unique_ptr on non-Mac 2017-11-03 09:51:44 +00:00
James Turner
117404979b Migrate to a pure Quick-renderer solution, and QQ UI
This means everything is displayed via OpenGL, and there’s a basic
menu system usable.
2017-11-02 17:21:27 +00:00
James Turner
61bf6b0f58 QtQuick-based rendering for remote canvas
Currently displayed alongside the QPainter version, while establishing
the accuracy of each mode, but this is temporary.
2017-10-29 16:44:32 +00:00
James Turner
80e45f6d9b Different solution for FGQCanvas install
Move the install line back inside the subdir, but pull in the extra
config file so the install-bindir is defined.
2017-02-04 08:25:41 +01:00
James Turner
40fbebb777 Move FGQCanvas install command
This keeps standalone FGQCanvas build working.
2017-01-31 17:16:03 +01:00
James Turner
8472f8c6d0 Fix positional ordering of remote-canvas elements.
The mirror protocol now sends the position for internal as well as
leaf nodes, and the group uses this data to sort when no explicit
Z-indices exist. This gets the extra-500 much closer to working!
2017-01-26 23:14:48 +00:00
Gijs de Rooy
5aef1a8700 Let CMake install fgqcanvas 2017-01-26 15:16:21 +01:00
James Turner
15dbe1069d Bump the minimum Qt version for Remote-canvas.
QByteArrayList needs 5.4, not 5.3

Also flip the default to off of building the remote-canvas, to avoid
people getting caught out.
2017-01-24 10:34:56 +00:00