### Eclipse Workspace Patch 1.0
#P org.sophie2.main.func.text
|
|
|
102 | 102 | protected ImmColor computeColor() { |
103 | 103 | TextLinksHud hud = BaseVisualElement.findParentElement(this, TextLinksHud.class); |
104 | 104 | if (hud == null || hud.holder().get() == null) { |
105 | | return ImmColor.MAGENTA; |
| 105 | ImmColor magenta = ImmColor.MAGENTA; |
| 106 | return new ImmColor(magenta.getRedValue(), |
| 107 | magenta.getGreenValue(),magenta.getBlueValue(), 0.2f); |
106 | 108 | } |
107 | 109 | |
108 | 110 | LinkAttachment linkAtt = hud.holder().get().getLinkAttachment(); |
… |
… |
|
140 | 142 | protected ImmColor computeColor() { |
141 | 143 | TextLinksHud hud = BaseVisualElement.findParentElement(this, TextLinksHud.class); |
142 | 144 | if (hud == null || hud.holder().get() == null) { |
143 | | return ImmColor.MAGENTA; |
| 145 | ImmColor magenta = ImmColor.MAGENTA; |
| 146 | return new ImmColor(magenta.getRedValue(), |
| 147 | magenta.getGreenValue(),magenta.getBlueValue(), 0.2f); |
144 | 148 | } |
145 | 149 | |
146 | 150 | LinkAttachment linkAtt = hud.holder().get().getLinkAttachment(); |
… |
… |
|
178 | 182 | protected ImmColor computeColor() { |
179 | 183 | TextLinksHud hud = BaseVisualElement.findParentElement(this, TextLinksHud.class); |
180 | 184 | if (hud == null || hud.holder().get() == null) { |
181 | | return ImmColor.MAGENTA; |
| 185 | ImmColor magenta = ImmColor.MAGENTA; |
| 186 | return new ImmColor(magenta.getRedValue(), |
| 187 | magenta.getGreenValue(),magenta.getBlueValue(), 0.2f); |
182 | 188 | } |
183 | 189 | |
184 | 190 | LinkAttachment linkAtt = hud.holder().get().getLinkAttachment(); |
… |
… |
|
216 | 222 | protected ImmColor computeColor() { |
217 | 223 | TextLinksHud hud = BaseVisualElement.findParentElement(this, TextLinksHud.class); |
218 | 224 | if (hud == null || hud.holder().get() == null) { |
219 | | return ImmColor.MAGENTA; |
| 225 | ImmColor magenta = ImmColor.MAGENTA; |
| 226 | return new ImmColor(magenta.getRedValue(), |
| 227 | magenta.getGreenValue(),magenta.getBlueValue(), 0.2f); |
220 | 228 | } |
221 | 229 | |
222 | 230 | LinkAttachment linkAtt = hud.holder().get().getLinkAttachment(); |