1
0
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
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
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
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
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
a184f532ce Clipping support in all elements 2017-11-07 17:20:42 +02:00
James Turner
70a199a2f5 Render text in Quick directly.
Uses private QQuickTextNode api.
2017-11-05 13:46:52 +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
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
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
066d81568d Remote-canvas loads fonts from the host. 2016-12-21 10:26:31 +00:00
James Turner
34ca0c15cc Fix default text alignment in remote-canvas 2016-12-21 10:26:31 +00:00
James Turner
569925b61b Remote-canvas work, based on Extra-500 testing. 2016-12-18 23:52:16 +00:00
James Turner
bd5a266e9f Qt-based remote canvas application.
Work-in-progress, currently performance is sub-optimal (software
rendering via QPainter API).
2016-12-17 14:24:28 +00:00