]> gerrit.simantics Code Review - simantics/district.git/commit
Adjustments to map diagram info label rendering 28/3028/2
authorReino Ruusu <reino.ruusu@semantum.fi>
Thu, 18 Jul 2019 10:05:25 +0000 (13:05 +0300)
committerReino Ruusu <reino.ruusu@semantum.fi>
Fri, 19 Jul 2019 08:51:29 +0000 (11:51 +0300)
commit4caacb593f55fdc57a7ca2cabe2e48d0db254dc9
treef9f537443d3aaccb150b77b7f1a9e1e90d8680ce
parent2f414faa80051f046a020840105847099c655195
Adjustments to map diagram info label rendering

* Removed white background from static info labels
* Hover info rendered at cursor location
* Info labels drawn on top of map elements

gitlab #44
gitlab #47

Change-Id: I9dda11b80cfe76bae1605ddb46f7d3ece183c719
org.simantics.district.maps/src/org/simantics/maps/MapScalingTransform.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/NetworkDrawingParticipant.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DeferredNode.java [new file with mode: 0644]
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DeferredRenderingNode.java [new file with mode: 0644]
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkHoverInfoNode.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkStaticInfoNode.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkVertexNode.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/HoverSensitiveNode.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/styles/DistrictNetworkHoverInfoStyle.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/styles/DistrictNetworkStaticInfoStyle.java