nanogui: XOR not working for strings in FLTK
Subject:
XOR not working for strings in FLTK
From:
"Martin Kajdas" ####@####.####
Date:
7 Feb 2011 18:30:54 -0000
Message-Id: <22F1610BD82AD74D9C745FA543161959DC7C91@mkmail.MKPROD.COM>
I updated my app (which used to work) to latest 0.92 nano-X (Nov. 2010)
from 2 year old 0.91+some updates and couple of problems came up, this
being one.
I am using FLTK 1.1.10, libnx 0.46 (Nov. 2010) on an embedded 16 bit
framebuffer PC based system.
The code:
XSetFunction(fl_display, fl_gc, GXxor);
XSetForeground(fl_display, fl_gc, 0xffffffff);
// works
fl_line(cur, cy, cur, cyh);
// does not work
fl_font(font, size);
fl_draw(str, x, y);
XSetFunction(fl_display, fl_gc, GXcopy);
The line drawing works (XORes) but string printing does not XOR, just
copies.
I updated drivers/fblin16.c with latest from Git as much as possible but
still no fix.
Which file should I look at now since something must have changed since
0.91+
Martin