Mercurial > hg > orthanc-stone
comparison Samples/LayoutPetCtFusionApplication.h @ 25:dfa0e18afd76
fix msvc warning
author | jodogne |
---|---|
date | Wed, 23 Nov 2016 16:00:02 +0100 |
parents | ff1e935768e7 |
children | 7207a407bcd8 |
comparison
equal
deleted
inserted
replaced
24:902e6c52e154 | 25:dfa0e18afd76 |
---|---|
143 } | 143 } |
144 else | 144 else |
145 { | 145 { |
146 RenderStyle style; | 146 RenderStyle style; |
147 style.applyLut_ = true; | 147 style.applyLut_ = true; |
148 style.alpha_ = (layer == 0 ? 1.0 : 0.5); | 148 style.alpha_ = (layer == 0 ? 1.0f : 0.5f); |
149 widget.SetLayerStyle(layer, style); | 149 widget.SetLayerStyle(layer, style); |
150 } | 150 } |
151 } | 151 } |
152 | 152 |
153 | 153 |