i got another problem using fltk.
fltk seems to not redraw the screen correctly. there a lots of pixels that change the colour and don't get back to normal. I tried fixing that by redrawing the regions but that doesn't help.
at what point is fltk writing to the framebuffer?
i tested the ram i'm using for the framebuffer and there were no errors so it have to be somewhere in fltk or the framebuffer, but i think its the fltk.
i wrote a simple programm that adresses the framebuffer ram directly and the colour is changing without problem or staying the same if i want to.