diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-08-08 20:18:20 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-08-08 20:18:20 (GMT) |
commit | 0a0065f5ab3911d94e144b38c275f1387d62057d (patch) | |
tree | c3c1306f4cd392be0865afe663031cb7beb14d92 /tksao | |
parent | 84b475d6f6ef32461040a450821f62823b6e0300 (diff) | |
download | blt-0a0065f5ab3911d94e144b38c275f1387d62057d.zip blt-0a0065f5ab3911d94e144b38c275f1387d62057d.tar.gz blt-0a0065f5ab3911d94e144b38c275f1387d62057d.tar.bz2 |
simplify code
Diffstat (limited to 'tksao')
-rw-r--r-- | tksao/frame/composite.C | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tksao/frame/composite.C b/tksao/frame/composite.C index e7ca75e..2952d86 100644 --- a/tksao/frame/composite.C +++ b/tksao/frame/composite.C @@ -41,12 +41,13 @@ void Composite::x11(Drawable drawable, Coord::InternalSystem sys, Marker* mk=members.head(); while (mk) { - Marker* m = mk->dup(); - m->setComposite(fwdMatrix(), angle); + Marker* mm = mk->dup(); + mm->setRenderMode(renderMode); + mm->setComposite(fwdMatrix(), angle); if (global) - m->setComposite(colorName, lineWidth, highlited); - m->x11(drawable, sys, tt, hh); - delete m; + mm->setComposite(colorName, lineWidth, highlited); + mm->x11(drawable, sys, tt, hh); + delete mm; mk=mk->next(); } } |