44 |
style = self.context.style |
style = self.context.style |
45 |
|
|
46 |
# node view normal nodes of floating buffer |
# node view normal nodes of floating buffer |
47 |
normal_text = ff.view.TextNodeView(self.fen.txtfunc, style, java.awt.Color(0., 0., 0.)) |
normal_text = ff.view.TextNodeView(self.fen.txtfunc, style, java.awt.Color(0., 0., 0.), 250.) |
48 |
normal_text_bg = ff.fenmm.WhiteNodeView(normal_text, java.awt.Color(.6, .6, 0)) |
normal_text_bg = ff.fenmm.WhiteNodeView(normal_text, java.awt.Color(.6, .6, 0)) |
49 |
normal = ff.swamp.CachedPureNodeFunction(100, self.fen.graph, normal_text_bg) |
normal = ff.swamp.CachedPureNodeFunction(100, self.fen.graph, normal_text_bg) |
50 |
|
|
51 |
# node view for accursed nodes of floating buffer |
# node view for accursed nodes of floating buffer |
52 |
accursed_text = ff.view.TextNodeView(self.fen.txtfunc, style, java.awt.Color.black) |
accursed_text = ff.view.TextNodeView(self.fen.txtfunc, style, java.awt.Color.black, 250.) |
53 |
accursed_text_bg = ff.fenmm.WhiteNodeView(accursed_text, java.awt.Color(.9, .9, .9)) |
accursed_text_bg = ff.fenmm.WhiteNodeView(accursed_text, java.awt.Color(.9, .9, .9)) |
54 |
accursed = ff.swamp.CachedPureNodeFunction(100, self.fen.graph, accursed_text_bg) |
accursed = ff.swamp.CachedPureNodeFunction(100, self.fen.graph, accursed_text_bg) |
55 |
|
|