roxton
2nd September 2010, 10:30
Hello! And again I have problems with the waveform rendering in my EKO wave editor (http://eko.git.sourceforge.net/git/gitweb.cgi?p=eko/eko;a=tree).
When I paint an image directly on the widget surface, I get some weird rectangles over my image. Here is a picture:
http://i.piccy.info/i5/95/69/446995/bug.png
You can see the current code at: http://eko.git.sourceforge.net/git/gitweb.cgi?p=eko/eko;a=blob_plain;f=document.cpp;hb=HEAD - at CWaveform::paintEvent
It seems that the parent widget and the scrollbar affects the waveform widget in a some way, but I cannot figured out how exactly and what I can do with that.
When I paint an image directly on the widget surface, I get some weird rectangles over my image. Here is a picture:
http://i.piccy.info/i5/95/69/446995/bug.png
You can see the current code at: http://eko.git.sourceforge.net/git/gitweb.cgi?p=eko/eko;a=blob_plain;f=document.cpp;hb=HEAD - at CWaveform::paintEvent
It seems that the parent widget and the scrollbar affects the waveform widget in a some way, but I cannot figured out how exactly and what I can do with that.