aboutsummaryrefslogtreecommitdiffstats
path: root/backend-shared/plannershared.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-14 12:33:03 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2021-01-20 08:47:18 +0100
commitc74975632e4ed6a63773b893b164055e4b17920f (patch)
tree11da1489317009f04b898deff07b01e1e81ca7cb /backend-shared/plannershared.h
parent218c844ad4fa3f562c375b97694025f6cdaa3ca1 (diff)
downloadsubsurface-c74975632e4ed6a63773b893b164055e4b17920f.tar.gz
statistics: draw background using a QSGRectangle node
Currently, the background was drawn as solid color onto the chart-scene. This is of course incompatible with doing the grid as QSGNodes. Therefore, make the scene image transparent and use a QSGRectangle as background color. We could also simply omit the background and show the widget's background. However, that would mean setting the background color in two seperate code paths (desktop and mobile). I found no way of directly setting the background of the QQuickItem. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'backend-shared/plannershared.h')
0 files changed, 0 insertions, 0 deletions